Single Train Unit


Adds a single train unit that is the standard length, but include storage and can travel in both directions

Content
1 year, 4 months ago
1.0 - 1.1
1.39K
Trains

b Crash when loading

10 months ago
(updated 10 months ago)

Just installed this and got instant crash:

https://imgur.com/a/bLJ9hl4

Managed to fix it by editing the "make-all-mu-types.lua"
Changing line 239 to 241:

        ingredients = Utils.GetRecipeAttribute(refLocoRecipe, "energy_required", "ingredients"), * 2
        normal = Utils.GetRecipeAttribute(refLocoRecipe, "energy_required", "normal"),* 2
        expensive = Utils.GetRecipeAttribute(refLocoRecipe, "energy_required", "expensive")* 2

to

        ingredients = Utils.GetRecipeAttribute(refLocoRecipe, "energy_required", "ingredients"),
        normal = Utils.GetRecipeAttribute(refLocoRecipe, "energy_required", "normal"),
        expensive = Utils.GetRecipeAttribute(refLocoRecipe, "energy_required", "expensive")
10 months ago

Guessing you've got other mods installed?
The error message and your fix seems logically related to each other from a cursory glance. I'm not updating any of my mods at present so will leave this bug open in case I return in the future.

On a clean Factorio 1.1.86 with just this mod I don't get an error starting a new game.

New response