branchrust_reboot/main/WagonDecayChangecancel
6 Commits over 0 Days - ∞cph!
Reset decay time after unloading happens
DON'T do the faster decay on the loot wagon
Remove the usual couple-engine decay rule if the unloadable wagon is empty
Prevent emptied unloadable ore and fuel wagons from falling apart while being used in a moving train.
This required a bit of a code refactor. Instead of dying and going into corpse state, they change how they decay, which lets them stay alive longer if needed, and doesn't prevent damage from players destroying them in a moving train.