Train Scaling for 2.0 (WIP)

by xt7

Automate the construction and deconstruction of your trains! Configure a train currently scheduled for a station as a template for the station - the mod's special train construction station will automatically build (or destroy) copies of the template train on demand, or in response to circuit conditions.

Content
a year ago
2.0
108
Trains Circuit network

g Crashes for scaling above 25

4 months ago

Error while running event train-scaling-updated::on_nth_tick(60)
train-scaling-updated/control.lua:2442: bad argument #1 of 2 to 'newindex' (string expected, got number)
stack traceback:
[C]: in function '__newindex'
__train-scaling-updated
/control.lua:2442: in function 'update_normal_station_gui'
train-scaling-updated/control.lua:2576: in function <train-scaling-updated/control.lua:2567>

4 months ago

Changing scaling on a station to any value above 25 causes this error and crashes the game.

Error while running event train-scaling-updated::on_nth_tick(60)
train-scaling-updated/control.lua:2442: bad argument #1 of 2 to 'newindex' (string expected, got number)
stack traceback:
[C]: in function '__newindex'
__train-scaling-updated
/control.lua:2442: in function 'update_normal_station_gui'
train-scaling-updated/control.lua:2576: in function <train-scaling-updated/control.lua:2567>

New response