[0.11.x]Strange train definitions
Posted: Sat Nov 22, 2014 7:33 pm
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.
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.