Device Tweaker#

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

Version0.1.9
AuthorCJFWeatherhead
Status🟢 Active Development
Game Versionbeta
Last Updated2026-01-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 Bandwidth ModificationbooleanFalseEnable bandwidth capacity modifications
Bandwidth Multipliernumber (0.1-100.0)2.0Multiplier for device network bandwidth (e.g., 2.0 = double bandwidth)
Enable Warranty ModificationbooleanFalseEnable warranty period modifications
Warranty Modeselect: fixed, randomfixedUse a fixed multiplier or random range for warranties
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)2.0Minimum multiplier for random warranties (used when mode is ‘random’)
Max Random Warranty Multipliernumber (0.1-100.0)25.0Maximum multiplier for random warranties (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)1.0Multiplier for device CPU power
Enable Memory ModificationbooleanFalseEnable RAM modifications
Memory (RAM) Multipliernumber (0.1-100.0)1.0Multiplier for device installed RAM
Enable Storage ModificationbooleanFalseEnable storage capacity modifications
Storage Multipliernumber (0.1-100.0)1.0Multiplier for device storage capacity
Enable Auto Network AddressingbooleanFalseAutomatically assign network addresses based on floor and device class.
Format: @f{floor}/{class}{increment}
Examples: @f4/srv1 (compute server on floor 4), @f2/swt1 (switch on floor 2), @f18/nlb2 (load balancer on floor 18)

Device class abbreviations (3 letters): def=default, swt=switch, rtr=router, tap=tap, fwr=firewall, mls=media_simplex, mld=media_duplex, srv=server, mon=monitor, dbg=debugger, ldt=load_tester, pwr=power_expansion, dcr=decentro_rigs, spr=surge_protector, ups=ups, ine=inert, ccv=cctv, phn=phone, prt=printer, nlb=load_balancer | | DHCP Mode | select: disabled, boot_dhcp, periodic_dhcp | disabled | Set the DHCP mode for devices - disabled, boot_dhcp (runs once at boot), or periodic_dhcp (runs periodically) | | Enable Merchant Restock Hotkey | boolean | True | Enable CTRL+SHIFT+R hotkey to instantly restock all merchants. Useful when you need more devices but stock is depleted. | | Show Restock Notification | boolean | True | Display an in-game notification when merchants are restocked |


About This Mod#

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

Features#

  • Bandwidth Multiplier: Adjust network bandwidth capacity of devices
  • Warranty Modifications: Set fixed or random warranty multipliers
  • Cost Adjustments: Modify device purchase costs
  • Hardware Multipliers: Scale CPU power, RAM, and storage
  • Network Addressing: Auto-assign addresses based on floor and device type
  • DHCP Configuration: Set DHCP mode (disabled, boot, or periodic)
  • Device Class Filtering: Selectively apply modifications to specific device types
  • Merchant Restock: Press CTRL+SHIFT+R to instantly restock all merchants

Device Classes (20 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

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
  • Network addressing format: @f{floor}/{abbrev}{increment}

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 for switches, routers, and other network devices
  • Warranties: Set fixed or random warranty multipliers for device reliability
  • Cost: Modify device purchase prices (make them cheaper or more expensive)
  • Hardware: Scale CPU power, RAM, and storage capacity independently (Not Supported by the games API currently)
  • Network Addressing: Automatically assign descriptive network addresses based on floor and device type (Not supported by the games API)

🎯 Device Class Filtering#

Selectively apply modifications to specific device types (all 20 classes from game API):

  • 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

⚙️ 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)

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 (Currently Unsupported by API)#

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

Network Addressing Settings (Currently Unsupported by API)#

ParameterDefaultDescription
Enable Auto Network AddressingAutomatically assign network addresses in format @f{floor}/{class}{increment}

Address Format: @f{floor}/{abbrev}{increment}

  • Abbreviations:
    • def (default), swt (switch), rtr (router), tap (tap), fwr (firewall)
    • mls (media line simplex), mld (media line duplex), srv (compute server)
    • mon (monitor), dbg (debugger), ldt (load tester), pwr (power expansion)
    • dcr (decentro rigs), spr (surge protector), ups (ups), ine (inert)
    • ccv (cctv), phn (phone), prt (printer), nlb (load balancer)
  • Examples: @f4/srv1, @f2/swt3, @f18/nlb2
  • Increments: Per floor and device class combination

Technical Details#

Device Classes Reference#

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

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

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

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, Auto Network Addressing
[device-tweaker] Enabled device classes: server, switch, router
[device-tweaker] SuperSwitch 3000 (switch): BW: 1000 -> 2000 (x2.00) | warranty days: 365 -> 2008 | cost: $5000 -> $3750 | netaddr: @f2/swt1

Network Address Auto-Assignment#

When enabled, devices receive network addresses automatically using this logic:

  • Format: @f{floor}/{class_abbrev}{increment}
  • Counter: Tracks increments per floor and device class combination
  • Reset: Counters reset when mod is reloaded (F11)

Example progression on floor 4:

  • First compute server: @f4/srv1
  • Second compute server: @f4/srv2
  • First network switch: @f4/swt1
  • Third compute server: @f4/srv3
  • First network load balancer: @f4/nlb1

Compatibility#

  • Game Version: Beta
  • Dependencies: None required (modloader config system is optional)
  • Conflicts: Should be compatible with most other mods

Credits#

This mod combines and extends functionality from:

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

Version History#

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 combines and extends functionality from 2x-bandwidth-switches and random-warranties mods. All modifications are applied when devices spawn.


Technical Details
FieldValue
Mod IDdevice-tweaker
Creation Date2026-01-18
Last Updated2026-01-31
Game Versionbeta
DependenciesNone
Websitehttps://github.com/CJFWeatherhead/TNI-Mods/tree/beta/lua/device-tweaker

Release URLs:


Back to All Mods