Buildings Should Eject Fluids When Deconstructed

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

macdjord
Fast Inserter
Fast Inserter
Posts: 163
Joined: Fri Feb 22, 2013 4:26 am
Contact:

Buildings Should Eject Fluids When Deconstructed

Post by macdjord »

TL;DR
Fluids are not lost when deconstructing pipes or tanks, and buildings with fluid inputs will eject any stored fluids if their recipe is changed or cleared, but if you deconstruct a building without clearing the recipe first (or if it has no recipe to clear, e.g. flamethrowers), any fluids are simply lost.
What?
When you deconstruct a pipe segment or storage tank (or marked one for deconstruction), any fluid inside will be moved into the rest of the attached fluid system, as long as there's enough room. Similarly, if a building has a recipe that uses fluid ingredients, clearing the recipe will cause any stored fluids to be pushed back out into the attached fluid system (again assuming there's room, and that the attached system doesn't already contain some other fluid). But when you deconstruct a building without clearing the recipe first, all fluids inside are just destroyed.

Worse, there are a number of entities which consume fluid inputs but don't have any recipe to clear, such as boilers, heat exchangers, steam engines/turbines, and flamethrowers. For these entities, there is no way to extract the ingested fluids at all. This is particularly egregious in the case with flamethrowers, since the fluids they consume are relatively valuable (unlike boilers and heat exchangers, where you're only losing water) and they consume it so slowly (relative to their storage capacity) and only when there are enemies about, so it's not practical to just cut off the input and wait until they use it up.

This shouldn't happen; a building which is deconstructed or marked for deconstruction should attempt to eject its fluidic contents if possible just as it would if the recipe is cleared, even (especially!) if it doesn't have any manually-set recipe which can be cleared.
Why?
I'm tired of carefully decommissioning a section of factory, including pumping all the fluids out to be used where they're needed, only to realize I destroyed a bunch of valuable fluids anyway because I forgot to manually clear the recipes on the machines before removing the machines themselves. And I'm tired of losing 200 light oil for every flamethrower each time I need to move my defensive walls out; frequently the oil lost to this is more than the wall consumed in its entire operational lifetime.
Post Reply

Return to “Ideas and Suggestions”