Electric Train


Adds electric locomotives to the game.

Content
4 years ago
0.14 - 1.1
76.4K
Trains

b Conflict with Realistic Electric Trains

5 years ago

I was trying out Electric Train and Realistic Electric Trains to see which one I like better. When I place an electric train down from Realistic Electric Trains, Electric Train crashes with an error about not being able to burn an item that doesn't have a fuel value... Obviously not a huge deal since you usually don't really need to run 2 different electric train mods, but it might cause issues with something else at some point and it's it possible that someone running a multiplayer server would want to give people the option of using either...

Possibly related to the fact that RET trains don't have an inventory...

https://imgur.com/a/qRnKOyb

5 years ago

The problem is that the names of the trains are relatively similar and I do not catch it properly. The bug with the fuel_value is known and I'm working on it.
https://mods.factorio.com/mod/ElectricTrain/discussion/5c7bd6de961aa5000cbe7693

5 years ago

In my mod, I used Optera's advice to add a dummy (hidden=true) technology to store my added entities as unlocked recipies (that are also hidden). That way data.lua can make an exact list of which ones my mod should interact with, and control.lua doesn't have to guess based on the name. Exact match would still be a problem, but less likely.

New response