Project Zomboid

Project Zomboid

[B42] WaterPipes (Irrigation Pipes)
48 Comments
yashoku.shade Jun 4 @ 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 May 29 @ 4:52pm 
Sad day when this mod stops working... now I gotta manually water my farm or wait for rain.
JT1527 May 26 @ 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 May 26 @ 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 May 24 @ 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 May 21 @ 1:01am 
It no longer works, in the boxes where I have installed the pipes it does not allow me to plant
Victor Delacroix May 7 @ 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 Apr 23 @ 5:20am 
it don't really works anymore have test it :(
Redacted Apr 22 @ 3:37am 
I wonder when people start to realize what 'port' means. Instead of asking someone to add gasoline and vertical pipes etc.
ghost Apr 21 @ 7:45pm 
Is this working despite the errors? Or should I just remove it
ossie Apr 21 @ 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 Apr 9 @ 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 Apr 8 @ 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 Mar 14 @ 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 Mar 14 @ 1:07am 
in b41 there was also a mod that added vertical pipes. could use that one as well :)
Racoon Mar 11 @ 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 Mar 8 @ 12:35pm 
ca you make it work with gasoline? to maintain a generator always filled
OIOIOI Mar 5 @ 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 Mar 4 @ 10:33am 
@秋风之墩 Thx, bro!!
秋风之墩 Mar 4 @ 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.
秋风之墩 Mar 4 @ 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 Feb 10 @ 12:57pm 
I am too. Placing pipes seems bugged in certain areas. I can't figure out what's causing it.
JPinkm4nn Feb 5 @ 11:46am 
Hey I'm having trouble laying irrigation pipes over floors built using carpentry,
Bobatron Feb 4 @ 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 Feb 3 @ 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 Jan 28 @ 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 Jan 27 @ 8:47am 
irrigation consumed 550 liter in 3 day while crops still became dryer
RyanFinn Jan 27 @ 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 Jan 19 @ 5:12am 
My crops doing well... Irrigation is the future!
Fenrir Jan 18 @ 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 Jan 18 @ 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] Jan 18 @ 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 Jan 18 @ 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] Jan 18 @ 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 Jan 17 @ 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 Jan 17 @ 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] Jan 17 @ 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 Jan 17 @ 8:11am 
Even if it won't water while I am away its still good for watering time :)
Cool mod
Fenrir Jan 16 @ 3:48pm 
It seems to always drain all barrels to 0? But it still waters the plants Oo
Ryuk Jan 15 @ 7:32am 
Work on saved game ?
Redacted Jan 14 @ 5:57am 
Need any specific plumbing fixes?
秋风之墩 Jan 14 @ 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] Jan 13 @ 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] Jan 13 @ 7:23am 
Currently there is a bug, it only works if you are near the barrel / pipes. I'm working on it.
Cookies Jan 13 @ 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 Jan 12 @ 9:36pm 
Hope this works! Thanks for porting it to B42!
RevenantAdam Jan 12 @ 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 Jan 12 @ 2:24pm 
Lets see if this will work because this will be a life saver