Project Zomboid

Project Zomboid

439 ratings
[B42] Functional Gutters
3
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
880.876 KB
6 Mar @ 12:05am
18 Jul @ 10:37pm
9 Change Notes ( view )

Subscribe to download
[B42] Functional Gutters

Description
Realistically harvest rain water from a building's roof by connecting a container to the gutter's drain.

Tap into existing gutters or build your own custom gutter system using a variety of new craftable gutter pipes.

FAQ

Can this mod be safely added mid-save?
  • Yes, but it will not change any already existing collectors that happen to be placed on a gutter tile.

Can this mod be safely removed mid-save?
  • Yes, but any existing collectors on a gutter tile will keep their increased rain factor.

Do gutter collectors work indoors?
  • No, currently they still require being outdoors without a covered overhead tile.

What can I connect to the gutter
  • All vanilla rain collectors, troughs, and the amphora are supported. Additionally, any modded entities that use the game's FluidContainer system should work out of the box such as the Useful Barrels mod.

Does this work for build 41?
  • This mod relies on systems introduced in build `42.4+` and will not function in build `41`.

How To Use
  1. Build/place supported collector on the same tile as a gutter drain. Either tile works for multi-tile troughs.
  2. Open the context menu by right-clicking on the collector.
  3. Find the "Gutter Drain" submenu and select the "Connect" option. Requires a pipe wrench unless turned off in mod settings.
  4. Enjoy the benefits of a highly-efficient rain collector system.

Pre-Existing Structures
Pre-existing structures already have roof gutters meaning you won't have to build your own. To tap into these roof gutters, you will either need to find a building with an existing drain pipe or build a new drain pipe.

On its own a drain pipe will reach the next level above. Additional vertical pipes can be built on top of the drain pipe to access roofs on higher floor levels.

Player-Built Structures
Unlike pre-existing structures, player-built structures will require horizontal gutter pipes to expand the size of the roof's area being covered by the drain pipe. Each gutter pipe can collect rain from up to 4 grid-squares from its attachment point in a line. A roof square will be considered valid if it has a floor, isn't covered by a roof, and isn't occupied by an item such as a rain collector.

Use the "View Pipes" and "View Roof" buttons in the gutter ui panel to help visualize the connected pipes and covered roof area.

Mod Settings
Options -> Mods -> Functional Gutters

Option
Description
Roof Rain Factor
The rain factor for a single square of roof which defaults to 1.0.
Require Pipe Wrench
If true, requires a pipe wrench to connect/disconnect containers with a gutter.
Debug Mode
If true, prints debug messages to the console and adds an additional context menu option. *Requires Restart


View on github for more information [github.com]

Workshop ID: 3439305933
Mod ID: FunctionalGutters
Popular Discussions View All (2)
14
18 Jul @ 10:51pm
Bugs & Issues
Mancer
0
12 Mar @ 1:59pm
Mod Compatibility
Mancer
66 Comments
Satoru Gojo 6 hours ago 
@Mancer Thanks you for the info, i'm starting a playthourgh rn so i'll tell you if there is something off
Mancer  [author] 11 Aug @ 6:51pm 
Noticed a comment in the mod page for [B42] Water Pipes (aka Plumbing) that suggested there is a conflict between these two mods.

I've done some quick testing with just these mods loaded and haven't experienced any issues myself. If you happen to be running these mods together and do run into issues, any details would be much appreciated!
Mancer  [author] 23 Jul @ 10:11pm 
@Sykomyke

Really appreciate the kind words!

@Inverspe
Both flat roofs and slanted roofs should work for pre-existing houses.
Inverspe 23 Jul @ 9:51pm 
does this work with on flat roofs? like slanted ones from pre existing houses
Sykomyke 19 Jul @ 10:50am 
Just wanted to say this looks like a great high quality mod that realistically meshes with the existing systems of PZ while improving on the survival aspects. Kudos mate! Also, as an aside I appreciate seeing a modder who just mods for enjoyment and doesn't beg for money or recognition in their mod description like so many others do!

I hope that the devs see this and incorporate the mechanic into the base game!
Mancer  [author] 18 Jul @ 10:45pm 
1.3 update:
- Much improved pipe & roof mapping
- Reduced restricted zone radius when building new drains near existing drains from 6 to 3
- Updates to match changes in vanilla animal trough definitions from 42.10

@JT1527
Update should hopefully fix some of the issues you've reported
Mancer  [author] 9 Jul @ 12:21pm 
@JT1527

Thanks for reporting an issue.

The drain section count represents the 'optimal' number of drains attached to a given area of roof for each drain to work at 'max' capacity. A analogy would be a pie representing the roof area and the drains representing a slice of the pie. The more drains added, the smaller each slice becomes.

This system works in the majority of simple cases but it seems like you might have run into a scenario that doesn't play well with the current version of it.

I'll investigate and see if I can reproduce the error. If possible, posting a screenshot of your roof barrels setup in the Bug & Issues discussion would be really helpful!
JT1527 9 Jul @ 8:03am 
Currently running into an error:
My ground floor rain barrel (for agriculture) throws up errors after i installed a new setup on my roof

I placed 3 rain barrels on sinks, bathtub, and washer. I created a small roof+gutter system (with poles) for each rain barrel. and now the ground floor no longer works.

The UI says Drain Sections 3/1 and is red. why are there a minimum amount of drain sections? is there a way i can add more drain sections?
Mancer  [author] 9 Jul @ 12:04am 
@VinnieTheGuy

I appreciate it!

@Cannon Fodder
Yeah pipes & gutters can only be built on the "north" and "west" faces currently. Most vanilla wall decorations behave in a similar way due to the isometric perspective.
Cannon Fodder 8 Jul @ 8:39pm 
So these can't be used on the backside of buildings then...?