This mod enables the work-in-progress water system and builds a number of new mechanics on top of it.
Features
- Water pooling and flowing (credit to Albert at Team Radiant on this part)
- ‘Spring’ component and entity that continuously spawns water
- Cubemitter effect that simulates water spraying upwards
- ‘Sinkhole’ component and entity that continuously consumes water
- Cubemitter effect that simulates water swirling downwards
- Console commands for creating still water, springs, and sinkholes
- ‘Well’ that sources water from nearby bodies of water
- Crafted by Mason using 1 wood and 1 stone
- Holds up to 50 water
- Continuously collects water from nearby water bodies (within 4 blocks in all directions)
- Provides 2.5x more thirst quenching than open water bodies
- Visible water level in well indicates how much water is in the well
- ‘Thirst’ mechanic that works similar to hunger
- Actions for finding water and drinking water
- New hearthling attribute ‘hydration’ (min: -25, max: 75)
- Observer for monitoring the hydration of the hearthling
- Buff for indicating critical dehydration (reduces speed by 25%)
- Thought bubble for indicating need of water
- ‘Irrigation’ mechanic for crops
- Tilled dirt collects nearby water to improve soil quality over time
- NEW - Lakes
- Spawn naturally in Plains areas upon world generation
- Range in size from 9x9 to 21x21 and up to 5 blocks deep
Setup
- Copy the mod file into your mods directory
- Add
"enable_debug_keys" : true
to your user_settings.json file - Add the following to your user_settings.json file
“mods” : {
“stonehearth” : {
“enable_water” : true
}
}, - Start with a fresh world or use the test world linked below
The screenshot(s) show my test world with a few springs setup and a sinkhole setup. The world and instructions for spawning the springs and sinkhole are below. The only way to manually setup things right now is by entering the console commands into the debug console. To turn this on press ~ in-game to open up the console. Then just type in the commands listed below.
Optional Setup
Add "enable_terrain_coordinates" : true
to your user_settings.json in the mods - stonehearth section (as detailed above) to enable the terrain coordinates tool. You press * on the numpad to turn it on and off. This is a built-in feature of the game that makes positioning springs and sinkholes and such quite easy.
For Modders
Using the various components of this mod within another mod is very easy. For example, to give a consumable food serving a given amount of hydration you add the following into a mixinto:
{
"components": {
"watermod:consumable_hydration": {
"hydration": 3
}
}
}
Or if you want to make anything into a well just add the following into a mixinto:
{
"components": {
"watermod:well" : {
"rate" : 1.5,
"range" : 4,
"min_water" : 0,
"max_water" : 50
}
}
}
Screenshots
Downloads
v0.7.0: watermod_0.7.0.smod - Google Drive
v0.6.0: watermod_0.6.0.zip - Google Drive
v0.5.0: watermod_0.5.0.zip - Google Drive
v0.4.0: watermod_0.4.0.zip - Google Drive
v0.3.0: watermod_0.3.0.zip - Google Drive
v0.2.0: watermod_0.2.0.zip - Google Drive
v0.1.0: watermod_0.1.0.zip - Google Drive
Console Commands
Syntax: X Y Z Volume R G B
call watermod:create_water_body 1 2 3 20 255 100 100
Syntax: X Y Z Rate R G B
call watermod:create_spring 1 2 3 2 28 191 255
Syntax: X Y Z Rate
call watermod:create_sinkhole 1 2 3 32
Example World
v0.2.0: water_testing_world_0.2.0.zip - Google Drive
Notes: This save for v0.2.0 already has a spring, sinkhole, wells, and a thriving town setup for you to test with.
Known Issues
- Log is getting spammed with “horde.general | Adding Debug Shape node ‘edge_node’”. Still trying to figure out why the water and waterfall renderers are causing this
- Water that spreads out over a surface doesn’t ever go away … yet.
- Hearthlings aren’t drinking from open water bodies