Water Bottle (Orange Soda): Difference between revisions

From PZwiki
mNo edit summary
m (Automated Formatting)
(30 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Food|Drinks|Water containers}}
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 off the water he or she already has. The pop version of the water bottle can only be found by drinking a orange soda, and then you will get an empty water bottle. It acts the same way as the blue variant of the water bottle.
{{Page version|41.68}}
{{Items
{{Infobox item
|image = WaterBottleOrangeSodaBottle.jpg
|name=Water Bottle
|weight = 1.5
|model=PopBottleEmpty_Model.png
|icon=Pop_water.png
|icon_name=Water Bottle
|model2=PopBottleEmpty_Model.png
|icon2=Pop_empty.png
|icon_name2=Empty Bottle
|category='''Empty:''' Water Container<br>'''Full:''' Water
|weight='''Empty:''' 0.1<br>'''Full:''' 0.8
|primary_use=Water storage
|max_units=10
|contents=[[Water]]
|can_boil_water=False
|item_id=Base.PopBottleEmpty
|item_id2=Base.WaterPopBottle
}}
}}
== Code ==
A '''water bottle''' is an essential [[water]] containing item in [[Project Zomboid]].
<nowiki>item WaterPopBottle
{
Type = Drainable,
DisplayName = Water Bottle,
Icon = Pop_water,
Weight = 1.5,
ReplaceOnDeplete = PopBottleEmpty,
UseWhileEquipped = false,
UseDelta = 0.1,
ReplaceOnUseOn = WaterSource-WaterPopBottle,
IsWaterSource = true,
CanStoreWater = true


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


The empty bottle is the resulting product after consuming/emptying a bottle of [[Orange Soda|orange soda]] (or water)
}</nowiki>
 
[[Category:Version 0.2.0p]]
===Refilling===
[[Category:Consumables]]
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:
[[Category:Drinks]]
#''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 [[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.
 
==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==
<gallery>
PopBottleAnim Model.png|Water Bottle model and texture when performing an animation (e.g., drinking)
</gallery>
 
==Code==
{{CodeBox|[[File:Pop_water.png]] {{ID|WaterPopBottle}}<br>
{{CodeSnip
  | lang = java
  | line = true
  | start = 2670
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
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,
}
}}
 
[[File:Pop_empty.png]] {{ID|PopBottleEmpty}}<br>
{{CodeSnip
  | lang = java
  | line = true
  | start = 375
  | source = items.txt
  | retrieved = true
  | version = 41.78.16
  | code =
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==
*[[Water Bottle]]
 
{{Navbox items|containers}}

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