Electric Train


Adds electric locomotives to the game.

Content
4 years ago
0.14 - 1.1
76.4K
Trains

b Automatic Train Fuel Stop

5 years ago

Got this error when using with Automatic Train Fuel Stop(https://mods.factorio.com/mod/FuelTrainStop)

Error while running event ElectricTrain::on_init()
Error when running interface function FuelTrainStop.exclude_from_fuel_schedule: FuelTrainStop/control.lua:107: bad argument #1 to 'pairs' (table expected, got nil)
stack traceback:
[C]: in function 'pairs'
FuelTrainStop/control.lua:107: in function 'CheckTrainList'
FuelTrainStop/control.lua:102: in function 'AddTrainIgnore'
FuelTrainStop/control.lua:4: in function <FuelTrainStop/control.lua:4>
stack traceback:
ElectricTrain/control.lua:9: in function 'CallRemoteInterface'
ElectricTrain/control.lua:20: in function <ElectricTrain/control.lua:15>
stack traceback:
[C]: in function 'call'
ElectricTrain/control.lua:9: in function 'CallRemoteInterface'
ElectricTrain/control.lua:20: in function <ElectricTrain/control.lua:15>

5 years ago

I fixed it. A new version of Automatic Train Fuel Stop is online

New response