Project Zomboid

Project Zomboid

443 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 (4)
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
747 Comments
The Canadian Jul 5 @ 3:34pm 
I can no longer plumb more than 1 story below.
VinnieTheGuy Jun 30 @ 3:29pm 
I can't poop with Lifestyles since the update this morning
onkelflorian Jun 25 @ 9:52pm 
yes for me too, i get an error when trying to start a washing machine, 9 water collectors 2 stories above.
https://pastebin.com/HLxW3LVv
nino Jun 7 @ 5:55pm 
@irrelevantredundancy For the moment it's best to avoid this mod, it's not currently being supported by the author, I'm one of the unfortunate ones that started a playthrough a while back and we're unable to remove this mod from it, otherwise every other mod on the save breaks.
magond Jun 7 @ 1:59am 
@irrelevantredundancy, Without this mod, you can connect the barrels to the sink as before. This mod first fixed the broken water system and then expanded it to make it more advanced. But now the author is not getting in touch at all. So you can safely play without this mod.
irrelevantredundancy Jun 6 @ 3:27pm 
Related question: Does anyone know if the mod All Plumbed Up has similar features to this one? It's been a while since I played. What features am I I losing without Plumbing Expanded enabled? Is this the only thing that allows us to attach a rain collector to a sink? What's the vanilla alternative?
irrelevantredundancy Jun 6 @ 3:09pm 
I am just starting my first new mod list / play through post Ragdoll Update [42.8] and I am getting some errors too. I just wanted to share them so everyone else has access and can reference them if they need to.

https://hastebin.com/share/ewexobigus.yaml
Existential Dread Jun 1 @ 9:42am 
Damn, mod broken.
F1tgal911 May 25 @ 12:05pm 
Same with the errors in b42.8.1.
magond May 23 @ 1:37pm 
@Lightja , Hello. I'm sorry to bother you, but I was wondering if you still support this mod? Can we expect fixes in the future for these annoying error reports? Thank you for your work.