SE Space Trains


This mod adds UPS friendly Space Exploration themed, MAGLEV propulsed, trains. They are best used together with the Krastorio 2 and Space Exploration mod. Yet, they also function as standalone pack, using only the vanilla base game. This is however now also fully compatible with Space Age and Elevated Rails.

Content
a month ago
1.1 - 2.1
119K
Trains Manufacturing

b Mod no longer loads on 2.1.20

2 months ago

When trying to load the game, it gives the following message:

Failed to load mods: Error while loading item prototype "space-train-battery-pack" (item): ItemPrototype::fuel_category was removed. Please use ItemPrototype::fuel_categories.

2 months ago
(updated 2 months ago)

The fix, in prototypes/items/items.lua (space-train-battery-pack item, ~line 33):

fuel_category = "electrical",

becomes:

fuel_categories = {"electrical"},

Note it must be the list form {"electrical"} — a dict-style {electrical = true} fails with "Value must be a list in property tree".

After editing the mod the mod loads fine on 2.1.20

2 months ago

The fix, in prototypes/items/items.lua (space-train-battery-pack item, ~line 33):

fuel_category = "electrical",

becomes:

fuel_categories = {"electrical"},

Note it must be the list form {"electrical"} — a dict-style {electrical = true} fails with "Value must be a list in property tree".

After editing the mod the mod loads fine on 2.1.20

That worked, thanks

2 months ago

Thank you so much dazzo31!

2 months ago

The latest version of PlanetsLib fixes this issue if you happen to play with a planet mod that requires it. Not a fix I'm happy to add, but it should make this issue less of a disturbance to players.

a month ago

This was fixed as of mod version 1.1.4 and should no longer be an issue. It's also fully backwards compatible.

New response