Water Bottle: Difference between revisions

From PZwiki
(infobox upgrade - initial tests)
m (Automated CodeBox update)
(17 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Languages}}
{{Header|Project Zomboid|Items|Food|Drinks|Water containers}}
{{Header|Project Zomboid|Items|Food|Drinks|type=Food|version=Version 41|incver=78.16}}
{{Page version|41.78.16}}
{{About|the basic water bottle|other variants}}
{{About|the basic water bottle|other variants}}
{{Infobox item
{{Infobox item
|name=Water Bottle
|name=Water Bottle
|model=WaterBottle Model.png
|model=WaterBottle_Model.png
|icon=WaterBottle_Full.png
|icon=WaterBottle_Full.png
|icon_name=Water Bottle
|icon_name=Water Bottle
|model2=WaterBottleEmpty Model.png
|model2=WaterBottleEmpty_Model.png
|icon2=WaterBottle_Empty.png
|icon2=WaterBottle_Empty.png
|icon_name2=Empty Bottle
|icon_name2=Empty Bottle
|category=Water Container <small>(empty)</small><br>Water<small> (full)</small>
|category=Water Container <small>(empty)</small><br>Water<small> (full)</small>
|weight=0.1 <small>(empty)</small><br>0.8 <small>(full)</small>
|weight=0.1
|primary_use=Water storage
|weight_full=0.8
|function=[[Water]] storage
|max_units=10
|max_units=10
|contents=[[Water]]
|contents=[[Water]]
Line 18: Line 19:
|item_id=Base.WaterBottleEmpty<br>Base.WaterBottleFull
|item_id=Base.WaterBottleEmpty<br>Base.WaterBottleFull
}}
}}
A '''water bottle''' is an essential [[water]] containing item in [[Project Zomboid]].
A '''water bottle''' is an essential [[water]] containing item in [[Project Zomboid]].


==Usage==
==Usage==
A water bottle will automatically satiate the player's [[thirst]], so long as it's in the players main inventory (i.e. not in a [[Bags|bag]]).  
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===
===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:
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 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".  
#''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.
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.  
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==
==Crafting==
Line 40: Line 42:


==Distribution==
==Distribution==
Water bottles can be found in refrigerators, gas stations, convenience stores, and grocery stores.  
The loot distributions can be found in the table(s) below.


Empty bottles can be found in bins.
{| 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==
<gallery>
<gallery>
WaterBottle Model.png|Water Bottle model and texture used when placed in the world.
WaterBottleAnim Model.png|Water Bottle model and texture used when performing an animation (e.g., drinking).
WaterBottleEmpty Model.png|Empty Bottle model and texture used when placed in the world.
WaterBottleAnim Model.png|Water Bottle model and texture used when performing an animation (e.g., drinking).  
</gallery>
</gallery>


==Code==
==Code==
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{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,
}
}}


''Water Bottle'' [[File:WaterBottle_Full.png]]
[[File:WaterBottle_Empty.png]] {{ID|WaterBottleEmpty}}<br>
{{Retrieved|version=41|incver=78.16}}
{{CodeSnip
<pre>
  | lang = java
        item WaterBottleFull
  | line = true
        {
  | start = 546
                DisplayName = Water Bottle,
  | source = items.txt
                DisplayCategory = Water,
  | retrieved = true
                Type = Drainable,
  | version = 41.78.16
                Weight = 0.8,
  | code =
                Icon = WaterBottle_Full,
item WaterBottleEmpty
                CanStoreWater = TRUE,
{
                FillFromDispenserSound = GetWaterFromDispenserPlasticMedium,
    DisplayCategory = WaterContainer,
                FillFromTapSound = GetWaterFromTapPlasticMedium,
Weight = 0.1,
                IsWaterSource = TRUE,
CanStoreWater = TRUE,
                ReplaceOnDeplete = WaterBottleEmpty,
Type = Normal,
                ReplaceOnUseOn = WaterSource-WaterBottleFull,
DisplayName = Empty Bottle,
                UseDelta = 0.1,
ReplaceOnUseOn = WaterSource-WaterBottleFull,
                UseWhileEquipped = FALSE,
Icon = WaterBottle_Empty,
                CustomEatSound = DrinkingFromBottlePlastic,
StaticModel = WaterBottle,
                StaticModel = WaterBottle,
WorldStaticModel = WaterBottleEmpty,
                WorldStaticModel = WaterBottleFull,
Tags = EmptyPetrol,
                Tooltip = Tooltip_item_OnlyPurifyMicrowave,
ReplaceTypes = PetrolSource WaterBottlePetrol;WaterSource WaterBottleFull,
        }
ToolTip = Tooltip_item_OnlyPurifyMicrowave,
</pre>
}
 
}}
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
}}
 
''Empty Bottle'' [[File:WaterBottle_Empty.png]]
{{Retrieved|version=41|incver=78.16}}
<pre>
        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,
        }
</pre>


==See also==
==See also==
Line 106: Line 219:
*[[Orange Soda]]
*[[Orange Soda]]


{{Navbox equipment}}
{{Navbox equipment|containers}}
{{Navbox food}}
{{Navbox food}}
[[Category:Consumables]]

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