Mods / Sprinklers
Author: Jan5676
Side: Both
Created: Oct 14th at 4:13 PM
Last modified: Nov 25th at 1:09 PM
Downloads: 3133
Follow Unfollow 120
Recommended download (for Vintage Story 1.21.1 - 1.21.5):
sprinklersmod_1.0.2.zip
1-click install
Description
This mod adds sprinklers of varying tiers to automate watering farmland.
Currently available tiers 1 through 4. Placing a sprinkler won't do anything immediately but when filled with water they will periodically activate and water all fields in a set radius, depending on their tier. Once they reach an average moisture threshold of about 95% they will stop until watering is necessary again (that is when falling below 85%).
Please open an Github issue for any bugs you might encounter while playing with it.
You can submit feedback here: https://www.vintagestory.at/forums/topic/17909-sprinklers-mod-feature-requests/
To use this mod, it needs to be installed on server and client side. For now this mod will most likely be compatible with each subversion of 1.21.
The Sprinklers
The sprinklers are split into 4 Tiers (with the last one being more of a bonus for people who want to go the extra mile), each with 6 variants. Those are: Copper, Tin Bronze, Bismuth Bronze, Black Bronze, Brass and Lead. Crafting a sprinkler as one of the variants will require the upgraded Tiers to also use the same material. The Variants offer no advantage over each other and exist just to add visual variety. To be able to craft the Brass and Lead sprinklers, rods, as well as nails and strips have been added for the corresponding material.
Tier 1 - Range 2 Blocks, Tank size 20 Liters, crafted with 1 Rod, 8 Nails and Strips, 2 Rusty Gears, 1 Bucket
Tier 2 - Range 4 Blocks, Tank size 40 Liters, crafted with 1 T1 sprinkler, 12 Nails and Strips, 4 Rusty Gears, 1 Bucket
Tier 3 - Range 6 Blocks, Tank size 60 Liters, crafted with 1 T2 sprinkler, 12 Nails and Strips, 1 Temporal Gear, 1 Bucket
Tier 4 - Range 8 Blocks, Tank size 100 Liters, crafted with 1 T3 sprinkler, 8 Metal Parts, 3 distinct Jonas parts*, 1 Barrel
*Those parts being: Jonas sub-assembly (A difference gear assembly), Jonas part (parallel transfer vessel), Jonas sub-assembly (Finely balanced Oscillator)
There's also downwards facing sprinklers for your fancy industrial looking greenhouses. Those are made by putting any sprinkler into the crafting grid. Once upside-down they can also be reverted to normal by putting them in again. Putting them on a ceiling, you can adjust their vertical range by right clicking on them with your hands. This will toggle their range from 3-6 Blocks below them. This choice was made as switching from a square to a cube area would significantly reduce performance per sprinkler placed.
Other Stuff
Configuration
- tXSprinklerRange - Determines the watering radius for the corresponding Sprinkler tier (default 2, 4, 6, 8 respectively)
- tXSprinklerVolume - Determines the Tank size foor the corresponding Sprinkler tier (default 20, 40, 60, 100 respectively)
- waterConsumption - Multiplies the water consumption per activation. Formula: 0,1 Liters * waterConsumption (default 1)
- minIntervalInMillis - Defines a base value for how often (in milliseconds) the Sprinklers should activate. To prevent lag, each Sprinkler will be added up to 5 seconds of random delay on top of this value. (default 10.000, very much recommended)
Don't forget to adjust these config values on client and server if you want to change them, otherwise there will be visual issues.
Known Limitations
- Due to the random nature of the sprinklers activations, there might be a delay of up to one activation between the server and the clients. For now I haven't found a better way, but this shouldn't be much of an issue as the sprinklers are more of a set and forget type of item.
- The sprinklers will NOT work with timeskipping or fastforwarding of any type. Running /time add 10000 WILL kill your crops. Also they won't run while their chunks aren't loaded. Maybe I will adress this in the future.
- I have tried to make this mod as performant as I could. I tested up to 500 sprinklers running at once. Still I wouldn't recommend recklessly adding large amounts sprinklers into your world. At some point it will most likely affect performance.
Currently featured languages
- German
- English
- Russian (Translation done by "Vaaataaa", thank you very much)
If you want to add your language to the mod, please open a Github MR with the branch name "xyzLanguage" and I will review it. Alternatively you can also DM me directly in the Vintage Story forum and send me the translated script there via chat. I will mention you here as a contributor in that case. The english translation file as a baseline can be found in the Github repository at https://github.com/Jan56765/VS_Sprinkler_Mod/blob/main/SprinklersMod/assets/sprinklersmod/lang/en.json (Please remember to put line breaks at the appropriate places for the handbook entry)
FAQ
- Which Fluids can I use for filling my Sprinklers?
- Currently these fluids are supported:
- Vanilla game
- (Fresh) Water
- Hydrate or Diedrate
- Well Water
- Rain Water
- Vanilla game
- Currently these fluids are supported:
- Which containers can I use for filling my sprinklers?
- You can use a Watering Can, as well as any item which counts as a fluid container code wise. This includes buckets, jugs, bowls and any modded containers that can hold water.
- After an update of the mod the game randomly crashes.
- This might happen because of removed sprinklers which try to initialize animations even though they don't exist anymore in the world. In that case, uninstall the mod, load your world once, save and quit and then reinstall the newest version.
| Mod Version | Mod Identifier | For Game version | Downloads | Released | Changelog | Download | 1-click mod install* |
|---|---|---|---|---|---|---|---|
| 1.0.2 | sprinklersmod | 445 | Nov 25th at 1:09 PM | sprinklersmod_1.0.2.zip | 1-click install | ||
|
Changed the following:
| |||||||
| 1.0.1 | sprinklersmod | 511 | Nov 14th at 9:13 PM | sprinklersmod_1.0.1.zip | 1-click install | ||
|
Added russian translations | |||||||
| 1.0.0 | sprinklersmod | 1064 | Oct 25th at 10:18 AM | sprinklersmod_1.0.0.zip | 1-click install | ||
|
1.0 Release of the Sprinklers Mod. This adds some more polishing as well as the last missing features mentioned on my forum post. Changes:
*Sprinklers not requiring a solid ceiling or ground IS intentional to make the easier to work with in conjuction with chisel constructions. | |||||||
| 0.9.4 | sprinklersmod | 613 | Oct 19th at 6:28 PM | sprinklersmod_0.9.4.zip | 1-click install | ||
|
Changed the following:
| |||||||
| 0.9.3 | sprinklersmod | 223 | Oct 18th at 12:45 PM | sprinklersmod_0.9.3.zip | 1-click install | ||
|
Fixed some client server stuff when filling sprinklers where other players couldn't immediately see the change in the amount of water in a sprinkler (only after the next activation) | |||||||
| 0.9.2 | sprinklersmod | 129 | Oct 17th at 10:31 AM | sprinklersmod_0.9.2.zip | 1-click install | ||
|
Changed the following:
IMPORTANT: As this is a pretty major change, to prevent breaking your world from ghost blocks, PLEASE remove all sprinklers before you upgrade to the newest version. If you still got issues, refer to the FAQ. | |||||||
JaxsonBright I could not find that mod. Could you link it for me and tell me which features you mean specifically?
Would it be possible to make these work with the Aquaducts Mod? if they don't already?
Jan5676 Installing now. Thanks!
Z4CKZ33D Mesita Please check the newest version of the mod, they add changes/fixes mentioned in your comments.
Jan5676 No I'm not.
Thank you. It’s an excellent mod, it saved me a lot of time. Before, I used to run around with a watering can every day during the summer months.
Z4CKZ33D I think I found the issue. Are you using the Hydrate od Diedrate mod? This seems to override the action in some way.
Mesita Alright, that seems simple enough, I will have a look at it.
PeachyPotato Working on a functionality compatible with pipes is a lot of pain, so unfortunately I'd say no (At least for now, maybe I'll get another surge of motivation in the future regarding the water tower idea). If someone wants to add this feature himself, you can always open a PR/issue on the Github page.
could we maybe get pipes and maybe a pump compatible with electrical progressive core, or perhaps a water tower to take advantage of gravity?
The water types are Rain Water and Well Water.
There's also other types of water in the the mod, but they wouldnt be realistic for crop growth.
Thank you for the quick reply!
Mesita I didn't know of the mod beforehand, so no. Which items/water types from the mod would this include?
Does this mod work with hydrate or diedrates different water types?
@Z4CKZ33D That's weird, it should work though. Can you please try the following things?
If that still doesn't work, I'd suggest deactivating some of your mods.
Small issue here; I can't dump a whole bucket (10L) into a sprinkler at once. Is it just me or has anyone else experienced this?
I'm playing on 1.21.5 together with several other mods.
Edit: Watering cans work though, it's just buckets atm.
Sleeves Well you're probably not gonna believe this, but they exist already! All you need to do is put a normal sprinkler in the crafting grid and boom, it's upside down. The handbook describes them in a bit more detail. (v1.0+ only)
Thanks for the cool mod! Perhaps some overhead sprinklers (as in hanging from the ceiling) could be added if the codebase permits? :-]
This makes me wish we could use chutes to transport water and use a screw to push water up into the sprinkler, rather than gating behind tiers of metal it could just be gated by power provided for the same effect.
I've released v1.0. From now on, I still intend to make changes to the mod but in a less breaking means than before. Unless otherwise stated, updates from v1.0 onwards should be safe to upgrade.
I pushed a new version of this mod. PLEASE, if you upgrade from 0.9.1, it is VERY important to read the changelog!!!
Jan5676
What I would do is add lead as a lower tier. In the vanilla game, few things are crafted with lead, and it would be nice to have more uses for it. I'll leave it as a suggestion.Hey, first of all thanks for the feedback. There are some very interesting ideas I will probably touch on.
I initially made this mod as a little fun side project for my GF, who complained to me that there are no sprinklers like in Stardew Valley (and seriously, why isn't something like this a vanilla feature) So basically she would just be running around watering all the fields by hand and complaining the entire time. Now it's done and I see you noticed the mod being a bit rough about the edges. Changing the sprinkler types, as a warning, WILL result in your previously placed sprinklers to become invalid (thus, a beta, don't feel bad cheating the new ones in once they're finished) Other than that, I will open up a forum post to attach this mod to so you can put your feedback and feature requests there, this will help keeping this comment section a bit cleaner. I will address the currently posted stuff there, you will find a link to it in the description soon.
Keep in mind, I am a solo dev doing this as a little fun side project. This means, I simply can't do everything that is requested (because of time AND knowledge (and missing documentation)). However, since its inception I really liked this mods idea and am willing to develop it further than I originally anticipated. Currently, if anyone wants to make a better model + animation for the sprinklers, I will thankfully take those. In that case, please DM me in the forum if you have a concept/realized model. Mine, to be perfectly honest, looks like a programmer placeholder at best :D
Cannot for the life of me figure out how to get the water in them. Bucket isnt working, jug isnt working. Possible mod conflict or am I missing something obvious?
EDIT: Yep it was something obvious. Never thought to try the watering can.
configurable range? oooooo.....
no longer do I need to make water paths on my farms, saving rows and within the normal range of the greenhouses.
OOh piggybacking off of XyrVexus's idea, if you do implement a pump or connection to the water sprinklers, adding an option where the pipes can wear out to the point where they could clogg up which would need a wrench to get fixed/tightened to work again or something like that, but I love the concept!
One more critique/idea (I know some people don't like to hear it so tell me to shut up right away if so, no hard feelings) is to see if you can place these vertically from the ceiling :)
Love the mod and idea!!
This is a good one! To offer critiques, for realism I would like to see Copper, Bronze, and Brass used since these metals are all mostly interchangeable for the purpose; superior to iron or steel. Since sprinkler tiers are gated by gears, additional gating by metal type seems unnecessary. Also an option to have the sprinklers degrade over time would be cool down the road.
Could you patch this to work with Vintage Engineering mod so you need water pipes?
I wanted to make them a bit more valuable even though it might feel a bit "gamey" but I think it would make sense to add copper ones as well. They could act as the lowest tier of sprinklers with range 1. I was just thinking, they might be too expensive for the value they provide if they followed the same recipes like the other ones.
Uh, no copper? Curious decision considering most of your water pipes IRL are made from ... copper ... #mindblown