Jump to content

Dirty Water and Saltwater - get sick by drinking from the toilet / rain barrel, collect water from rivers


blindcoder

Recommended Posts

As the title says, this mod will give you food poisoning if you drink from a toilet or rain barrel.

It also lets you take water from water tiles that you must distill before you can drink it.

 

Features of dirty Water:

  • Get sick drinking from a toilet or rainbarrel
  • Get sick drinking water from a bottle, kettle, bowl, etc. filled from a toilet or rainbarrel
  • Collect water from natural water sources (river, ocean, ponds, etc.)
  • "Dirty" water in a bottle that is filled with "clean" water from a faucet is still considered "dirty" by pollution.
  • Empty your "dirty" bottles before filling in "clean" water from faucets to not get sick anymore.
  • Clean dirty water in containers with Bleach. A bottle of Bleach has 25 uses, one use is necessary to clean between 0.1 and 1.0 units of water.
    That means it takes 1 use of Bleach to clean a nearly empty bottle with 0.1 units left, but the same for 1.0 units, so be careful.
  • Boil your water containers on stoves or campfires for at least 30 minutes if you have no bleach.

This mod will change how Bleach appears and is handled in the game (it's no longer a Food, but an InventoryItem) and won't replace already spawned instances of Bleach, only new ones.

It also implements stills, coolers and taking water from rivers and beaches.

 

Features of salt Water:

  • Pot stills. And Coolers.
  • You can now collect saltwater from water tiles in any water container (yes, any!). This overwrites the water collection from the dirtyWater mod if both are active.
  • You can pour saltwater into stills and light the fire below them to distill the water.
  • If a cooler is positioned correctly next to the still, it will catch the distilled water.
  • You can fill any water container from the cooler.
  • Cooler changes sprite when it contains water.

The rules of water states are:

Adding clean water to clean water gives clean water.

Adding dirty water to clean water gives dirty water.

Adding clean water to dirty water gives dirty water.

Adding saltwater to clean water gives saltwater.

Adding clean water to saltwater gives saltwater.

Adding dirty water to saltwater gives saltwater.

Adding saltwater to dirty water gives saltwater.

 

ISSUES

In Build 30, there's an issue with the amount of water being stored. This'll fix itself through this issue: http://theindiestone.com/forums/index.php/tracker/issue-1261-rain-barrel-bug/?gopid=3850#entry3850

 

TODO:

 

Balancing.

Make still do something.

Make coolers do something.

Check for possible bug duplicating stills and coolers.

Make saltwater collectible. But from where? River?

 

WONTDO

I will not start calculating the dilution of saltwater to check if it's becoming drinkable.

 

COMPATIBILITY

Version 0.9 is NOT backwards compatible to 0.8 and earlier. Too much has changed, sorry.
Version 0.9.5 is NOT backwards compatible to 0.9. The separation of the mods has changed the items category from DirtyWater to SaltWater

 

LICENSE:

 

You are free to use this mod in any way, shape or form. I consider it public domain, as far as possible. It would still be nice if you credit me if you use it for anything amazing (do not credit me if you use it to annoy your neigbour).

Sprites are © Thuztor, ask him before you do anything with it.

dirtyWater_0.8.zip

dirtyWater_0.9.zip

dirtyWater_0.9.5.zip

saltWater_0.9.5.zip

Link to comment
Share on other sites

I should mention, I'm pretty sure the devs are attempting to have you take the water from the reservoir, which is in fact perfectly safe to drink. Sometimes the bowl will get some sediment in it, but that's all coming from your drinking water anyways. Just thought I'd point that out- don't mean to detract from what's an awesome mod. Cheers mate!

Link to comment
Share on other sites

I feel the need to announce that the 'correct' name for the toilet 'reservoir' is Cistern.

A reservoir is generally considered a large water storage facility, and is often outdoors.

A cistern on the other hand, is usually a smaller immobile water vessel.

 

The main point of difference between the two is their size, implied by their etymology (Origin of the word).

Reservoir is derived from a French term for 'storehouse', whereas Cistern is derived from Latin and Greek words for 'box' and 'basket'.

Thus a Reservoir generally stores large quantities of liquid, such as a pool or town water supply, and a Cistern stores smaller (often measured) quantities of liquid such as a rainwater collector or a hot water cylinder.

 

Knowledge is power! (and I was getting bothered by people referring to the toilet cistern as a reservoir)

Link to comment
Share on other sites

Wow, that's a lot more feedback than I anticipated :D

 

Regarding the most common idea that the cistern water is safe to drink: I disagree.

while it certainly isn't a mix of last nights dorrito and the rotten remnants of Pizza-In-The-Back-Of-The-Fridge, a visible "slime" in the cistern is definately a sign of bacterial overgrowth. Quoting http://www.chemtechford.com/ironbacteria.html

Blackening of water or dark slime coating the inside of toilet tank may also indicate a sulfur bacteria problem.

 

It's these bacteria that I believe to be affecting the player when using this mod, although the idea of having a certain percentage chance of the water being clean anyway does have a nice charm.

Also, if I remember my biology class correctly, standing waters are a nice place for bacteria to grow.

 

Also, you won't die from "dirty" water as you do from bleach. You get 30 points of FoodPoisoning per Drinking action, which brings you just 5 points over the first "Sickness" moodle and will start to decrease immediately. You will probably just lose a few HP from it.

Relying on "dirty" water for extended periods of time will kill you, though, as you get additional 30 points from the automatic drinking before the first 30 points have completely deteriorated. After about one gameday you will be near the level 3 sickness moodle if you only drink from a "dirty" waterbottle.

 

An idea I really like is cleaning water using Bleach. That would not only make bleach a useful item, but add an alternative to the distilling mechanism I have in mind.

Link to comment
Share on other sites

Using a drop of bleach to purify the water is a quite good idea.

 

Regarding the cistern- it's not typically standing for too long (granted may be different after a few weeks of human population being gone), but I've had to work on toilets more times than I want to count over the years and the water in the tank has always been clean and fresh. Anyways- not trying to derail the discussion here. As you were!

Link to comment
Share on other sites

A use for bleach would be quite nice! In regard to the cistern, why not check how many days have gone by and after a certain point all standing water becomes dirty? Like Rathlord said, maybe a couple weeks if that. Problem with bleach though is it takes very, very little bleach to sterilize most of PZ's water containers. I mean it would realistically take a single drop of bleach to clean the water bottle. Maybe have the still use bleach as a "fuel"?

Link to comment
Share on other sites

I've made some dirty variants of the water container sprites to help with the cause. Free for all to use. They were made by changing the color to match the soup bowl color, since it's a pretty nice green.

 

Dirty Water Bottle:

Item_DirtyWaterBottle.png

 

Dirty Water Bucket:

Item_DirtyWaterBucket.png

 

Dirty Water Pan:

Item_DirtyWaterPan.png

 

Dirty Water Pop Bottle:

Item_DirtyWaterPopBottle.png

 

Dirty Water Whiskey Bottle:

Item_DirtyWaterWhiskeyBottle.png

 

Download:

images.zip

Link to comment
Share on other sites

I'm considering starting a new game just for this mod, but i've looted a lot of houses already and may not find "fresh" bleach quick enough to survive this mod.

 

Also, a few questions :

 

If I have a bottle of dirty water in my main inventory, will my character automatically drink from it (like it already does with unmodded water bottles) ?

 

Is it safe to water crops with dirty water ? (I assume it is, but it can't hurt to ask)

 

Will the soup/stew cooked from dirty water be safe to drink ? (It was kind of boiled so... must be safe to drink, right ?)

 

Talking about boiling, adding the ability to boil water to make it clean would be nice, like, in a Pot of (Dirty) Water or any other metal recipient, and ultimately making clean water an infinite ressource again (at the cost of fuel)... Just a suggestion I'm throwing there :P

Link to comment
Share on other sites

If I have a bottle of dirty water in my main inventory, will my character automatically drink from it (like it already does with unmodded water bottles) ?

 

Yes, and the caracter will gradually get sicker. After about a day or two you will be so sick, that you will (maybe) die from it.

 

Is it safe to water crops with dirty water ? (I assume it is, but it can't hurt to ask)

 

Yes, perfectly safe.

 

Will the soup/stew cooked from dirty water be safe to drink ? (It was kind of boiled so... must be safe to drink, right ?)

 

Right now, any crafted item should be safe to consume, as far as this mod is concerned.

 

Talking about boiling, adding the ability to boil water to make it clean would be nice

That's on the roadmap. I'm looking into how to implement this without hurting performance. Checking every single water container EveryTenMinutes is going to make the game unplayable.

Link to comment
Share on other sites

Thanks for the answer blindcoder !

Decided to start anew with this mod... haven't had the luxury to try it out yet, caught a cold and now a gigantic horde is following my every sneeze :P

 

 

That's on the roadmap. I'm looking into how to implement this without hurting performance. Checking every single water container EveryTenMinutes is going to make the game unplayable.

 

Oh, I didn't even know the mod worked like that. My bad.

Link to comment
Share on other sites

  • 3 weeks later...

 

Talking about boiling, adding the ability to boil water to make it clean would be nice

That's on the roadmap. I'm looking into how to implement this without hurting performance. Checking every single water container EveryTenMinutes is going to make the game unplayable.

 

Any news about this? Don´t want to be bitchy, just asking (please don´t punch me  :roll: )

Link to comment
Share on other sites

  • 2 months later...

So, yeah, it has been a bit quiet around this mod, mostly due to $EXCUSE.

 

Anyway, I present version 0.3:

In this version, you can now boil water containers on a stove or campfire to sterilize it and make it potable.

To do this, just put a container with water (a pot, a kettle, a pop bottle, anything that you used "Fill <container>" with) on a stove or campfire and ignite it for at least two 10 minute ticks. So, if you put it on the stove on 10:50, keep it there until at least 11:10. If your campfire goes out at 11:00, you need to start over from 20 minutes.

 

The mod somewhat keeps track of the items on the stoves, at least unless you save and re-load. I still have to figure out how to make this save-resistant. What this means is: always make sure to put your containers OUT of the stove and BACK INTO the stove to be sure! Otherwise your pot of dirty water becomes superconductive and will not get sterilized. Sorry.

 

BTW, thanks to Thuztor I already have a few sprites for the stills. Just need to figure out how to use them.

Link to comment
Share on other sites

  • 3 weeks later...

UPDATE v0.4

 

So I've finally figured out how to build stuff, so now you can build a simple still for distilling salt water. It doesn't work yet, and it somehow disappears between saving and reloading, but you can build it :-) You can also only build it on Campfires.

This version adds Big Funnels, Swivelgrill stands and Rubber Hoses which you need to build stuff.

 

Any help with making the stills permanent between saves is appreciated!

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...