Only vanilla trains for pY


This mod replaces pyanodon's unique trains and wagons with the vanilla ones (for aesthetics and UPS saving purposes)

Tweaks
an hour ago
2.0
30
Trains

g Please keep original ingredients

2 days ago

I like your idea, but you promised to keep a balance.

2 days ago

Huh? All recipe ingredients are original, they're just doubled cos you're getting double the length (and inventory space) of a pY's small wagon.

2 days ago
(updated 2 days ago)
2 days ago
(updated 2 days ago)

we need

for k, v in pairs(data.raw["recipe"]["mk04-fluid-wagon"].ingredients) do 
    data.raw["recipe"]["mk04-fluid-wagon"].ingredients[k].amount = v.amount*2 
end

for each modded wagon

2 days ago

Oh, i see the problem. This is what a searchable wagon recipe looks like in code (and that's essentially what i double) but ig more ingredients are added from several data-updates files or something. Not the first time I fall victim to pY's spaghetti code.

Thank you for provided solution, it has been implemented and an update is available now.

P.S. Tell me if you want a RU language variant of this change, I could add that as well:

To ease the differentiation between tiers all changed items were renamed into Locomotive/Cargo wagon/Fluid wagon MK02/03/04 instead of Advanced/Nexelit Floating/yada-yada

2 days ago

awesome, thx

New response