Water Bottle: Difference between revisions

From PZwiki
m (fixed some links and grammar)
m (Automated CodeBox update)
(37 intermediate revisions by 7 users not shown)
Line 1: Line 1:
__NOTOC__
{{Header|Project Zomboid|Items|Food|Drinks|Water containers}}
{{languages|Water_Bottle}}
{{Page version|41.78.16}}
<div class="header" style="margin: 5px; align: right; background: #CEF2E0; padding: 13px; text-align: left; font-size: 100%; color:#000000; border: 1px solid #A3BFB1"> <!-- Code for Background Colour -->
{{About|the basic water bottle|other variants}}
<div style="float: right;background: #CEF2E0;border: 1px solid #A3BFB1; margin: -30pt -10.5pt">    '''Page Updated @ Version: 34.28'''    </div><!-- Code for Version Tag at top -->
{{Infobox item
<div style="float: left;background: #CEF2E0;border: 1px solid #A3BFB1; margin: -30pt -10.5pt">   '''Navigation''' - [[:Category:Main|Main Index]] -> [[:Category:The_Game_World|The Game World]] -> [[:Category:Items|Items]] -> [[:Category:Consumables|Consumables]] -> [[:Category:Food|Food]] -> [[:Category:Drinks|Drinks]] -> [[{{PAGENAME}}|Water Bottle]]   </div><!-- Code for Navigation Bar at top, special blank char's before '''Navigation''' to give space -->
|name=Water Bottle
|model=WaterBottle_Model.png
|icon=WaterBottle_Full.png
|icon_name=Water Bottle
|model2=WaterBottleEmpty_Model.png
|icon2=WaterBottle_Empty.png
|icon_name2=Empty Bottle
|category=Water Container <small>(empty)</small><br>Water<small> (full)</small>
|weight=0.1
|weight_full=0.8
|function=[[Water]] storage
|max_units=10
|contents=[[Water]]
|can_boil_water=Only in [[Heat Source#Microwave Oven|Microwave Oven]]
|item_id=Base.WaterBottleEmpty<br>Base.WaterBottleFull
}}
 
A '''water bottle''' is an essential [[water]] containing item in [[Project Zomboid]].
 
==Usage==
A water bottle will automatically satiate the player's [[thirst]], so long as it's in the [[player]]'s main inventory (i.e., not in a [[Bags|bag]]).
 
===Refilling===
The contents will gradually deplete, therefore requiring to be refilled. A water bottle can be filled so long as it isn't full. To refill a water bottle, either:
#''Right-click'' a water containing item in the player' inventory (e.g., [[Cooking Pot with Water|cooking pot with water]]) and ''left-click'' "Pour into" > "Water Bottle".
#''Right-click'' a water source (i.e., [[Faucet|sink]], [[well]], [[Rain Collector Barrel|rain collector]], etc.) and ''left-click'' "Fill" > "Water Bottle".
 
Water from rivers or [[Rain Collector Barrel|rain collector barrels]] will be ''tainted'', causing the player to become [[Moodles#Sick|sick]]. It can be boiled in a [[Heat Source#Microwave Oven|microwave oven]] to purify it.
 
After a random number of days, the waterworks will shut off, requiring the player to survive on scavenged water or what is left in cisterns and house systems.
 
==Crafting==
===Engineering===
{{Main|Electrical}}
{{Crafting header|ing=3}}
{{Crafting electrical|302|ing=3}}
|}
 
==Distribution==
The loot distributions can be found in the table(s) below.
 
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
! colspan="4" | Containers
|-
! Building/Room
! Container
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" | Chance
|-
|rowspan="3"|all
|[[fridge]]
|4
|1
|-
|[[fridge]]
|4
|1
|-
|[[fridge]]
|4
|1
|-
|artstore
|[[shelves]]
|4
|1
|-
|breakroom
|[[fridge]]
|4
|4
|-
|rowspan="4"|cafeteria
|[[displaycasebakery]]
|4
|8
|-
|[[displaycasebakery]]
|4
|8
|-
|[[shelves]]
|4
|1
|-
|[[shelves]]
|4
|2
|-
|rowspan="3"|closet
|[[crate]]
|4
|1
|-
|[[crate]]
|4
|1
|-
|[[crate]]  
|4
|1
|-
|rowspan="5"|conveniencestore
|[[fridge]]
|4
|1
|-
|[[fridge]]  
|4
|1
|-
|[[fridge]]
|4
|2
|-
|[[fridge]]  
|4
|2
|-
|[[fridge]]
|4
|5
|-
|gasstorage
|[[crate]]  
|4
|1
|-
|rowspan="2"|generalstore
|[[shelves]]
|4
|1
|-
|[[shelves]]  
|4
|2
|-
|rowspan="2"|kitchen
|[[counter]]
|4
|8
|-
|[[counter]]  
|4
|8
|}
 
==Gallery==
<gallery>
WaterBottleAnim Model.png|Water Bottle model and texture used when performing an animation (e.g., drinking).
</gallery>
 
==Code==
{{CodeBox|[[File:WaterBottle_Full.png]] {{ID|WaterBottleFull}}<br>
{{CodeSnip
  | lang = java
  | line = true
  | start = 2506
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item WaterBottleFull
{
DisplayName = Water Bottle,
DisplayCategory = Water,
Type = Drainable,
Weight = 0.8,
Icon = WaterBottle_Full,
CanStoreWater = TRUE,
FillFromDispenserSound = GetWaterFromDispenserPlasticMedium,
FillFromTapSound = GetWaterFromTapPlasticMedium,
IsWaterSource = TRUE,
ReplaceOnDeplete = WaterBottleEmpty,
ReplaceOnUseOn = WaterSource-WaterBottleFull,
UseDelta = 0.1,
UseWhileEquipped = FALSE,
CustomEatSound = DrinkingFromBottlePlastic,
StaticModel = WaterBottle,
WorldStaticModel = WaterBottleFull,
Tooltip = Tooltip_item_OnlyPurifyMicrowave,
}
}}


{{Items
[[File:WaterBottle_Empty.png]] {{ID|WaterBottleEmpty}}<br>
|image = Water Bottle Full.png
{{CodeSnip
|weight = 0.8
  | lang = java
  | line = true
  | start = 546
  | source = items.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item WaterBottleEmpty
{
    DisplayCategory = WaterContainer,
Weight = 0.1,
CanStoreWater = TRUE,
Type = Normal,
DisplayName = Empty Bottle,
ReplaceOnUseOn = WaterSource-WaterBottleFull,
Icon = WaterBottle_Empty,
StaticModel = WaterBottle,
WorldStaticModel = WaterBottleEmpty,
Tags = EmptyPetrol,
ReplaceTypes = PetrolSource WaterBottlePetrol;WaterSource WaterBottleFull,
ToolTip = Tooltip_item_OnlyPurifyMicrowave,
}
}}
}}
}}
A [[Water bottle]] will automatically satiate [[Thirst|thirst]], as the player lives in Project Zomboid.
A bottle of water will gradually lose its content, and will have to be refilled. To refill an [[Empty Bottle (Water)|empty bottle]], it needs to be in the main inventory, followed by right-clicking on any water source ([[Faucet|Sinks]], [[Well|Wells]], [[Rain Collector Barrel|Rain Collectors]]) and clicking "Fill empty bottle".
<br><br>
As of Build 31, water from rivers or Rain Collector barrels will be tainted, causing the player to become [[Moodles#Sick|Sick]]. After a random amount of days at the start of a new game, the water works will be gone, and the character will have to survive on scavenged water or what is left in cisterns and house systems. Water Bottles are found in trash cans and refrigerators.
<br><br>See the [[Water]] page for comparisons for water storage.


==Recipe==
==See also==
{| class="wikitable sortable" style="text-align:center;"
*[[Beer Bottle]]
|-
*[[Bourbon]]
! Name
*[[Orange Soda]]
! class="unsortable" | Recipe
! class="unsortable" | Description
! Skill Level
{{Recipe|2
|item1=[[Empty Bottle (Water)|Empty Bottle]]|q1=x1 |picitem1=File:UTENSILEmptyWaterBottle.png |tag1=
|item2=[[Water]] |q2=x1 |picitem2=File:Water drop.png
|product=[[Water bottle|Water Bottle]]|qproduct=x1 |picproduct=File:Water Bottle Full.png
|description=A Bottle of Water
|level= No crafting level required.}}
|}


== Code ==
{{Navbox equipment|containers}}
<nowiki>
{{Navbox food}}
item WaterBottleFull
IsWaterSource = TRUE,
Weight = 0.8,
CanStoreWater = TRUE,
Type = Drainable,
UseWhileEquipped = FALSE,
UseDelta = 0.1,
DisplayName = Water Bottle,
ReplaceOnDeplete = WaterBottleEmpty,
ReplaceOnUseOn = WaterSource-WaterBottleFull,
Icon = WaterBottle_Full,
</nowiki>
{{Navbox/Consumables}}
[[Category:Consumables]]
[[Category:Items]]
[[Category:Drinks]]
[[Category:Version 34.28]]

Revision as of 13:58, 26 March 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
PlushSpiffo.pngThis article is about the basic water bottle. For other variants, see Water Bottle (disambiguation).
Water Bottle
WaterBottle Model.png
WaterBottleEmpty Model.png
General
Category
Water Container (empty)
Water (full)
Encumbrance
Moodle Icon HeavyLoad.png
0.1 (empty)
0.8 (full)
Function
Water storage
Properties
Contents
Capacity
10 units
Can boil water
Technical
Item ID
Base.WaterBottleEmpty
Base.WaterBottleFull

A water bottle is an essential water containing item in Project Zomboid.

Usage

A water bottle will automatically satiate the player's thirst, so long as it's in the player's main inventory (i.e., not in a bag).

Refilling

The contents will gradually deplete, therefore requiring to be refilled. A water bottle can be filled so long as it isn't full. To refill a water bottle, either:

  1. Right-click a water containing item in the player' inventory (e.g., cooking pot with water) and left-click "Pour into" > "Water Bottle".
  2. Right-click a water source (i.e., sink, well, rain collector, etc.) and left-click "Fill" > "Water Bottle".

Water from rivers or rain collector barrels will be tainted, causing the player to become sick. It can be boiled in a microwave oven to purify it.

After a random number of days, the waterworks will shut off, requiring the player to survive on scavenged water or what is left in cisterns and house systems.

Crafting

Engineering

Main article: Electrical
Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2 Ingredient 3
BottleWithGas.png
Fire Bomb
0 XP none Engineer Empty Bottle
Empty Bottle
(consumed)
Petrol.png
Gas Can
(4 units)

(consumed)
Rag.png
Ripped Sheets
(consumed)

Distribution

The loot distributions can be found in the table(s) below.

Containers
Building/Room Container Rolls Chance
all fridge 4 1
fridge 4 1
fridge 4 1
artstore shelves 4 1
breakroom fridge 4 4
cafeteria displaycasebakery 4 8
displaycasebakery 4 8
shelves 4 1
shelves 4 2
closet crate 4 1
crate 4 1
crate 4 1
conveniencestore fridge 4 1
fridge 4 1
fridge 4 2
fridge 4 2
fridge 4 5
gasstorage crate 4 1
generalstore shelves 4 1
shelves 4 2
kitchen counter 4 8
counter 4 8

Gallery

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

WaterBottle Full.png WaterBottleFull
Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item WaterBottleFull
	{
		DisplayName = Water Bottle,
		DisplayCategory = Water,
		Type = Drainable,
		Weight = 0.8,
		Icon = WaterBottle_Full,
		CanStoreWater = TRUE,
		FillFromDispenserSound = GetWaterFromDispenserPlasticMedium,
		FillFromTapSound = GetWaterFromTapPlasticMedium,
		IsWaterSource = TRUE,
		ReplaceOnDeplete = WaterBottleEmpty,
		ReplaceOnUseOn = WaterSource-WaterBottleFull,
		UseDelta = 0.1,
		UseWhileEquipped = FALSE,
		CustomEatSound = DrinkingFromBottlePlastic,
		StaticModel = WaterBottle,
		WorldStaticModel = WaterBottleFull,
		Tooltip = Tooltip_item_OnlyPurifyMicrowave,
	}

WaterBottle Empty.png WaterBottleEmpty
Source: ProjectZomboid\media\scripts\items.txt

Retrieved: Build 41.78.16
item WaterBottleEmpty
	{
	    DisplayCategory = WaterContainer,
		Weight	=	0.1,
		CanStoreWater	=	TRUE,
		Type	=	Normal,
		DisplayName	=	Empty Bottle,
		ReplaceOnUseOn	=	WaterSource-WaterBottleFull,
		Icon	=	WaterBottle_Empty,
		StaticModel = WaterBottle,
		WorldStaticModel = WaterBottleEmpty,
		Tags = EmptyPetrol,
		ReplaceTypes = PetrolSource WaterBottlePetrol;WaterSource WaterBottleFull,
		ToolTip = Tooltip_item_OnlyPurifyMicrowave,
	}

See also