Water Bottle: Difference between revisions

From PZwiki
m (Removed {{clear}} line above ==Distribution==)
m (Simplified redundant links)
(12 intermediate revisions by 2 users not shown)
Line 4: Line 4:
{{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
Line 29: Line 29:
#''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 [[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.
Line 36: Line 36:
===Engineering===
===Engineering===
{{Main|Electrical}}
{{Main|Electrical}}
{{Crafting header|ing=3}}
{{Crafting/sandbox2
{{Crafting electrical|302|ing=3}}
|fire_bomb
|}
}}


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


{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
<!--BOT FLAG|WaterBottleEmpty|41.78.16-->
! colspan="4" | Containers
{{clear}}
|-
<div class="togglebox theme-red">
!Building/Room
    <div>WaterBottleEmpty distribution
!Container
        <span class="mw-customtoggle-togglebox-WaterBottleEmpty" 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>
! style="width: 3.2em;" |Rolls
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-WaterBottleEmpty">
! style="width: 3.2em;" |Chance
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
|-
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
| rowspan="3"|all
    |+ {{ll|Containers}}
| [[fridge]]
    ! Building / Room
| 4
    ! Container
| 1
    ! Rolls
|-
    ! Chance
|[[fridge]]
    |-
|4
    | all
|1
    | {{ll|bin}}
|-
    | 4
|[[fridge]]
    | 2.0
|4
    |-
|1
    | bar
|-
    | {{ll|bin}}
| artstore
    | 4
| [[shelves]]
    | 1.0
| 4
    |-
| 1
    | garagestorage
|-
    | {{ll|crate}}
| breakroom
    | 4
| [[fridge]]
    | 20.0
| 4
    |-
| 4
    | garagestorage
|-
    | {{ll|crate}}
| rowspan="4"|cafeteria
    | 4
| [[displaycasebakery]]
    | 6.0
| 4
    |-
| 8
    | motelroomoccupied
|-
    | {{ll|bin}}
|[[displaycasebakery]]
    | 4
|4
    | 2.0
|8
    |}
|-
</div>
|[[shelves]]
<div style="float:left;">
|4
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
|1
    |+ {{ll|Vehicles}}
|-
    ! Vehicle Type/Location
|[[shelves]]
    ! Rolls
|4
    ! Chance
|2
    |-
|-
    | AmbulanceTruckBed
| rowspan="3"|closet
    | 4
| [[crate]]
    | 4
| 4
    |-
| 1
    | CarpenterTruckBed
|-
    | 4
|[[crate]]
    | 4
|4
    |-
|1
    | ClothingTruckBed
|-
    | 4
|[[crate]]
    | 4
|4
    |-
|1
    | ConstructionWorkerTruckBed
|-
    | 4
| rowspan="5"|conveniencestore
    | 4
| [[fridge]]
    |-
| 4
    | DistilleryTruckBed
| 1
    | 4
|-
    | 4
|[[fridge]]
    |-
|4
    | DoctorTruckBed
|1
    | 4
|-
    | 4
|[[fridge]]
    |-
|4
    | ElectricianTruckBed
|2
    | 4
|-
    | 4
|[[fridge]]
    |-
|4
    | FarmerTruckBed
|2
    | 4
|-
    | 4
|[[fridge]]
    |-
|4
    | FishermanTruckBed
|5
    | 4
|-
    | 4
| gasstorage
    |-
| [[crate]]
    | FossoilTruckBed
| 4
    | 4
| 1
    | 4
|-
    |-
| rowspan="2"|generalstore
    | GolfTruckBed
| [[shelves]]
    | 4
| 4
    | 4
| 1
    |-
|-
    | GroceriesTruckBed
|[[shelves]]
    | 4
|4
    | 4
|2
    |-
|-
    | HeraldsTruckBed
| rowspan="2"|kitchen
    | 4
| [[counter]]
    | 4
| 4
    |-
| 8
    | MassGenFacTruckBed
|-
    | 4
|[[counter]]
    | 4
|4
    |-
|8
    | MetalWelderTruckBed
|}
    | 4
    | 4
    |-
    | PainterTruckBed
    | 4
    | 4
    |-
    | PoliceTruckBed
    | 4
    | 4
    |-
    | PostalTruckBed
    | 4
    | 4
    |-
    | RadioTruckBed
    | 4
    | 4
    |-
    | RangerTruckBed
    | 4
    | 4
    |-
    | SurvivalistTruckBed
    | 4
    | 4
    |-
    | TaxiTruckBed
    | 4
    | 4
    |-
    | TransitTruckBed
    | 4
    | 4
    |-
    | TrunkHeavy
    | 4
    | 4
    |-
    | TrunkSports
    | 4
    | 4
    |-
    | TrunkStandard
    | 4
    | 4
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-WaterBottleEmpty" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|WaterBottleEmpty|41.78.16-->


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


Line 160: Line 208:
{{CodeSnip
{{CodeSnip
   | lang = java
   | lang = java
   | line = false
   | line = true
  | start = 2506
   | source = items_food.txt
   | source = items_food.txt
   | retrieved = true
   | retrieved = true
   | version = 41.78.16
   | version = 41.78.16
   | code =
   | code =
        item WaterBottleFull
item WaterBottleFull
        {
{
            DisplayName = Water Bottle,
DisplayName = Water Bottle,
            DisplayCategory = Water,
DisplayCategory = Water,
            Type = Drainable,
Type = Drainable,
            Weight = 0.8,
Weight = 0.8,
            Icon = WaterBottle_Full,
Icon = WaterBottle_Full,
            CanStoreWater = TRUE,
CanStoreWater = TRUE,
            FillFromDispenserSound = GetWaterFromDispenserPlasticMedium,
FillFromDispenserSound = GetWaterFromDispenserPlasticMedium,
            FillFromTapSound = GetWaterFromTapPlasticMedium,
FillFromTapSound = GetWaterFromTapPlasticMedium,
            IsWaterSource = TRUE,
IsWaterSource = TRUE,
            ReplaceOnDeplete = WaterBottleEmpty,
ReplaceOnDeplete = WaterBottleEmpty,
            ReplaceOnUseOn = WaterSource-WaterBottleFull,
ReplaceOnUseOn = WaterSource-WaterBottleFull,
            UseDelta = 0.1,
UseDelta = 0.1,
            UseWhileEquipped = FALSE,
UseWhileEquipped = FALSE,
            CustomEatSound = DrinkingFromBottlePlastic,
CustomEatSound = DrinkingFromBottlePlastic,
            StaticModel = WaterBottle,
StaticModel = WaterBottle,
            WorldStaticModel = WaterBottleFull,
WorldStaticModel = WaterBottleFull,
            Tooltip = Tooltip_item_OnlyPurifyMicrowave,
Tooltip = Tooltip_item_OnlyPurifyMicrowave,
        }
}
}}
}}


Line 190: Line 239:
{{CodeSnip
{{CodeSnip
   | lang = java
   | lang = java
   | line = false
   | line = true
  | start = 546
   | source = items.txt
   | source = items.txt
   | retrieved = true
   | retrieved = true
   | version = 41.78.16
   | version = 41.78.16
   | code =
   | code =
        item WaterBottleEmpty
item WaterBottleEmpty
        {
{
            DisplayCategory = WaterContainer,
    DisplayCategory = WaterContainer,
            Weight = 0.1,
Weight = 0.1,
            CanStoreWater = TRUE,
CanStoreWater = TRUE,
            Type = Normal,
Type = Normal,
            DisplayName = Empty Bottle,
DisplayName = Empty Bottle,
            ReplaceOnUseOn = WaterSource-WaterBottleFull,
ReplaceOnUseOn = WaterSource-WaterBottleFull,
            Icon = WaterBottle_Empty,
Icon = WaterBottle_Empty,
            StaticModel = WaterBottle,
StaticModel = WaterBottle,
            WorldStaticModel = WaterBottleEmpty,
WorldStaticModel = WaterBottleEmpty,
            Tags = EmptyPetrol,
Tags = EmptyPetrol,
            ReplaceTypes = PetrolSource WaterBottlePetrol;WaterSource WaterBottleFull,
ReplaceTypes = PetrolSource WaterBottlePetrol;WaterSource WaterBottleFull,
            ToolTip = Tooltip_item_OnlyPurifyMicrowave,
ToolTip = Tooltip_item_OnlyPurifyMicrowave,
        }
}
}}
}}
}}
}}
Line 218: Line 268:
*[[Orange Soda]]
*[[Orange Soda]]


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

Revision as of 12:10, 25 April 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 Ingredients Tools Requirements Workstation XP
BottleWithGas.png
Fire Bomb
WaterBottle Empty.png Empty Bottle ×1
Petrol.png Gas Can ×4 unit(s)
Rag.png Ripped Sheets ×1
none
Profession engineer.png
Engineer occupation
none none

Distribution

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

WaterBottleEmpty distribution Show / Hide
Containers
Building / Room Container Rolls Chance
all bin 4 2.0
bar bin 4 1.0
garagestorage crate 4 20.0
garagestorage crate 4 6.0
motelroomoccupied bin 4 2.0
Vehicles
Vehicle Type/Location Rolls Chance
AmbulanceTruckBed 4 4
CarpenterTruckBed 4 4
ClothingTruckBed 4 4
ConstructionWorkerTruckBed 4 4
DistilleryTruckBed 4 4
DoctorTruckBed 4 4
ElectricianTruckBed 4 4
FarmerTruckBed 4 4
FishermanTruckBed 4 4
FossoilTruckBed 4 4
GolfTruckBed 4 4
GroceriesTruckBed 4 4
HeraldsTruckBed 4 4
MassGenFacTruckBed 4 4
MetalWelderTruckBed 4 4
PainterTruckBed 4 4
PoliceTruckBed 4 4
PostalTruckBed 4 4
RadioTruckBed 4 4
RangerTruckBed 4 4
SurvivalistTruckBed 4 4
TaxiTruckBed 4 4
TransitTruckBed 4 4
TrunkHeavy 4 4
TrunkSports 4 4
TrunkStandard 4 4

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