Water Bottle (Orange Soda): Difference between revisions

From PZwiki
(updated to 41.68 + added gallery & trivai + changed navbox + added model)
m (Distribution table fix)
 
(23 intermediate revisions by 5 users not shown)
Line 1: Line 1:
__NOTOC__
{{Header|Project Zomboid|Items|Food|Drinks|Water containers}}
{{languages}}
{{Page version|41.68}}
{{header|Project Zomboid|Items|Food|Drinks|type=Food|version=Version 41|incver=68}}
{{Infobox item
 
|name=Water Bottle
{{Infobox drainable
|model=PopBottleEmpty_Model.png
|display_name=Water Bottle
|icon=Pop_water.png
|name_colour=Tool
|icon_name=Water Bottle
|name_text_colour=Tool
|model2=PopBottleEmpty_Model.png
|image=PopBottleEmpty_Model.png
|icon2=Pop_empty.png
|image_width = 300px
|icon_name2=Empty Bottle
|alternate_image=Pop_water.png
|alternate_name=Water Bottle
|alternate_link=
|alternate_image2=Pop_empty.png
|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 21: 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 the players 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 31: 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]].


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==
The loot distributions can be found in the table(s) below.
<!--BOT FLAG|PopBottleEmpty|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>PopBottleEmpty distribution
        <span class="mw-customtoggle-togglebox-PopBottleEmpty" title="{{int:show}} / {{int:hide}}" style="float: right; padding-right: 30px; padding-top: 4px; font-size: 0.7em; font-weight: normal;">{{int:show}} / {{int:hide}}</span></div>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-PopBottleEmpty">
    Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits.    <div class="toggle-content">
<div class="pz-container">
<div id="containers" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | all
    | {{ll|bin}}
    | 6.29%
    |-
    | bar
    | {{ll|bin}}
    | 3.98%
    |-
    | barkitchen
    | {{ll|bin}}
    | 3.98%
    |-
    | barstorage
    | {{ll|bin}}
    | 3.98%
    |-
    | beergarden
    | {{ll|bin}}
    | 3.98%
    |-
    | garagestorage
    | {{ll|crate}}
    | 41.14%
    |-
    | motelroomoccupied
    | {{ll|bin}}
    | 6.29%
    |}
</div>
<div id="vehicles" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Vehicles}}
    ! Type
    ! Container
    ! Effective chance
    |-
    | Ambulance
    | {{ll|Truck Bed}}
    | 10.78%
    |-
    | Carpenter
    | {{ll|Truck Bed}}
    | 10.78%
    |-
    | Clothing
    | {{ll|Truck Bed}}
    | 10.78%
    |-
    | Construction Worker
    | {{ll|Truck Bed}}
    | 10.78%
    |-
    | Distillery
    | {{ll|Truck Bed}}
    | 10.78%
    |-
    | Doctor
    | {{ll|Truck Bed}}
    | 10.78%
    |-
    | Electrician
    | {{ll|Truck Bed}}
    | 10.78%
    |-
    | Farmer
    | {{ll|Truck Bed}}
    | 10.78%
    |-
    | Fisherman
    | {{ll|Truck Bed}}
    | 10.78%
    |-
    | Fossoil
    | {{ll|Truck Bed}}
    | 10.78%
    |-
    | Golf
    | {{ll|Truck Bed}}
    | 10.78%
    |-
    | Groceries
    | {{ll|Truck Bed}}
    | 10.78%
    |-
    | Heralds
    | {{ll|Truck Bed}}
    | 10.78%
    |-
    | Mass Gen Fac
    | {{ll|Truck Bed}}
    | 10.78%
    |-
    | Metal Welder
    | {{ll|Truck Bed}}
    | 10.78%
    |-
    | Painter
    | {{ll|Truck Bed}}
    | 10.78%
    |-
    | Police
    | {{ll|Truck Bed}}
    | 10.78%
    |-
    | Postal
    | {{ll|Truck Bed}}
    | 10.78%
    |-
    | Radio
    | {{ll|Truck Bed}}
    | 10.78%
    |-
    | Ranger
    | {{ll|Truck Bed}}
    | 10.78%
    |-
    | Survivalist
    | {{ll|Truck Bed}}
    | 10.78%
    |-
    | Taxi
    | {{ll|Truck Bed}}
    | 10.78%
    |-
    | Transit
    | {{ll|Truck Bed}}
    | 10.78%
    |-
    | Heavy
    | {{ll|Trunk}}
    | 10.78%
    |-
    | Sports
    | {{ll|Trunk}}
    | 10.78%
    |-
    | Standard
    | {{ll|Trunk}}
    | 10.78%
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-PopBottleEmpty" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|PopBottleEmpty|41.78.16-->
Empty bottles can be found in bins.
Empty bottles can be found in bins.


==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> item WaterPopBottle
  | start = 2670
  | 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,
}</pre>
Tooltip = Tooltip_item_OnlyPurifyMicrowave,
 
}
'''''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> item PopBottleEmpty
  | lang = java
  | 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,
}</pre>
Tags = EmptyPetrol,
ReplaceTypes = PetrolSource PetrolPopBottle;WaterSource WaterPopBottle,
}
}}
}}


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


{{Navbox_food}}
{{Navbox items|containers}}
{{Navbox_equipment}}

Latest revision as of 19:52, 30 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

The loot distributions can be found in the table(s) below.

PopBottleEmpty distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
all bin 6.29%
bar bin 3.98%
barkitchen bin 3.98%
barstorage bin 3.98%
beergarden bin 3.98%
garagestorage crate 41.14%
motelroomoccupied bin 6.29%
Vehicles
Type Container Effective chance
Ambulance Trunk 10.78%
Carpenter Trunk 10.78%
Clothing Trunk 10.78%
Construction Worker Trunk 10.78%
Distillery Trunk 10.78%
Doctor Trunk 10.78%
Electrician Trunk 10.78%
Farmer Trunk 10.78%
Fisherman Trunk 10.78%
Fossoil Trunk 10.78%
Golf Trunk 10.78%
Groceries Trunk 10.78%
Heralds Trunk 10.78%
Mass Gen Fac Trunk 10.78%
Metal Welder Trunk 10.78%
Painter Trunk 10.78%
Police Trunk 10.78%
Postal Trunk 10.78%
Radio Trunk 10.78%
Ranger Trunk 10.78%
Survivalist Trunk 10.78%
Taxi Trunk 10.78%
Transit Trunk 10.78%
Heavy Trunk 10.78%
Sports Trunk 10.78%
Standard Trunk 10.78%

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