Water Bottle: Difference between revisions

From PZwiki
(updated infobox)
(Updated to build 41.66 & merged with "Water Bottle (Water)")
Line 1: Line 1:
{{languages}}
{{languages}}
{{header|Project Zomboid|Items|Food|Drinks|type=Food|version=Version 34|incver=28}}
{{header|Project Zomboid|Items|Food|Drinks|type=Food|version=Version 41|incver=66}}{{About}}
{{Infobox drainable
{{Infobox drainable
|display_name=Water Bottle
|display_name=Water Bottle
Line 13: Line 13:
|alternate_name2=Empty Bottle
|alternate_name2=Empty Bottle
|alternate_link2=
|alternate_link2=
|category='''Empty:''' Water Container<br>'''Full:''' Water
|weight='''Empty:''' 0.1<br>'''Full:''' 0.8
|weight='''Empty:''' 0.1<br>'''Full:''' 0.8
|primary_use=Water storage
|primary_use=Water storage
Line 19: Line 20:
|can_boil_water=False
|can_boil_water=False
|class_name=Base.WaterBottleEmpty<br>Base.WaterBottleFull
|class_name=Base.WaterBottleEmpty<br>Base.WaterBottleFull
}}
}}A '''water bottle''' is an essential [[water]] containing item in [[Project Zomboid]].  
A '''water bottle''' will automatically satiate [[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]]s, [[Rain Collector Barrel|Rain Collectors]]) and clicking "Fill empty bottle".  


==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]]).


===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".


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.  
Water from rivers or [[Rain Collector Barrel|rain collector barrels]] will be ''tainted'', causing the player to become [[Moodles#Sick|sick]].  


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.


See the [[Water]] page for comparisons for water storage.
==Distribution==
Water bottles can be found in refrigerators.  


==Recipe==
Empty bottles can be found in bins.  
{| class="pztable sortable" style="text-align:center;"
|-
! Name
! 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 ==
== Code ==
<nowiki>
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
item WaterBottleFull
 
''Water Bottle'' [[File:WaterBottle_Full.png]]
{{Retrieved|version=41|incver=66}}
<pre>   item WaterBottleFull
{
DisplayCategory = Water,
IsWaterSource = TRUE,
IsWaterSource = TRUE,
Weight = 0.8,
Weight = 0.8,
CanStoreWater = TRUE,
CanStoreWater = TRUE,
FillFromDispenserSound = GetWaterFromDispenserPlasticMedium,
FillFromTapSound = GetWaterFromTapPlasticMedium,
Type = Drainable,
Type = Drainable,
UseWhileEquipped = FALSE,
UseWhileEquipped = FALSE,
Line 58: Line 59:
ReplaceOnUseOn = WaterSource-WaterBottleFull,
ReplaceOnUseOn = WaterSource-WaterBottleFull,
Icon = WaterBottle_Full,
Icon = WaterBottle_Full,
StaticModel = WaterBottle,
</nowiki>
WorldStaticModel = WaterBottleFull,
{{Navbox/Consumables}}
CustomEatSound = DrinkingFromBottlePlastic,
}</pre>
 
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
 
''Empty Bottle'' [[File:WaterBottle_Empty.png]]
{{Retrieved|version=41|incver=66}}
<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,
}</pre>
 
==See also==
*[[Beer Bottle]]
*[[Bourbon]]
*[[Orange Soda]]
 
{{Navbox_food}}
{{Navbox_equipment}}
[[Category:Consumables]]
[[Category:Consumables]]
[[Category:Items]]
[[Category:Drinks]]
[[Category:Version 34.28]]

Revision as of 05:24, 12 March 2022

Project ZomboidItemsFoodDrinksWater Bottle
PlushSpiffo.png'
Water Bottle
Water Bottle
Water Bottle Empty Bottle
General
Category Empty: Water Container
Full: Water
Encumbrance
Heavy Load
Empty: 0.1
Full: 0.8
Function Water storage
Capacity 10 units
Contents Water
Can boil water False
Technical details
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 players 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.

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.

Distribution

Water bottles can be found in refrigerators.

Empty bottles can be found in bins.

Code

From items_food.txt (Project Zomboid directory/media/scripts/)

Water Bottle WaterBottle Full.png Retrieved: Build 41.66

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

From items.txt (Project Zomboid directory/media/scripts/)

Empty Bottle WaterBottle Empty.png Retrieved: Build 41.66

	item WaterBottleEmpty
	{
		DisplayCategory 	= WaterContainer,
		Weight			= 0.1,
		CanStoreWater		= TRUE,
		Type			= Normal,
		DisplayName		= Empty Bottle,
		ReplaceOnUseOn		= WaterSource-WaterBottleFull,
		Icon			= WaterBottle_Empty,
		StaticModel 		= WaterBottle,
		WorldStaticModel 	= WaterBottleEmpty,
	}

See also