[0.11.x]Strange train definitions

This subforum contains all the issues which we already resolved.
User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

[0.11.x]Strange train definitions

Post by bobingabout »

As you know, I'm a modder, so I often look through the game's code. This lets me grab code segments of existing items to use in my mods.

Today's Item to mod... Trains. The Diesel Locomotive, and Cargo Wagon.

So, I look at the Locomotive code, and what do I see? The Devs have added a set of resistances... Twice... but none to the cargo wagon.
These are the exact same set of Resistances defined twice in the Locomotive definitions.

I assume that this is an error, but, were the second set supposed to be pasted into the cargo wagon? The cargo wagon has no resistances, it is a logical conclusion.
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.
kovarex
Factorio Staff
Factorio Staff
Posts: 8298
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.11.x]Strange train definitions

Post by kovarex »

This is probably true, I will take a look at it.
User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: [0.11.x]Strange train definitions

Post by bobingabout »

Thanks.
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.
kovarex
Factorio Staff
Factorio Staff
Posts: 8298
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.11.x]Strange train definitions

Post by kovarex »

You were right, it is fixed for the 0.11.4 (the second definition was moved to the wagon).
Post Reply

Return to “Resolved Problems and Bugs”