Electric Train 2.0 Fix

by Jtmzac

Updated for 2.0/2.1. Adds electric locomotives to the game.

Content
2 months ago
2.0 - 2.1
5.12K
Trains

g error

2 years ago

I'm having trouble with these errors, can you help?

Error while running event ElectricTrain2::on_built_entity (ID 6)
LuaGameScript doesn't contain key item_prototypes.
stack traceback:.
[C]: in function 'index'
__ElectricTrain2
/control.lua:99: in function <ElectricTrain2/control.lua:90>

2 years ago
(updated 2 years ago)

I was very confused for a minute since I was sure I had fixed that. That would be because that's not this mod.
That is someone else's 2.0 fix for electric trains that came out after this one: https://mods.factorio.com/mod/ElectricTrain2

If you swap to this one it should work fine since that is something that I have already fixed.

2 years ago

I didn't realize I was mistaken!
Thank you for the help!

New response