Water Bottle: Difference between revisions

From PZwiki
m (Tickleman moved page Water Bottle to Water Bottle over redirect)
m (Automated CodeBox update)
(46 intermediate revisions by 12 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Food|Drinks|Water containers}}
{{Items
{{Page version|41.78.16}}
|image = Water Bottle Full.png  
{{About|the basic water bottle|other variants}}
|weight = 0.8
{{Infobox item
|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
}}
}}


Water bottles will automatically satiate [[Thirst|thirst]], as the player lives in Project Zomboid. A bottle of water will gradually lose its content, and it will have to be refilled. To refill an empty bottle by dragging it from inventory in a faucet and clicking, and you have a full bottle. However, after a random number of days in the game, the water works will be gone, and the character will have to survive on scavenged water. This water bottle is the rarer of the 2 "standard" water bottles. It is found in trash cans and refridgerators.
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".


== Code ==
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.
<nowiki>item WaterBottleFull
 
{
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.
 
Type = Drainable,
==Crafting==
DisplayName = Water bottle,
===Engineering===
Icon = WaterBottle_Full,
{{Main|Electrical}}
Weight = 0.8,
{{Crafting header|ing=3}}
ReplaceOnDeplete = WaterBottleEmpty,
{{Crafting electrical|302|ing=3}}
UseWhileEquipped = false,
|}
UseDelta = 0.1,
 
ReplaceOnUseOn = WaterSource-WaterBottleFull,
==Distribution==
IsWaterSource = true,
The loot distributions can be found in the table(s) below.
CanStoreWater = true
 
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
}</nowiki>
! colspan="4" | Containers
[[Category:Version 0.2.0p]]
|-
[[Category:Consumables]]
! Building/Room
[[Category:Drinks]]
! 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,
}
}}
 
[[File:WaterBottle_Empty.png]] {{ID|WaterBottleEmpty}}<br>
{{CodeSnip
  | 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,
}
}}
}}
 
==See also==
*[[Beer Bottle]]
*[[Bourbon]]
*[[Orange Soda]]
 
{{Navbox equipment|containers}}
{{Navbox food}}

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