This is a simple mod that allows you to mass purify water.
Here is a quick and dirty version of this mod. This will require you to change the source code (download codeblocks if you want it to compile successfully), unless you know of some place where I can upload the exe for you guys (note, you will still have to replace your recipe.json in your data folder).
place in iuse.cpp just under water_clean declaration:
[code]DRINK(“water_cleanx2”,“clean water”, 90, 50, c_ltcyan, “bottle_plastic”,
// QUE NUT SPO STM HTH ADD CHG FUN use_func addiction type
50, 0, 0, 0, 0, 0, 2, 0,&iuse::none, ADD_NULL, “
Fresh, clean water. Truly the best thing to quench your thirst.”, 0);
DRINK(“water_cleanx6”,“clean water”, 90, 50, c_ltcyan, “bottle_plastic”,
// QUE NUT SPO STM HTH ADD CHG FUN use_func addiction type
50, 0, 0, 0, 0, 0, 6, 0,&iuse::none, ADD_NULL, “
Fresh, clean water. Truly the best thing to quench your thirst.”, 0);
DRINK(“water_cleanx10”,“clean water”, 90, 50, c_ltcyan, “bottle_plastic”,
// QUE NUT SPO STM HTH ADD CHG FUN use_func addiction type
50, 0, 0, 0, 0, 0, 10, 0,&iuse::none, ADD_NULL, “
Fresh, clean water. Truly the best thing to quench your thirst.”, 0);
DRINK(“water_cleanx40”,“clean water”, 90, 50, c_ltcyan, “bottle_plastic”,
// QUE NUT SPO STM HTH ADD CHG FUN use_func addiction type
50, 0, 0, 0, 0, 0, 40, 0,&iuse::none, ADD_NULL, “
Fresh, clean water. Truly the best thing to quench your thirst.”, 0);
DRINK(“water_cleanx100”,“clean water”, 90, 50, c_ltcyan, “bottle_plastic”,
// QUE NUT SPO STM HTH ADD CHG FUN use_func addiction type
50, 0, 0, 0, 0, 0, 100, 0,&iuse::none, ADD_NULL, “
Fresh, clean water. Truly the best thing to quench your thirst.”, 0);
CONT(“sealed_can_drink”, “resealable aluminum can”, 70, 1, c_ltblue, STEEL, MNULL,
1, 0, 0, 0, 1, mfb(con_rigid)|mfb(con_wtight)|mfb(con_seals), “
An aluminum can with a tie on plastic bag for a cover.”);[/code]
Place this anywhere in your recipe.json:
[code] {
“result”: “water_clean”,
“category”: “CC_DRINK”,
“skill_pri”: “cooking”,
“difficulty”: 0,
“time”: 1000,
“reversible”: false,
“autolearn”: true,
“tools”: [
[
[“hotplate”, 3],
[“toolset”, 1],
[“fire”, -1]
],
[
[“can_food”,-1],
[“can_drink”,-1],
[“pan”, -1],
[“rock_pot”, -1],
[“pot”, -1],
[“jerrycan_big”,-1]
]
],
“components”: [
[
[“water”, 1]
]
]
},
{
"result": "water_cleanx2",
"category": "CC_DRINK",
"skill_pri": "cooking",
"difficulty": 0,
"time": 2000,
"reversible": false,
"autolearn": true,
"tools": [
[
["hotplate", 6],
["toolset", 2],
["fire", -1]
],
[
["pan", -1],
["pot", -1],
["rock_pot", -1],
["jerrycan_big",-1]
]
],
"components": [
[
["water", 2]
]
]
},
{
"result": "water_cleanx6",
"category": "CC_DRINK",
"skill_pri": "cooking",
"difficulty": 0,
"time": 5500,
"reversible": false,
"autolearn": true,
"tools": [
[
["hotplate", 16],
["toolset", 5],
["fire", -1]
],
[
["pan", -1],
["pot", -1],
["rock_pot", -1],
["jerrycan_big",-1]
]
],
"components": [
[
["water", 6]
]
]
},
{
"result": "water_cleanx10",
"category": "CC_DRINK",
"skill_pri": "cooking",
"difficulty": 0,
"time": 9000,
"reversible": false,
"autolearn": true,
"tools": [
[
["toolset", 8],
["fire", -1]
],
[
["pot", -1],
["rock_pot", -1],
["jerrycan_big",-1]
]
],
"components": [
[
["water", 10]
]
]
},
{
"result": "water_cleanx40",
"category": "CC_DRINK",
"skill_pri": "cooking",
"difficulty": 0,
"time": 35000,
"reversible": false,
"autolearn": true,
"tools": [
[
["toolset", 30],
["fire", -1]
],
[
["pot", -1],
["jerrycan_big", -1]
]
],
"components": [
[
["water", 40]
]
]
},
{
"result": "water_cleanx100",
"category": "CC_DRINK",
"skill_pri": "cooking",
"difficulty": 0,
"time": 85000,
"reversible": false,
"autolearn": true,
"tools": [
[
["toolset", 70],
["fire", -1]
],
[
["jerrycan_big", -1]
]
],
"components": [
[
["water", 100]
]
]
},
{
"result": "salt",
"category": "CC_MISC",
"skill_pri": "cooking",
"difficulty": 0,
"time": 8000,
"reversible": false,
"autolearn": true,
"tools": [
[
["hotplate", 24],
["toolset", 8],
["fire", -1]
],
[
["pan", -1],
["pot", -1],
["rock_pot", -1],
["jerrycan_big",-1]
]
],
"components": [
[
["salt_water", 8]
]
]
},
{
“result”: “sealed_can_drink”,
“category”: “CC_MISC”,
“difficulty”: 0,
“time”: 30000,
“reversible”: false,
“autolearn”: true,
“tools”: [
[
]
],
“components”: [
[
[“sinew”, 10],
[“plant_fibre”, 10],
[“thread”, 10]
],
[
[“bag_plastic”, 1]
]
]
},[/code]
Note, this will create different water objects. They will have the exact same function, but will not, at least with this quick and dirty fix, be inter-mixable.
Second Note, I’m surprised that they tied the “put in container” query to liquids. It made this take only 5 minutes compared to the half an hour it would have taken. Thank you cataclysm devs :).
Third note, interesting outcome of this is, if you use the right recipe for your container, you will be able to put the water directly back into the container that held the dirty water, without requiring an intermediate container like you used to need.
Fourth note, if you know of any other containers that have odd water amounts, tell me, and I will update everything for it.