Device Tweaker#

A comprehensive mod for tweaking device properties in Tower Networking Inc.

Version4.0.3
AuthorCJFWeatherhead
Status🟢 Active Development
Game Versionstable
Last Updated2026-05-31

Download#

Installation Instructions
  1. Download the Mod Manager
  2. Find Device Tweaker in the Available mods list
  3. Click Download to install automatically
  4. Configure parameters in the GUI

Manual Installation#

  1. Download the zip file above
  2. Extract the device-tweaker/ folder to your mods directory:
    • Windows: %APPDATA%\Godot\app_userdata\Tower Networking Inc\mods\
    • Linux: ~/.local/share/godot/app_userdata/Tower Networking Inc/mods/
  3. Ensure luajit.elf is in the mods directory

Configuration#

Configure these settings using the Mod Manager or edit entry.lua directly.

ParameterTypeDefaultDescription
Enable for Default DevicesbooleanTrueApply modifications to default devices (class 0)
Enable for Network SwitchesbooleanTrueApply modifications to network switch devices (class 1)
Enable for Network RoutersbooleanTrueApply modifications to network router devices (class 2)
Enable for Network TapsbooleanTrueApply modifications to network tap devices (class 3)
Enable for Network FirewallsbooleanTrueApply modifications to network firewall devices (class 4)
Enable for Media Line SimplexbooleanTrueApply modifications to media line simplex devices (class 5)
Enable for Media Line DuplexbooleanTrueApply modifications to media line duplex devices (class 6)
Enable for Compute ServersbooleanTrueApply modifications to compute server devices (class 7)
Enable for Display MonitorsbooleanTrueApply modifications to display monitor devices (class 8)
Enable for DebuggersbooleanTrueApply modifications to debugger devices (class 9)
Enable for Load TestersbooleanTrueApply modifications to load tester devices (class 10)
Enable for Power ExpansionbooleanTrueApply modifications to power expansion devices (class 11)
Enable for Decentro RigsbooleanTrueApply modifications to decentro rig devices (class 12)
Enable for Surge ProtectorsbooleanTrueApply modifications to surge protector devices (class 13)
Enable for UPS DevicesbooleanTrueApply modifications to UPS devices (class 14)
Enable for Inert DevicesbooleanTrueApply modifications to inert devices (class 15)
Enable for CCTVbooleanTrueApply modifications to CCTV devices (class 16)
Enable for PhonesbooleanTrueApply modifications to phone devices (class 17)
Enable for PrintersbooleanTrueApply modifications to printer devices (class 18)
Enable for Network Load BalancersbooleanTrueApply modifications to network load balancer devices (class 19)
Enable for Network StoragebooleanTrueApply modifications to network storage devices (class 20)
Enable Bandwidth ModificationbooleanTrueEnable bandwidth capacity modifications
Bandwidth Modeselect: fixed, randomfixedUse a fixed multiplier or random range for bandwidth per device
Bandwidth Multipliernumber (0.1-100.0)2.0Fixed multiplier for device network bandwidth (used when mode is ‘fixed’)
Min Random Bandwidth Multipliernumber (0.1-100.0)1.5Lower bound for random bandwidth multiplier (used when mode is ‘random’)
Max Random Bandwidth Multipliernumber (0.1-100.0)4.0Upper bound for random bandwidth multiplier (used when mode is ‘random’)
Enable Warranty ModificationbooleanTrueEnable warranty period modifications
Warranty Modeselect: fixed, randomrandomfixed: apply a constant multiplier
Fixed Warranty Multipliernumber (0.1-100.0)1.0Fixed multiplier for warranties (used when mode is ‘fixed’)
Min Random Warranty Multipliernumber (0.1-100.0)5.0Minimum multiplier for random warranties (used when mode is ‘random’)
Max Random Warranty Multipliernumber (0.1-1000.0)100.0Upper bound for random warranty multiplier (used when mode is ‘random’)
Apply to Warranty CyclesbooleanTrueWhether to also multiply warranty cycles (in addition to days)
Apply to Remaining WarrantybooleanTrueWhether to also apply multiplier to remaining warranty period
Enable Cost ModificationbooleanFalseEnable device cost modifications
Cost Multipliernumber (0.01-100.0)1.0Multiplier for device purchase costs (e.g., 0.5 = half price, 2.0 = double price)
Enable CPU ModificationbooleanFalseEnable CPU power modifications
CPU Power Multipliernumber (0.1-100.0)2.0Multiplier for device CPU power
Enable Memory ModificationbooleanFalseEnable RAM modifications
Memory Modeselect: fixed, randomfixedUse a fixed multiplier or random range for memory per device
Memory (RAM) Multipliernumber (0.1-100.0)4.0Fixed multiplier for device installed RAM (used when mode is ‘fixed’)
Min Random Memory Multipliernumber (0.1-100.0)2.0Lower bound for random memory multiplier (used when mode is ‘random’)
Max Random Memory Multipliernumber (0.1-100.0)8.0Upper bound for random memory multiplier (used when mode is ‘random’)
Enable Storage ModificationbooleanFalseEnable storage capacity modifications
Storage Modeselect: fixed, randomfixedUse a fixed multiplier or random range for storage per device
Storage Multipliernumber (0.1-100.0)8.0Fixed multiplier for device storage capacity (used when mode is ‘fixed’)
Min Random Storage Multipliernumber (0.1-100.0)4.0Lower bound for random storage multiplier (used when mode is ‘random’)
Max Random Storage Multipliernumber (0.1-1000.0)16.0Upper bound for random storage multiplier (used when mode is ‘random’)

About This Mod#

A comprehensive mod for tweaking device properties in Tower Networking Inc. Modifications are applied automatically when devices spawn — no keyboard input needed.

Features#

  • Bandwidth Multiplier: Adjust network bandwidth capacity (installed_nbw)
  • Warranty Modifications: Set fixed or random warranty multipliers
  • Cost Adjustments: Modify device purchase prices
  • Hardware Multipliers: Scale CPU (installed_cpu), RAM (installed_mem), and storage (installed_sto)
  • Device Class Filtering: Selectively apply modifications to specific device types

Device Classes (21 types)#

  • Default (0) - def
  • Network Switch (1) - swt
  • Network Router (2) - rtr
  • Network Tap (3) - tap
  • Network Firewall (4) - fwr
  • Media Line Simplex (5) - mls
  • Media Line Duplex (6) - mld
  • Compute Server (7) - srv
  • Display Monitor (8) - mon
  • Debugger (9) - dbg
  • Load Tester (10) - ldt
  • Power Expansion (11) - pwr
  • Decentro Rigs (12) - dcr
  • Surge Protector (13) - spr
  • UPS (14) - ups
  • Inert (15) - ine
  • CCTV (16) - ccv
  • Phone (17) - phn
  • Printer (18) - prt
  • Network Load Balancer (19) - nlb
  • Network Storage (20) - nst

Configuration Tips#

  • Enable specific modifications using the enable toggles
  • Set multipliers > 1.0 to increase values, < 1.0 to decrease
  • Use random warranty mode for varied warranty periods per device
  • Disable device classes you don’t want to modify
  • Restock merchants with SHIFT+R (money-cheat mod)

Notes#

  • No panels, no keyboard input — purely passive on_device_spawned hook
  • Incompatible with 2x-bandwidth-switches and random-warranties (supersedes both)

Full Documentation

Device Tweaker Mod#

A comprehensive mod for Tower Networking Inc that allows you to customize device properties including bandwidth, warranties, costs, and hardware specifications. This is an extension of the 2x Bandwidth mod and the Random Warranties mod.

Features#

🔧 Multiple Modification Types#

  • Bandwidth: Adjust network bandwidth capacity (installed_nbw) for switches, routers, and other network devices
  • Warranties: Set fixed or random warranty multipliers for device reliability
  • Cost: Modify device purchase prices (price) — make them cheaper or more expensive
  • Hardware: Scale CPU power (installed_cpu), RAM (installed_mem), and storage (installed_sto) independently

🎯 Device Class Filtering#

Selectively apply modifications to specific device types (all 21 classes from game API v0.10.11):

  • Default (0) - def
  • Network Switch (1) - swt
  • Network Router (2) - rtr
  • Network Tap (3) - tap
  • Network Firewall (4) - fwr
  • Media Line Simplex (5) - mls
  • Media Line Duplex (6) - mld
  • Compute Server (7) - srv
  • Display Monitor (8) - mon
  • Debugger (9) - dbg
  • Load Tester (10) - ldt
  • Power Expansion (11) - pwr
  • Decentro Rigs (12) - dcr
  • Surge Protector (13) - spr
  • UPS (14) - ups
  • Inert (15) - ine
  • CCTV (16) - ccv
  • Phone (17) - phn
  • Printer (18) - prt
  • Network Load Balancer (19) - nlb
  • Network Storage (20) - nst

⚙️ Flexible Configuration#

  • Enable/disable each modification type independently
  • Fine-tune multipliers from 0.1x to 100x
  • Choose between fixed or random warranty multipliers
  • Configure warranty to affect days, cycles, and remaining periods

Installation#

  1. Place this mod folder in your lua/ directory
  2. Load the game or reload mods (default: F11)
  3. Configure the mod through the Mod Loader menu

Configuration Parameters#

Device Class Filters#

ParameterDefaultDescription
Enable for Default DevicesApply modifications to default devices (class 0)
Enable for Network SwitchesApply modifications to network switch devices (class 1)
Enable for Network RoutersApply modifications to network router devices (class 2)
Enable for Network TapsApply modifications to network tap devices (class 3)
Enable for Network FirewallsApply modifications to network firewall devices (class 4)
Enable for Media Line SimplexApply modifications to media line simplex devices (class 5)
Enable for Media Line DuplexApply modifications to media line duplex devices (class 6)
Enable for Compute ServersApply modifications to compute server devices (class 7)
Enable for Display MonitorsApply modifications to display monitor devices (class 8)
Enable for DebuggersApply modifications to debugger devices (class 9)
Enable for Load TestersApply modifications to load tester devices (class 10)
Enable for Power ExpansionApply modifications to power expansion devices (class 11)
Enable for Decentro RigsApply modifications to decentro rig devices (class 12)
Enable for Surge ProtectorsApply modifications to surge protector devices (class 13)
Enable for UPS DevicesApply modifications to UPS devices (class 14)
Enable for Inert DevicesApply modifications to inert devices (class 15)
Enable for CCTVApply modifications to CCTV devices (class 16)
Enable for PhonesApply modifications to phone devices (class 17)
Enable for PrintersApply modifications to printer devices (class 18)
Enable for Network Load BalancersApply modifications to network load balancer devices (class 19)
Enable for Network StorageApply modifications to network storage devices (class 20)

Bandwidth Settings#

ParameterDefaultRangeDescription
Enable Bandwidth Modification-Enable/disable bandwidth changes
Bandwidth Multiplier2.00.1-100.0Bandwidth capacity multiplier

Warranty Settings#

ParameterDefaultRangeDescription
Enable Warranty Modification-Enable/disable warranty changes
Warranty Modefixedfixed/randomUse fixed or random multipliers
Fixed Warranty Multiplier1.00.1-100.0Fixed warranty multiplier
Min Random Multiplier2.00.1-100.0Minimum random warranty multiplier
Max Random Multiplier25.00.1-100.0Maximum random warranty multiplier
Apply to Warranty Cycles-Also multiply warranty cycles
Apply to Remaining Warranty-Also multiply remaining warranty

Cost Settings#

ParameterDefaultRangeDescription
Enable Cost Modification-Enable/disable cost changes
Cost Multiplier1.00.01-100.0Device purchase cost multiplier

Hardware Settings#

ParameterDefaultRangeDescription
Enable CPU Modification-Enable/disable CPU power changes
CPU Power Multiplier1.00.1-100.0CPU power multiplier
Enable Memory Modification-Enable/disable RAM changes
Memory (RAM) Multiplier1.00.1-100.0RAM capacity multiplier
Enable Storage Modification-Enable/disable storage changes
Storage Multiplier1.00.1-100.0Storage capacity multiplier

Technical Details#

API Property Mapping (game v0.10.11)#

Mod FeatureAPI PropertyObject
Bandwidthinstalled_nbwLogicController
CPUinstalled_cpuLogicController
Memoryinstalled_memLogicController
Storageinstalled_stoLogicController
PricepriceDeviceUnit
Warranty Daysbase_warranty_daysDeviceUnit
Warranty Cyclesbase_warranty_cyclesDeviceUnit
Warranty Remainingwarranty_period_remainingDeviceUnit
Device Classdevice_hardware_classDeviceUnit

Device Classes Reference#

The mod uses the device_hardware_class property to identify device types based on the DeviceUnit.DeviceHardwareClass enum:

IDEnum NameAbbreviation
0DEFAULTdef
1NETWORK_SWITCHswt
2NETWORK_ROUTERrtr
3NETWORK_TAPtap
4NETWORK_FIREWALLfwr
5MEDIA_LINE_SIMPLEXmls
6MEDIA_LINE_DUPLEXmld
7COMPUTE_SERVERsrv
8DISPLAY_MONITORmon
9DEBUGGERdbg
10LOAD_TESTERldt
11POWER_EXPANSIONpwr
12DECENTRO_RIGSdcr
13SURGE_PROTECTORspr
14UPSups
15INERTine
16CCTVccv
17PHONEphn
18PRINTERprt
19NETWORK_LOAD_BALANCERnlb
20NETWORK_STORAGEnst

Modification Timing#

All modifications are applied when devices spawn via the on_device_spawned() callback. This ensures that:

  • Changes apply to newly purchased devices
  • Modifications persist for the device’s lifetime
  • No performance impact on existing devices

Merchant Restock#

Use the debug console (~ key) and type m_restock to restock all merchants. The restock function uses ModApiV1.get_merchants() to retrieve merchants and calls merchant.restock() on each one.

Logging#

The mod logs all modifications to the console with details about:

  • Device name and class
  • Original and modified values
  • Multipliers applied

Example log output:

[device-tweaker] Active modifications: Bandwidth x2.00, Warranty x5.50 (random), Cost x0.75
[device-tweaker] Enabled device classes: network_switch, network_router, compute_server
[device-tweaker] SuperSwitch 3000 (network_switch): BW: 1000 -> 2000 (x2.00) | warranty: 365 -> 2008 days (x5.50) | price: $5000 -> $3750

Compatibility#

  • Game Version: 0.10.7+ (typed for 0.10.11)
  • Dependencies: luajit-support ~0.2.0
  • Conflicts: random-warranties, 2x-bandwidth-switches (both are superseded by this mod)

Credits#

This mod combines and extends functionality from:

  • 2x-bandwidth-switches - Original bandwidth modification concept
  • random-warranties - Random warranty system implementation

Version History#

3.0 (2026-04-20)#

  • Cleanroom rewrite against game API v0.10.11 typing
  • Fixed CPU modification: cpu_powerinstalled_cpu
  • Fixed Memory modification: installed_raminstalled_mem
  • Fixed Storage modification: installed_storageinstalled_sto
  • Fixed Cost modification: base_cost_dollarsprice
  • Fixed merchant restock: world.device_merchantsModApiV1.get_merchants()
  • Added NETWORK_STORAGE (class 20) support
  • Removed non-functional hotkey restock (replaced by debug console command)
  • Updated all debug dump property names to match current API

2.2#

  • Added debug console command registration
  • Added merchant restock functionality

1.0 (2026-01-18)#

  • Initial release
  • Merged bandwidth and warranty modification features
  • Added cost modification
  • Added hardware multipliers (CPU, memory, storage)
  • Implemented device class filtering
  • Added comprehensive configuration system

Support#

For issues, questions, or suggestions, please refer to the main TNI-Mods repository.

License#

See the LICENSE file in the main repository.


Additional Notes

This mod supersedes 2x-bandwidth-switches and random-warranties. All modifications are applied when devices spawn (on_device_spawned hook). No input handling, no panels, no register_cmd.


Technical Details
FieldValue
Mod IDdevice-tweaker
Creation Date2026-01-18
Last Updated2026-05-31
Game Versionstable
DependenciesNone
Websitehttps://github.com/CJFWeatherhead/TNI-Mods/tree/main/mods/device-tweaker

Release URLs:


Back to All Mods