Project Zomboid

Project Zomboid

[B42] WaterPipes (Irrigation Pipes)
50 Comments
angelpinayav 9 Jul @ 4:27pm 
actualizate por favor T_T T_T
yashoku.shade 4 Jun @ 4:22pm 
Agreed sad day when this mod stops working. in B42 I can't get the pipes to work on a rooftop garden. They did for B41.
Tasolth 29 May @ 4:52pm 
Sad day when this mod stops working... now I gotta manually water my farm or wait for rain.
JT1527 26 May @ 8:07am 
Also to note, when i disabled the mod, the pipes in my inventory and the new pipes placed disappeared, but the pipes that broke / got bricked stayed in the game.
JT1527 26 May @ 8:03am 
Something happened with the mod when i went debug mode and added in more mods- completely broke the tiles they were on, along with all my rain collector barrels. i no longer had the option to 'Remove Irrigation Pipes'. I was able to place new ones, and the new ones had the ability to be removed

when i destroyed the old pipes, it kept throwing an error.
Toggle 24 May @ 3:43am 
Commenting to say the mod is a bit finiky to use. It worked fine before the update but since then it wont allow me to place pipes on dirt tiles or any tiles that aren't outside my greenhouse.
Fernanmonster 21 May @ 1:01am 
It no longer works, in the boxes where I have installed the pipes it does not allow me to plant
Victor Delacroix 7 May @ 5:42am 
In my game, I can place the pipes almost anywhere but a dirt floor block I have placed in my yard even though I have rain collector barrels with water and furrows with seeds in them nearby.
JoJoTankGaz 23 Apr @ 5:20am 
it don't really works anymore have test it :(
Redacted 22 Apr @ 3:37am 
I wonder when people start to realize what 'port' means. Instead of asking someone to add gasoline and vertical pipes etc.
ghost 21 Apr @ 7:45pm 
Is this working despite the errors? Or should I just remove it
ossie 21 Apr @ 4:59am 
the multiple barrel connection seems to not work, it doesn't equalize the water level across all of the barrels.

I have the barrels connected with them towards the pipe so they "connect" and i also tried with it next to the pipe but not visually "connected"
megahero60 9 Apr @ 4:35pm 
whelp still great option to combo with that new drain pipe mod, thank you it is annoying to check every plant if not needed for water.
lemonandtea101 8 Apr @ 10:50am 
FYI If you are confused like I was, do not use the "Place Item" function to lay irrigation pipes. Right-click with irrigation pipes in your inventory and it will open a dropdown menu to place the pipes. :)
Maks_Pr0 14 Mar @ 4:48am 
In multiplayer we have a problem: Server and new player have different versions of mod. But we downloaded it only in one moment.
Mad Data Scientist !PC 14 Mar @ 1:07am 
in b41 there was also a mod that added vertical pipes. could use that one as well :)
Racoon 11 Mar @ 4:24am 
can I just use this to connect between barrels to fill up equally? since my toilet and water sink is too far away from each other
z0ntir 8 Mar @ 12:35pm 
ca you make it work with gasoline? to maintain a generator always filled
OIOIOI 5 Mar @ 2:49pm 
this mod needs update. it never really works for me. the plants received no water. and the rain barrel seems to have 0 water every time I restart the game. The irrigation pipe can't be placed on all tiles. for example, if I put dirt on concrete the pipe can't be placed down.
taeyang24 4 Mar @ 10:33am 
@秋风之墩 Thx, bro!!
秋风之墩 4 Mar @ 4:51am 
1. Find and open file: ↓
\SteamLibrary\steamapps\workshop\content\108600\3405984718\mods\WaterPipes\42\media\lua\server\BuildingObjects -> zpipe.lua

2. Find and change code: ↓
local specialObjectsAllowed = 0; -> local specialObjectsAllowed = 1;

3. It can now be built on farmland!:steamhappy:

This is a temporary solution.
秋风之墩 4 Mar @ 3:42am 
1. Find and open file: ↓
\SteamLibrary\steamapps\workshop\content\108600\3405984718\mods\WaterPipes\42\media\lua\server -> WaterPipe.lua

2. Find and change code: ↓
local waterToRemove = waterNeeded * 1.5; -> local waterToRemove = waterNeeded * 0.02;

3. Water consumption returns to normal!:steamhappy:
ChiefOMW 10 Feb @ 12:57pm 
I am too. Placing pipes seems bugged in certain areas. I can't figure out what's causing it.
JPinkm4nn 5 Feb @ 11:46am 
Hey I'm having trouble laying irrigation pipes over floors built using carpentry,
Bobatron 4 Feb @ 2:15pm 
How do I transfer the liquids? I've placed the irrigation piping next to the barrels but when clicking collector, no pipe or container appears to 'transfer the liquid' as you said
Slawo 3 Feb @ 2:17am 
Compared to the original, this one only allows me to place the pipes on grass tile, floor and dirt tiles I cant place pipes on...
papanancho 28 Jan @ 7:43pm 
`attempted index: pipes of non-table: null
function: loadPipe -- file: WaterPipe.lua line # 101 | MOD: [B42] Drip Irrigation
function: LoadGridsquare -- file: WaterPipe.lua line # 127 | MOD: [B42] Drip Irrigation
java.lang.RuntimeException: attempted index: pipes of non-table: null

`
Vasakot 27 Jan @ 8:47am 
irrigation consumed 550 liter in 3 day while crops still became dryer
RyanFinn 27 Jan @ 2:37am 
i get a lot of these
`attempted index: pipes of non-table: null
function: loadPipe -- file: WaterPipe.lua line # 101 | MOD: [B42] Drip Irrigation
function: LoadGridsquare -- file: WaterPipe.lua line # 127 | MOD: [B42] Drip Irrigation
java.lang.RuntimeException: attempted index: pipes of non-table: null
at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1667)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:479)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:173)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1963)
at se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1790)
at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:66)
at se.krka.kahlua.integration.LuaCaller.protectedCallVoid(LuaCaller.java:139)
chicken 19 Jan @ 5:12am 
My crops doing well... Irrigation is the future!
Fenrir 18 Jan @ 7:01pm 
The update broke something fundamental to the point it can currpt saves/causes crashes. I would recommend against using it atm.
Rachel L 18 Jan @ 3:27pm 
@x1loks[on] The mod description might not, but if you look at the recipe icons, it will have a table icon. that shows it needs surface.
x1loks[on]™ [Soma] 18 Jan @ 2:43pm 
I finally figured out how to craft those pipes. The mod description doesn’t mention that a workbench is required for crafting, and I couldn’t find the recipe because it was listed as '??????' in the game due to broken localization files.
The localization is actually broken (with '???' instead of words in the files), and simply changing from ANSI to UTF-8 won’t help.
Rachel L 18 Jan @ 5:08am 
You need a iron pipe, a screwdriver and a hammer. Then open the crafting menu and it search for pipe. It should appear
x1loks[on]™ [Soma] 18 Jan @ 3:00am 
I don't understand how to craft pipes; I can't find the recipe in either the crafting menu or the building menu.
Fenrir 17 Jan @ 3:31pm 
Oh sorry yeah i found the "issue" there was a pipe "half" build that drew endless water. after i replaced it it worked (found it because the plants after it dried out)
Randy Lahey 17 Jan @ 10:19am 
Hey, I've build a water base and I cant place the pipes on any floor I made (player-made surface), I can place them on water, regular ground and sand, but not on my wooden floor or dirt I've moved
PrDatur  [author] 17 Jan @ 9:23am 
"Ryuk 15. Jan. um 16:32 Work on saved game ?" yes
"Fenrir Vor 17 Stunden It seems to always drain all barrels to 0? But it still waters the plants Oo" the "logic" how it will water is not changed or let me say overthinked, i only fixed some issues and (for me) cleaned up the code a bit.
S7 17 Jan @ 8:11am 
Even if it won't water while I am away its still good for watering time :)
Cool mod
Fenrir 16 Jan @ 3:48pm 
It seems to always drain all barrels to 0? But it still waters the plants Oo
Ryuk 15 Jan @ 7:32am 
Work on saved game ?
Redacted 14 Jan @ 5:57am 
Need any specific plumbing fixes?
秋风之墩 14 Jan @ 12:20am 
Awesome and thank you for your efforts. :steamhappy:
Find one error : Placing irrigation pipes in some places, after a period of time, will cause an error and will be automatically deleted...
PrDatur  [author] 13 Jan @ 10:51am 
It is impossible to retrieve barrels while out of streaming range, in case of that, i have fixed the error message. but it will NOT watering plants if you are not in range of the barrel. Sorry I tried to get the barrel with other methods, without luck.
PrDatur  [author] 13 Jan @ 7:23am 
Currently there is a bug, it only works if you are near the barrel / pipes. I'm working on it.
Cookies 13 Jan @ 7:07am 
hey man, would it be possible to port a mod? Is made by someone else... but he has not replyed at all. Is about the spear trap mod.

If u can do it, the whole PZ community will appreciate. thx
Omni 12 Jan @ 9:36pm 
Hope this works! Thanks for porting it to B42!
Revenant Adam 🥇 12 Jan @ 9:24pm 
@Rachel L, I will restrain from adding it to my save for the time. Tell us your feedback once you have tested it!
Rachel L 12 Jan @ 2:24pm 
Lets see if this will work because this will be a life saver