Jump to content

Pitcher Pump results in incorrect resource reporting


oniguy
  • Branch: Live Branch Version: Windows Fixed

I have a pitcher pump that contains a mix of Gunk and Polluted Water.  100% of those two resources on the map are in the pump's basin.  The basin contains 356.9kg of Polluted Water, sitting above 764kg of Gunk.

Bug #1: The map-wide resource reporting shows 764kg of Polluted Water, when in fact this is the amount of Gunk.  This is captured in the screenshot, and was the case over many cycles as the values changed.

Bug #2: The pitcher pump reports that it has both liquids available for pumping, but the Gunk is not actually accessible (the Polluted Water is accessible).  This may be the intended behavior, that the bottom liquid cannot be pumped, but in that case, the pump's text for "Liquid Available" should not report Gunk in its list.  I'd also request that the behavior be changed to allow pumping both liquids (operating as a manual Liquid Filter).  Also note that the map-wide resource list shows 0kg of Gunk available.

1.png


Steps to Reproduce

Create the setup as shown in the screenshot.  The liquid dump on the right is set up to allow Polluted Water.  I originally had the liquid vent placed one tile to the left, which dumped the piped Gunk into the left side of the basin.  In that setup, the basin contained Gunk on the left side, and Polluted Water on the right.  This is when I first observed the behavior, and the gunk was not pumpable in this setup either.  I moved the liquid vent to the right side, as in the screenshot, in an attempt to fix this, but it didn't help.  It did change the placement of the liquids, into a top-bottom configuration rather than side-by-side.




User Feedback


A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.

Does this bug persist across save/load and if so would you provide a save file that reproduces the bugged state?

Share this comment


Link to comment
Share on other sites

Looking at the code I have found a path for an aliasing bug in the pitcher pump that would involve reducing the number of elements available at the pump and then increasing them back to the original count but in a different order which could result in the bugged scenario you have observed, I expect this is the issue you are observing, if so it will not persist on save/load, I'm going to mark this as fixed based on the assumption that we are looking at the same bug.

The expectation the gunk should not be actually available is incorrect, the pump should be able to retrieve any liquid in the tiles where the pipe visuals reach, there is in the live version of the game a number of other bugs related to a mismatch between the area the pump looks like it interacts with and the area of the sim it actually interacts with but those bugs have also been fixed for the next patch.

  • Like 1

Share this comment


Link to comment
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...