Ok, here is a quick and dirty version of the mod. This will require you to change the source code, 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);[/code]
Place this anywhere in your recipe.json:
[code]{
“result”: “water_cleanx2”,
“category”: “CC_DRINK”,
“skill_pri”: “cooking”,
“difficulty”: 0,
“time”: 1000,
“reversible”: false,
“autolearn”: true,
“tools”: [
[
[“hotplate”, 6],
[“toolset”, 1],
[“fire”, -1]
],
[
[“pan”, -1],
[“pot”, -1],
[“rock_pot”, -1]
]
],
“components”: [
[
[“water”, 2]
]
]
},
{
"result": "water_cleanx6",
"category": "CC_DRINK",
"skill_pri": "cooking",
"difficulty": 0,
"time": 6000,
"reversible": false,
"autolearn": true,
"tools": [
[
["hotplate", 18],
["toolset", 1],
["fire", -1]
],
[
["pan", -1],
["pot", -1],
["rock_pot", -1]
]
],
"components": [
[
["water", 6]
]
]
},
{
"result": "water_cleanx10",
"category": "CC_DRINK",
"skill_pri": "cooking",
"difficulty": 0,
"time": 10000,
"reversible": false,
"autolearn": true,
"tools": [
[
["toolset", 1],
["fire", -1]
],
[
["pan", -1],
["pot", -1],
["rock_pot", -1]
]
],
"components": [
[
["water", 10]
]
]
},
{
"result": "water_cleanx40",
"category": "CC_DRINK",
"skill_pri": "cooking",
"difficulty": 0,
"time": 40000,
"reversible": false,
"autolearn": true,
"tools": [
[
["toolset", 1],
["fire", -1]
],
[
["pan", -1],
["pot", -1],
["rock_pot", -1]
]
],
"components": [
[
["water", 40]
]
]
},
{
"result": "water_cleanx100",
"category": "CC_DRINK",
"skill_pri": "cooking",
"difficulty": 0,
"time": 100000,
"reversible": false,
"autolearn": true,
"tools": [
[
["toolset", 1],
["fire", -1]
],
[
["pan", -1],
["pot", -1],
["rock_pot", -1]
]
],
"components": [
[
["water", 100]
]
]
},[/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.