Rain Collector Barrel: Difference between revisions

From PZwiki
mNo edit summary
m (Automated Formatting)
 
(45 intermediate revisions by 19 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Tiles|Plumbing tiles‎}}
{{header|The Game World|Tiles|Furniture|type=Furniture|version=Version 40|incver=43}}
{{Page version|41.78.16}}
{{Infobox furniture
{{Infobox tile
| display_name = Rain Collector Barrel
|name=Rain Collector Barrel
| name_colour = Carpentry
|model=RainCollectorBarrel1_Carpentry.gif
| name_text_colour = Carpentry
|icon=RainCollectorBarrel1_Carpentry.gif
| image = RainCollectorBarrel Carpentry.gif
|icon_name=Rain Collector Barrel
| image_width =
|model2=RainCollectorBarrel2_Carpentry.gif
| alternate_image = RainCollectorBarrel1_Carpentry.gif{{!}}64px
|icon2=RainCollectorBarrel2_Carpentry.gif
| alternate_name = Rain Collector Barrel
|icon_name2=Rain Collector Barrel
| alternate_link =  
|category=Furniture
| alternate_image2 = RainCollectorBarrel2_Carpentry.gif{{!}}64px
|weight=7.5
| alternate_name2 = Rain Collector Barrel
|size=1
| alternate_link2 =
| category =  
| weight = 7.5
| size = 1
<!--Properties-->
<!--Properties-->
| type =  
|type=Water source
| function = Store/Collect [[water]]
|function=Store/Collect [[water]]
| water_capacity = 80–200
|liquid_capacity=160
| freezer_capacity =  
|liquid_capacity_text=(level 1)
| fuel = <!-- or | energy = -->
|liquid_capacity2=400
| contents = [[File:WaterDrop.png|link=Water]] [[Water]]
|liquid_capacity_text2=(level 2)
|contents=[[File:WaterDrop.png|link=Water]] [[Water]]
<!--Build-->
<!--Build-->
| build_skill = [[Carpentry]]
|build_skill=[[Carpentry]]
| build_level = 4–7
|build_level=4–7
| build_tool = <small>[[File:Hammer.png|20px|link=Hammer]] [[Hammer]]<br>[[File:HammerStone.png|20px|link=Stone Hammer]] [[Stone Hammer]]</small>
|build_tool_tag=Hammer
| ingredients = <small>4 × [[File:Plank.png|20px|link=Plank]] [[Plank]]<br>4 × [[File:Nails.png|20px|link=Nails]] [[Nails]]<br>4 × [[File:Garbagebag.png|20px|link=Garbage Bag]] [[Garbage Bag]]</small>
|ingredients=<small>4 × [[File:Plank.png|20px|link=Plank]] [[Plank]]<br>4 × [[File:Nails.png|20px|link=Nails]] [[Nails]]<br>4 × [[File:Garbagebag.png|20px|link=Garbage Bag]] [[Garbage Bag]]</small>
<!--Move-->
<!--Move-->
| move_skill = [[Carpentry]]
|move_skill=[[Carpentry]]
| move_level = 0
|move_level=0
| move_tool = <small>[[File:Hammer.png|20px|link=Hammer]] [[Hammer]]<br>[[File:HammerStone.png|20px|link=Stone Hammer]] [[Stone Hammer]]</small>
|move_tool_tag=Hammer
<!--Disassemble-->
<!--Disassemble-->
| disassemble_skill = [[Carpentry]]
|disassemble_skill=[[Carpentry]]
| disassemble_level = 0
|disassemble_level=0
| disassemble_tool = <small>[[File:Hammer.png|20px|link=Hammer]] [[Hammer]]<br>[[File:HammerStone.png|20px|link=Stone Hammer]] [[Stone Hammer]]
|disassemble_tool_tag=Hammer
----
|disassemble_tool_tag2=Saw
[[File:Saw.png|20px|link=Saw]] [[Saw]]</small>
| products = <!-- or | product = -->
<!--Technical details-->
<!--Technical details-->
| class_name =  
|item_id=Movables.{TileID}
}}{{quote|text=Stockpile supplies before the water shut-off.|author=In-game description}}
|tile_id=carpentry_02_54
A '''rain collector barrel''' is a [[crafting|craftable]] [[water]] container.
|tile_id2=carpentry_02_54
}}
{{Quote|text=Stockpile supplies before the water shut-off.|author=In-game description}}
A '''rain collector barrel''' is a [[crafting|craftable]] [[water]] [[Containers|container]].


==Usage==
==Usage==
Rain Collector Barrels are used to collect rainwater, and take up one tile space. When it is raining, they will convert the rain into usable water. They are an alternative to the [[well]] in gathering water after the water works shut down. The collected rain water will be tainted and unsafe to drink and must be purified by boiling it in a heat source. The lesser collector requires level four [[Carpentry]] to build, and the bigger collector requires level seven Carpentry. The smaller collector stores enough water to fill four water bottles, and the large collector stores enough water to fill nine water bottles. If a rain barrel is placed on the tile above a sink in a building, the sink will function normally again, it will automatically filter the tainted water, however the filtering is a bug. One may need to offset the tile location by one to make the sink work.
Rain collector barrels are used to collect rainwater, and take up one [[tile]] space. When it is raining, they will collect the rain as tainted water that is unsafe to drink until boiled in a [[Heat Source|heat source]], although it can be safely used to [[Farming|water plants]], and wash clothing or yourself without needing purification. It may also safely store drinking water if kept indoors. They are an alternative to the [[well]] or a [[Water|body of water]], such as a river or lake, in gathering water after the waterworks shut down. A rain collector barrel can supply water to a [[Plumbing|plumbed]] tile, such as a sink. Water from plumbed sources does not need to be purified before drinking.


== Capacity ==
The smaller collector requires level four [[carpentry]] to build, and stores 160 units of water, while the bigger collector requires level seven [[carpentry]], and stores 400 units of water. There is also a [[metal drum]] barrel which can currently be found at the camp site around [[Louisville]] which holds 800 units. It is not (yet) possible to craft the Metal Drum without installing mods.
{| class="pztable sortable" style="text-align:center;"
 
|-  
(Note: Most buildings without roof access do not have roofs which are solid, meaning the player will fall through unless a [[Wood Floor|wood floor]] has been constructed underneath. It is advised that players use caution when constructing roof access to place water collectors. It is possible to check tiles using the “Walk To” function – the indicator is green where it’s solid, but red where the player will fall through.)
 
==Capacity==
{| class="wikitable theme-red sortable" style="text-align:center;"
|-
! Sprite
! Sprite
! Water units
! Water units
Line 55: Line 57:
|-
|-
| [[File:RainCollectorBarrel1_Carpentry.gif{{!}}64px|Small Rain Collector Barrel]]
| [[File:RainCollectorBarrel1_Carpentry.gif{{!}}64px|Small Rain Collector Barrel]]
| 80
| 160
| 8
| 8
|-
|-
| [[File:RainCollectorBarrel2_Carpentry.gif{{!}}64px|Large Rain Collector Barrel]]
| [[File:RainCollectorBarrel2_Carpentry.gif{{!}}64px|Large Rain Collector Barrel]]
| 200
| 400
| 20
| 20
|}
|}


== Crafting ==
==Crafting==
===Carpentry===
===Carpentry===
{{Main|Carpentry}}
{{Main|Carpentry}}
{{Crafting header|ing=4}}
{{Crafting/sandbox2
{{Crafting carpentry|308|ing=4}}|-
|rain_collector_barrel_small
{{Crafting carpentry|309|ing=4}}
|rain_collector_barrel_large
|}
}}
 
===Trivia===
*The quantity of liquid inside of these cannot be directly edited in admin mode on a multiplayer server.
 
==Code==
{{CodeBox|
{{CodeSnip
  | lang = java
  | line = true
  | start = 0
  | retrieved = true
  | version = 41.78.16
  | code =
local barrelOption = subMenu:addOption(getText("ContextMenu_Rain_Collector_Barrel"), worldobjects, ISBuildMenu.onCreateBarrel, player, "carpentry_02_54", RainCollectorBarrel.smallWaterMax);
local tooltip = ISBuildMenu.canBuild(4,4,0,0,0,4,barrelOption, player);
    -- we add that we need 4 garbage bag too
local garbagebag = ISBuildMenu.countMaterial(player, "Base.Garbagebag");
    if garbagebag < 4 then
tooltip.description = tooltip.description .. ISBuildMenu.bhs .. getItemNameFromFullType("Base.Garbagebag") .. " " .. garbagebag .. "/4 ";
        if not ISBuildMenu.cheat then
            barrelOption.onSelect = nil;
            barrelOption.notAvailable = true;
        end
    else
tooltip.description = tooltip.description .. ISBuildMenu.ghs .. getItemNameFromFullType("Base.Garbagebag") .. " " .. garbagebag .. "/4 ";
    end
tooltip:setName(getText("ContextMenu_Rain_Collector_Barrel"));
tooltip.description = getText("Tooltip_craft_rainBarrelDesc") .. tooltip.description;
tooltip:setTexture("carpentry_02_54");
ISBuildMenu.requireHammer(barrelOption)
}}
 
{{CodeSnip
  | lang = java
  | line = true
  | start = 0
  | retrieved = true
  | version = 41.78.16
  | code =
    local barrel2Option = subMenu:addOption(getText("ContextMenu_Rain_Collector_Barrel"), worldobjects, ISBuildMenu.onCreateBarrel, player, "carpentry_02_52", RainCollectorBarrel.largeWaterMax);
    local tooltip = ISBuildMenu.canBuild(4,4,0,0,0,7,barrel2Option, player);
    -- we add that we need 4 garbage bag too
    if garbagebag < 4 then -- garbagebag declared further up, no need to redeclare it here
tooltip.description = tooltip.description .. ISBuildMenu.bhs .. getItemNameFromFullType("Base.Garbagebag") .. " " .. garbagebag .. "/4 ";
        if not ISBuildMenu.cheat then
            barrel2Option.onSelect = nil;
            barrel2Option.notAvailable = true;
        end
    else
tooltip.description = tooltip.description .. ISBuildMenu.ghs .. getItemNameFromFullType("Base.Garbagebag") .. " " .. garbagebag .. "/4 ";
    end
    tooltip:setName(getText("ContextMenu_Rain_Collector_Barrel"));
    tooltip.description = getText("Tooltip_craft_rainBarrelDesc") .. tooltip.description;
    tooltip:setTexture("carpentry_02_52");
ISBuildMenu.requireHammer(barrel2Option)
}}
}}


{{clear}}
==See also==
==See also==
*[[Carpentry Guide]]
*[[Metal Drum]]
*[[Carpentry]]


{{Navbox/Construction}}
{{Navbox construction|carpentry}}


[[Category:Construction]]
[[Category:Construction]]
[[Category:Carpentry]]
[[Category:Carpentry]]
[[Category:Water Source]]
[[Category:Water sources]]
 
[[Category:Spiffo's Construction Crew (Project)]]
[[Category:Spiffo's Construction Crew (Project)]]
[[Category:Seat Yourself Furniture (Project)]]
[[Category:Seat Yourself Furniture (Project)]]

Latest revision as of 11:27, 14 April 2024

Project ZomboidTilesPlumbing tiles‎Rain Collector Barrel
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Rain Collector Barrel
RainCollectorBarrel1 Carpentry.gif
RainCollectorBarrel2 Carpentry.gif
[[File:{{{icon3}}}|Rain Collector Barrel|]]
[[File:{{{icon4}}}|Rain Collector Barrel|]]
[[File:{{{icon5}}}|Rain Collector Barrel|]]
General
Category
Furniture
EncumbranceMoodle Icon HeavyLoad.png
7.5
Size
1 tile
Function
Store/Collect water
Properties
Type
Water source
Liquid capacity
160 units (level 1)
400 units (level 2)
Contents
Build
Skill (level)
Carpentry (4–7)
Tool(s)
Ingredients
4 × Plank.png Plank
4 × Nails.png Nails
4 × Garbagebag.png Garbage Bag
Move
Skill (level)
Tool(s)
Disassemble
Skill (level)
Tool(s)
Technical
Item ID(s)
Movables.{TileID}
Tile ID(s)
carpentry_02_54 carpentry_02_54
Stockpile supplies before the water shut-off.
— In-game description

A rain collector barrel is a craftable water container.

Usage

Rain collector barrels are used to collect rainwater, and take up one tile space. When it is raining, they will collect the rain as tainted water that is unsafe to drink until boiled in a heat source, although it can be safely used to water plants, and wash clothing or yourself without needing purification. It may also safely store drinking water if kept indoors. They are an alternative to the well or a body of water, such as a river or lake, in gathering water after the waterworks shut down. A rain collector barrel can supply water to a plumbed tile, such as a sink. Water from plumbed sources does not need to be purified before drinking.

The smaller collector requires level four carpentry to build, and stores 160 units of water, while the bigger collector requires level seven carpentry, and stores 400 units of water. There is also a metal drum barrel which can currently be found at the camp site around Louisville which holds 800 units. It is not (yet) possible to craft the Metal Drum without installing mods.

(Note: Most buildings without roof access do not have roofs which are solid, meaning the player will fall through unless a wood floor has been constructed underneath. It is advised that players use caution when constructing roof access to place water collectors. It is possible to check tiles using the “Walk To” function – the indicator is green where it’s solid, but red where the player will fall through.)

Capacity

Sprite Water units Water bottles
Small Rain Collector Barrel 160 8
Large Rain Collector Barrel 400 20

Crafting

Carpentry

Main article: Carpentry
Product Ingredients Tools Requirements Workstation XP
RainCollectorBarrel Carpentry.gif
Rain Collector Barrel
Plank.png Plank ×4
Nails.png Nails ×4
Garbagebag.png Garbage Bag ×4

Hammer.png
Hammer (tag)
Carpentry 4 none 1.25 Carpentry
RainCollectorBarrel2 Carpentry.gif
Rain Collector Barrel
Plank.png Plank ×4
Nails.png Nails ×4
Garbagebag.png Garbage Bag ×4

Hammer.png
Hammer (tag)
Carpentry 7 none 1.25 Carpentry

Trivia

  • The quantity of liquid inside of these cannot be directly edited in admin mode on a multiplayer server.

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide
Retrieved: Build 41.78.16
local barrelOption = subMenu:addOption(getText("ContextMenu_Rain_Collector_Barrel"), worldobjects, ISBuildMenu.onCreateBarrel, player, "carpentry_02_54", RainCollectorBarrel.smallWaterMax);
	local tooltip = ISBuildMenu.canBuild(4,4,0,0,0,4,barrelOption, player);
    -- we add that we need 4 garbage bag too
	local garbagebag = ISBuildMenu.countMaterial(player, "Base.Garbagebag");
    if garbagebag < 4 then
		tooltip.description = tooltip.description .. ISBuildMenu.bhs .. getItemNameFromFullType("Base.Garbagebag") .. " " .. garbagebag .. "/4 ";
        if not ISBuildMenu.cheat then
            barrelOption.onSelect = nil;
            barrelOption.notAvailable = true;
        end
    else
		tooltip.description = tooltip.description .. ISBuildMenu.ghs .. getItemNameFromFullType("Base.Garbagebag") .. " " .. garbagebag .. "/4 ";
    end
	tooltip:setName(getText("ContextMenu_Rain_Collector_Barrel"));
	tooltip.description = getText("Tooltip_craft_rainBarrelDesc") .. tooltip.description;
	tooltip:setTexture("carpentry_02_54");
	ISBuildMenu.requireHammer(barrelOption)


Retrieved: Build 41.78.16
local barrel2Option = subMenu:addOption(getText("ContextMenu_Rain_Collector_Barrel"), worldobjects, ISBuildMenu.onCreateBarrel, player, "carpentry_02_52", RainCollectorBarrel.largeWaterMax);
    local tooltip = ISBuildMenu.canBuild(4,4,0,0,0,7,barrel2Option, player);
    -- we add that we need 4 garbage bag too
    if garbagebag < 4 then -- garbagebag declared further up, no need to redeclare it here
		tooltip.description = tooltip.description .. ISBuildMenu.bhs .. getItemNameFromFullType("Base.Garbagebag") .. " " .. garbagebag .. "/4 ";
        if not ISBuildMenu.cheat then
            barrel2Option.onSelect = nil;
            barrel2Option.notAvailable = true;
        end
    else
		tooltip.description = tooltip.description .. ISBuildMenu.ghs .. getItemNameFromFullType("Base.Garbagebag") .. " " .. garbagebag .. "/4 ";
    end
    tooltip:setName(getText("ContextMenu_Rain_Collector_Barrel"));
    tooltip.description = getText("Tooltip_craft_rainBarrelDesc") .. tooltip.description;
    tooltip:setTexture("carpentry_02_52");
	ISBuildMenu.requireHammer(barrel2Option)

See also