Water Bottle (Orange Soda): Difference between revisions

From PZwiki
m (Cleanup)
m (Automated Formatting)
(17 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Languages}}{{Header|Project Zomboid|Items|Food|Drinks|type=Food|version=Version 41|incver=68}}{{Infobox drainable
{{Header|Project Zomboid|Items|Food|Drinks|Water containers}}
|display_name=Water Bottle
{{Page version|41.68}}
|name_colour=Tool
{{Infobox item
|name_text_colour=Tool
|name=Water Bottle
|image=PopBottleEmpty Model.png
|model=PopBottleEmpty_Model.png
|image_width=300px
|icon=Pop_water.png
|alternate_image=Pop_water.png
|icon_name=Water Bottle
|alternate_name=Water Bottle
|model2=PopBottleEmpty_Model.png
|alternate_link=
|icon2=Pop_empty.png
|alternate_image2=Pop_empty.png
|icon_name2=Empty Bottle
|alternate_name2=Empty Orange Soda Bottle
|alternate_link2=
|category='''Empty:''' Water Container<br>'''Full:''' Water
|category='''Empty:''' Water Container<br>'''Full:''' Water
|weight='''Empty:''' 0.1<br>'''Full:''' 0.8
|weight='''Empty:''' 0.1<br>'''Full:''' 0.8
Line 17: Line 15:
|contents=[[Water]]
|contents=[[Water]]
|can_boil_water=False
|can_boil_water=False
|class_name=Base.PopBottleEmpty<br>Base.WaterPopBottle
|item_id=Base.PopBottleEmpty
}}A '''water bottle''' is an essential [[water]] containing item in [[Project Zomboid]].  
|item_id2=Base.WaterPopBottle
}}
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 player's main inventory (i.e. not in a [[Bags|bag]]).  
A water bottle will automatically satiate the player's [[thirst]], so long as its in the player's main inventory (i.e., not in a [[Bags|bag]]).


The empty bottle is the resulting product after consuming/emptying a bottle of [[Orange Soda|orange soda]] (or water)
The empty bottle is the resulting product after consuming/emptying a bottle of [[Orange Soda|orange soda]] (or water)
Line 27: Line 27:
===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]].  
Water from rivers or [[Rain Collector Barrel|rain collector barrels]] will be ''tainted'', causing the player to become [[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.  
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==
==Distribution==
Line 38: Line 38:


==Trivia==
==Trivia==
*Empty Orange Soda Bottle is one of the oldest items in [[Project Zomboid]] and was originally called "Empty Pop Bottle", however was changed in [[Build 41]].  
*Empty Orange Soda Bottle is one of the oldest items in [[Project Zomboid]] and was originally called "Empty Pop Bottle", however was changed in [[Build 41]].
*Empty Orange Soda Bottle is the only empty bottle in [[Project Zomboid]] called something other than "Empty Bottle".  
*Empty Orange Soda Bottle is the only empty bottle in [[Project Zomboid]] called something other than "Empty Bottle".


==Gallery==
==Gallery==
<gallery>
<gallery>
PopBottleEmpty Model.png|Water Bottle and Empty Bottle model/texture used when placed in the world.
PopBottleAnim Model.png|Water Bottle model and texture when performing an animation (e.g., drinking)
PopBottleAnim Model.png|Water Bottle model/texture used when performing an animation (e.g. drinking).
</gallery>
</gallery>


==Code==
==Code==
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox|[[File:Pop_water.png]] {{ID|WaterPopBottle}}<br>
 
{{CodeSnip
''Water Bottle'' [[File:Pop_water.png]]
  | lang = java
{{Retrieved|version=41|incver=68}}
  | line = true
<pre>
  | start = 2670
item WaterPopBottle
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item WaterPopBottle
{
{
DisplayCategory = Water,
DisplayName = Water Bottle,
IsWaterSource = TRUE,
DisplayCategory = Water,
Weight = 0.8,
Type = Drainable,
CanStoreWater = TRUE,
Weight = 0.8,
FillFromDispenserSound = GetWaterFromDispenserPlasticMedium,
Icon = Pop_water,
FillFromTapSound = GetWaterFromTapPlasticMedium,
CanStoreWater = TRUE,
Type = Drainable,
FillFromDispenserSound = GetWaterFromDispenserPlasticMedium,
UseWhileEquipped = FALSE,
FillFromTapSound = GetWaterFromTapPlasticMedium,
UseDelta = 0.1,
IsWaterSource = TRUE,
DisplayName = Water Bottle,
ReplaceOnDeplete = PopBottleEmpty,
ReplaceOnDeplete = PopBottleEmpty,
ReplaceOnUseOn = WaterSource-WaterPopBottle,
ReplaceOnUseOn = WaterSource-WaterPopBottle,
UseDelta = 0.1,
Icon = Pop_water,
UseWhileEquipped = FALSE,
CustomContextMenu = Drink,
CustomContextMenu = Drink,
CustomEatSound = DrinkingFromBottlePlastic,
CustomEatSound = DrinkingFromBottlePlastic,
StaticModel = PopBottle,
StaticModel = PopBottle,
WorldStaticModel = EmptyPopBottle,
WorldStaticModel = EmptyPopBottle,
Tooltip = Tooltip_item_OnlyPurifyMicrowave,
}
}
</pre>
}}
 
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''


''Empty Bottle'' [[File:Pop_empty.png]]
[[File:Pop_empty.png]] {{ID|PopBottleEmpty}}<br>
{{Retrieved|version=41|incver=68}}
{{CodeSnip
<pre>
  | lang = java
item PopBottleEmpty
  | line = true
  | start = 375
  | source = items.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item PopBottleEmpty
{
{
DisplayCategory = WaterContainer,
    DisplayCategory = WaterContainer,
Weight = 0.1,
Weight = 0.1,
CanStoreWater = TRUE,
CanStoreWater = TRUE,
Type = Normal,
Type = Normal,
DisplayName = Empty Pop Bottle,
DisplayName = Empty Pop Bottle,
ReplaceOnUseOn = WaterSource-WaterPopBottle,
ReplaceOnUseOn = WaterSource-WaterPopBottle,
Icon = Pop_empty,
Icon = Pop_empty,
MetalValue = 5,
MetalValue = 5,
WorldStaticModel = EmptyPopBottle,
WorldStaticModel = EmptyPopBottle,
Tags = EmptyPetrol,
ReplaceTypes = PetrolSource PetrolPopBottle;WaterSource WaterPopBottle,
}
}
</pre>
}}
}}


==See also==
==See also==
*[[Water Bottle]]
*[[Water Bottle]]


{{Navbox equipment}}
{{Navbox items|containers}}
{{Navbox food}}

Revision as of 13:15, 14 April 2024

Project ZomboidItemsFoodDrinksWater containersWater Bottle (Orange Soda)
Spiffo controlyourself.png
This page was last updated for an older version (41.68).
The current stable version is 41.78.16, released 2022-12-12, so information on this page may be inaccurate. Help get this page updated by adding any missing content. [edit]
Please update the version after updating the page.
Water Bottle
PopBottleEmpty Model.png
PopBottleEmpty Model.png
General
Category
Empty: Water Container
Full: Water
Encumbrance
Moodle Icon HeavyLoad.png
Empty: 0.1
Full: 0.8
Function
Water storage
Properties
Contents
Capacity
10 units
Can boil water
False
Technical
Item ID
Base.PopBottleEmpty
Base.WaterPopBottle

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 its in the player's main inventory (i.e., not in a bag).

The empty bottle is the resulting product after consuming/emptying a bottle of orange soda (or water)

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

Empty bottles can be found in bins.

Trivia

  • Empty Orange Soda Bottle is one of the oldest items in Project Zomboid and was originally called "Empty Pop Bottle", however was changed in Build 41.
  • Empty Orange Soda Bottle is the only empty bottle in Project Zomboid called something other than "Empty Bottle".

Gallery

Code

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

Pop water.png WaterPopBottle
Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item WaterPopBottle
	{
		DisplayName = Water Bottle,
		DisplayCategory = Water,
		Type = Drainable,
		Weight = 0.8,
		Icon = Pop_water,
		CanStoreWater = TRUE,
		FillFromDispenserSound = GetWaterFromDispenserPlasticMedium,
		FillFromTapSound = GetWaterFromTapPlasticMedium,
		IsWaterSource = TRUE,
		ReplaceOnDeplete = PopBottleEmpty,
		ReplaceOnUseOn = WaterSource-WaterPopBottle,
		UseDelta = 0.1,
		UseWhileEquipped = FALSE,
		CustomContextMenu = Drink,
		CustomEatSound = DrinkingFromBottlePlastic,
		StaticModel = PopBottle,
		WorldStaticModel = EmptyPopBottle,
		Tooltip = Tooltip_item_OnlyPurifyMicrowave,
	}

Pop empty.png PopBottleEmpty
Source: ProjectZomboid\media\scripts\items.txt

Retrieved: Build 41.78.16
item PopBottleEmpty
	{
	    DisplayCategory = WaterContainer,
		Weight	=	0.1,
		CanStoreWater	=	TRUE,
		Type	=	Normal,
		DisplayName	=	Empty Pop Bottle,
		ReplaceOnUseOn	=	WaterSource-WaterPopBottle,
		Icon	=	Pop_empty,
		MetalValue = 5,
		WorldStaticModel = EmptyPopBottle,
		Tags = EmptyPetrol,
		ReplaceTypes = PetrolSource PetrolPopBottle;WaterSource WaterPopBottle,
	}

See also