-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clean water goes bad if left in open container #74353
Conversation
If you have 1 clean water in a stock pot and leave it a while and then try to add another 1 clean water that hasn't been exposed yet what happens? |
merging liquids is generally pretty poorly defined (e.g. if one of them is poisoned and the other isn't, one of the two liquids will have its poison count kept and the other thrown away, I forget if it's the one being added or the one being added to which is kept). So I somewhat intentionally didn't try to solve that here. However, it ought to take a weighted average based on volume. |
I'm not too worried about how it works exposure time wise as long as it lets you merge them and stacks in the UIs and the first water doesn't transform independently of the first causing something to spill or an error etc |
IMO you should include a check for whether the tile is outdoors and cut the rate of decay if it is. A lot of baterial pollutants are coming from rain or animals getting into the water, and if it's indoors that's going to be reduced. |
Oh, yeah, the status is invisible in the UI. Indistinguishable. Also, I just discovered that |
Rain is actually pretty clean, generally contaminants in rainwater come from the collection apparatus and not the water itself. As for animals, I think most indoor locations post-cata will have abundant vermin, so I'm not sure this makes a huge difference? That said, it's not unreasonable to imagine that there might be a lot more bacteria and detritus floating around in the air outside which is likely to get into the water, and that seems like a decent reason to increase the rate of decay. |
When dealing with rainwater collection, I was told that the primary sources of pathogens were the rain itself, which can have them living on dust particles in the raindrops, birds, snails, and squirrels. You obviously wouldn't want rats and mice in your water barrel, but they live outside, too. |
Leaving aside that the vast majority of raindrops never touch a bird, snail or squirrel, it's also true that most rain has such a tiny amount of contamination that it's not worth modeling. Reference: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3318827/
NB. this is positive at all. The experiment used qPCR which is extremely sensitive and likely would have come back positive if there was even a single cell of the pathogen. And half the rainwater samples were negative for all pathogens tested for. Further,
this is unclear enough to be an active field of study at least as recently as this paper was published (2012). If there was a significant chance of contracting illness from rainwater, I don't think it would need highly sensitive methods such as qPCR to determine, nor would it be an active area of research. Granted there is some chance, but close to zero. This is what |
No, I mean that birds, snails, and squirrels will get into or poop in or on open water containers, and snails are basically parasite factories. These animals don't generally live indoors, but are a major concern. Indoor vermin exist, but are going to be less interested in standing water than the other animals and, as previously stated, those vermin also live outside. The general expectation would be that more critters would get into an open water barrel if it was left outdoors, thus more likelihood of pathogens. |
Ah sure, yes. Anyway, open containers outside now decay twice as fast.
j
…On Fri, Jun 7, 2024 at 00:09 fairyarmadillo ***@***.***> wrote:
I was told that the primary sources of pathogens were the rain itself,
which can have them living on dust particles in the raindrops, birds,
snails, and squirrels
Leaving aside that the vast majority of raindrops never touch a bird,
snail or squirrel, it's also true that most rain has such a tiny amount of
contamination that it's not worth modeling.
No, I mean that birds, snails, and squirrels will get into or poop in or
on open water containers, and snails are basically parasite factories.
—
Reply to this email directly, view it on GitHub
<#74353 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABKGAFHDTOS3EDQ3N7T743ZGFMDVAVCNFSM6AAAAABI5JZWAGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJUGIZDQNZTGU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Co-authored-by: Brambor <[email protected]>
Summary
Content "Clean water in open containers reverts to water after a while"
Purpose of change
Continuation from #72252 (comment).
If in an open container, eventually clean water (or spring or mineral water) will accumulate some environmental bacteria and become slightly dangerous to drink.
Ref #72.
Describe the solution
This doesn't use the rot system because:
jar with a lid on will happily preserve clean water basically forever, but
it has no spoil_multiplier unless sealed.
Instead, I've added a new DECAYS_IN_AIR flag that will use an item's
revert_to
field to convert to a different item after it's been exposed toatmosphere for long enough (defined by an item property
max_air_exposure_hours
). This is calculated similarly to rot, but slightlyrandomized to avoid all clean water decaying at the same moment.
"exposed to atmosphere" here is defined as not in a container that
can_contain_liquid( false )
, i.e. a container that's watertight even if it'sin another container. (This excludes items like a drinking glass, which is
watertight but can't be packed and still hold its contents.)
Describe alternatives you've considered
Clean water could become a perishable (with a long shelf life) and use regular
spoil rules. This would be simpler and more visible to the player, but would be
a less realistic model.
Instead of using watertight to define "exposed to atmosphere", we could use the
airtight flag. However, a lot of totally fine watertight containers for
storing water aren't listed as airtight, e.g. 2lcanteen, 30gal_barrel,
bag_zipper, etc.
Testing
I tested:
Not yet tested:
Additional context