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 |
---|---|---|
160 | 8 | |
400 | 20 |
Crafting
Carpentry
- Main article: Carpentry
Product | Ingredients | Tools | Requirements | Workstation | XP |
---|---|---|---|---|---|
Rain Collector Barrel |
Plank ×4 Nails ×4 Garbage Bag ×4 |
Hammer (tag) |
Carpentry 4 | none | 1.25 Carpentry |
Rain Collector Barrel |
Plank ×4 Nails ×4 Garbage Bag ×4 |
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
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)
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)