Project Zomboid

Project Zomboid

390 ratings
Plumbing Expanded
13
3
6
4
2
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
806.071 KB
Jan 13 @ 1:01am
Apr 7 @ 7:57pm
77 Change Notes ( view )

Subscribe to download
Plumbing Expanded

In 1 collection by Lightja
Lightja's B42 Bug Fix Collection
8 items
Description
42.3.0 status update - Vanilla plumbing is fixed. There are still a lot of improvements the mod makes and I plan on expanding plumbing further, so I will continue development on the mod.

Latest mod version: 42.7.0a (advanced) (b42)

New Features:
  • easier & more flexible collector positioning
  • all connected barrels (up to 9, from 1) drain equally
  • adds placement helpers
  • Removes z-height restriction on collectors (previously 1 level) Works on B41!!!
  • Integrates the new fluid system with plumbing, and enables mixing fluids via plumbing
  • optional advanced features require building physical pipelines and enables connecting sinks laterally.

FAQ:

Does this work on existing saves?
Yes

Is this compatible with mod X?
Probably not, unless its my mod or it specifically says so. Any existing mod that interacts with water objects will be using the old fluid system, and my mod converts everything to the new system. Your best bet for compatibility with other most other mods that interact with water (particularly at sinks/showers/baths/toilets) is to use the base plumbing.
Update: build 42.4.1 forces mods to use getFluidAmount() instead of getWaterAmount(), which means you might start to see more mods be compatible with mine, since getFluidAmount() works on containers plumbed by this mod, but not getWaterAmount().

How to use mod?
  1. Find sink
  2. Wait for water outage
  3. Build/place a rain collector barrel or crate in one of the tiles in the 3x3 grid directly above the sink, or in the 3x3 grid around the first outdoor tile found directly above the sink.
  4. Right click sink -> Plumb Sink
  5. Wait for rain.
  6. Right click sink -> show info to see Fluids UI panel showing the water flowing from barrel to sink.
  7. Optional: Right click pipe wrench to access plumbing options for optional features

The mod isn't working? Here are some things to check:
  • Ensure the mod is active on your save. If you are applying the mod to an existing save, you have to add the mod via the "Load" option (rather than Continue) and then "Choose Mods" under "More Options" - a common mistake is to only enable the mod on the front page, which doesn't apply to existing saves, only new ones.
  • Read the changenotes and verify the version in the Author field of the mod page matches the last changenote version.
  • Check the comments for people working through similar issues.
  • Try a new save. This isn't meant to be a solution, but knowing if this fixes the issue will be helpful.
  • Reinstalling the mod can sometimes fix issues that are unique to your situation if nobody else is having a similar issue.
  • If none of that works, you can upload your debug log to pastebin.com and send me a link in the comments. Also an imgur link to a screenshot of your setup. The default windows location for your debug log is
    C:\Users\Lightja\Zomboid\Logs\2025-02-03_00-25_DebugLog.txt
    the windows user (Lightja) and actual filename (due to the date) will be different.
  • If you can get me as much of the information above as possible, and a list of all the other mods you're using (if any), I'll do my best to help try and solve your problem.

New collector search method (searches higher!)
  • searches each 3x3 grid directly above the sink until it finds a collector or a 3x3 grid with no floors.
  • The sink is NOT required to be indoors.
  • Any valid collector placement will automatically be used as a valid collector for any plumbed sink
  • Multiple barrels per sink or sinks per barrel are permitted.

New features: more details
  • Plumbing sinks creates a new fluid container object and attaches it to the sink
  • If you have a pipe wrench equipped, but no barrels placed (or placed incorrectly), you can activate the placement helper by right clicking the sink to create temporary holograms on the roof to help you determine proper barrel placement.
  • Attached collectors drain into plumbed sinks at an even rate. Use this to your advantage to make fluid mixtures with specific proportions.
  • New Show Info / Transfer Liquids UI works and updates in realtime when refilling from plumbed containers. "Open" slider indicates flow rate and is purely visual.
  • If you have a pipe wrench, you can see the Plumb option pre-water shutoff to convert containers to the new fluid system, but they will need barrels to refill after the water goes out.
  • Properly transfers mixed fluids, so now you can finally have the soda, whiskey, tea and/or milk sink you've always wanted.
  • Showers (in addition to baths) can now be plumbed
  • Combo washing machine + Dryer now automatically starts a dryer cycle once the wash cycle finishes.
  • Tabletop dispensers (Bar taps and soda/coffee machines) can have a fluid container container added via right click with a pipe wrench. This is to add variety and give an appropriate fluid containers for specific drinks.

Known Issues/limitations:
  • For optimization reasons, it only updates when you check the sink, so you won't see your barrel drain immediately until you go check the sink.
  • After game updates, some players report needing to pickup and replace the sinks and/or collectors to re-plumb.
  • Pre-plumbing washing machines cant clean rags (Vanilla b42 issue)
  • Drink context menu option always appears regardless of thirst (Vanilla b42 issue)

WIP Plumbing expansion:
  • If you want to keep everything vanilla, there will be an option to disable all menu options related to advanced plumbing.
  • item requirements: metal or lead pipes required to build pipe world objects that will be need to be built to connect the sink to collectors.
  • water filter item requirement: require water filter item to enable filtration of purified water. Multiple options would be installed either on the sink or the pipeline itself. Will balance to avoid making this tedious.
  • water filter uses: water filter is used up after X units of water filtered, varying by type and other factors.
  • Horizontal piping: add buildable pipe that can connect sinks on the same level and valves + sprinkers to water crops

Workshop ID: 3406674803
Mod ID: b42plumbingfix
Mod ID: b41plumbingheightlimitremoval (b41)
Popular Discussions View All (3)
9
Feb 10 @ 4:08am
Plumbing Leak?
Giant Space Hamster
2
Apr 18 @ 3:27pm
b41 version resets plumbing state after leaving chunk/restart game
marshmallow justice
2
Feb 14 @ 5:32pm
Filling Containers Causes Error
Skalding Beanwater
724 Comments
Stage Apr 21 @ 2:12pm 
I just love this mod, especially the washer/dryer-feature!
Do you think you could do something like the Plumbing-Mod for B41, e.g. hook up some pipes with a pump and the whole building/floor gets water?
Malpelo Apr 21 @ 1:39pm 
Edit: It actually works. It was a cleaning liquid that was standing next to the sink that was causing the bug. It displayed options for the bottle instead of the sink.
Malpelo Apr 21 @ 1:30pm 
Works for me, except for "Chrome sink" tile. Instead of "Plumb chrome sink" it says: "Plumb 1%" and after I plumb it I can see the fluid options and that it fills during a rain, but I can't use this sink for washing or drinking.
Mad_Man_Mcgraw Apr 18 @ 10:41pm 
Something's up with this mod. It wouldn't recognize water in the barrel, and if you tried to fill a container, it would just repeat the fill animation without actually filling it. Disabling this solved it.
pa1ne Apr 16 @ 1:52am 
Hi. Your mod works well exept for my toilet. It has water flow and is full with water tho you cannot use it. It just says not enough water. You know a fix for this? Thank you
Твикс с хлебом Apr 11 @ 12:30pm 
doesn't work, error while right click to open interract menu
Humanista Apr 10 @ 7:04am 
Ok, I guess I was not aware of the functionality.
So to pipe laterally, you need multiple sinks or similarly target containers adjacent to each other, right?

So it does not connect the source containers (IE Roof Barrels) to equalize them all?
It would be a big help if it did because my roof is huge and the washer machine is thirsty.
Moja Apr 8 @ 2:46pm 
Slider is still not working for me - it is fixed at 3% and i cannot change it
Frazer3663 Apr 8 @ 12:45pm 
Hello everyone. I did everything according to the instructions, I right-click on the sink, but the menu for connecting water from the barrel does not appear. I connected the mod to an existing save. The latest version. Can you help me?
这游戏咋玩啊 Apr 8 @ 1:43am 
i'm not sure if any other variables are needed on serverside, but by far i only encounter this. Just mentioned that in case we have official mp in the future.