Modular Trains


Research and install upgrades in your locomotives. Compatible with Vanilla or Space Age.

Content
2 months ago
2.0
2.11K
Trains

g Crash with Locomotive MK2

10 months ago
(updated 10 months ago)

Hey! Im getting this error when i place down a locomotive MK.II from bob's logistics mod on the rails on the latest patch and version of the mod

Error while running event modular-trains::on_built_entity (ID 6)
modular-trains/scripts/locomotive_type.lua:70: attempt to concatenate local 'chassis_morpheme' (a nil value)
stack traceback:
modular-trains/scripts/locomotive_type.lua:70: in function <modular-trains/scripts/locomotive_type.lua:64>
(...tail calls...)
modular-trains/control.lua:42: in function 'switch_locomotive_type'
modular-trains/control.lua:98: in function <modular-trains/control.lua:93>

10 months ago

Thanks for the report. I will take a look. I may simply change it so that this mod ignores Bob's locomotives, because Bob's improved locomotives make the equipment system unimportant for gameplay.

10 months ago

It also happens with the armored locomotive from https://mods.factorio.com/mod/Armored-train and the maglev locomotive from https://mods.factorio.com/mod/se-space-trains

10 months ago

I made a fix so that this mod ignores all unsupported trains. Some of the other mods are not balanced appropriately for this mod. I can try to rebalance other mods if there is interest.

New response