Page 1 of 1

[2.0.20] Fluid deletion when changing/clearing recipes with full pipes

Posted: Tue Nov 19, 2024 11:04 pm
by Romayne
What?
When a recipe is automatically changed with circuit logic and the pipes supplying it are full, it will delete the fluid instead of refusing to change the recipe/waiting to push the fluid out. This effectively means fluids can be deleted, trivially and automatically.
Steps to Reproduce
1. Load up the attached scenario
2. Unpause time
3. Investigate the setup. It is designed to rapidly swap the recipe to void the fluid within the network it is connected to.
Expected Behavior
I expected that the fluid would be conserved like items, being forced into an 'output slot' or just into whatever pipes have room, and that it wouldn't be straight-up voided.
Additional Information
Just an annotated screenshot so you don't necessarily have to load up the game to see this reproduced:
Image

Scenario demonstrating bug:
bug-demo-fluid-deletion.zip
(3.21 MiB) Downloaded 80 times

Re: [2.0.20] Fluid deletion when changing/clearing recipes with full pipes

Posted: Wed Dec 11, 2024 3:10 pm
by Rseding91
Thanks for the report however this is working as intended. When setting recipe with control behavior it first clears the recipe, then sets the new one. When clearing the recipe the recipe is *removed* and the state of the machine cleared and there is no longer any intermediate place for fluids to be stored. In this case, they are simply voided.