Water Bottle (Beer): Difference between revisions
m (Automatic formatting) |
m (Automated CodeBox update) |
||
Line 38: | Line 38: | ||
{{CodeSnip | {{CodeSnip | ||
| lang = java | | lang = java | ||
| line = | | line = true | ||
| start = 2763 | |||
| source = items_food.txt | | source = items_food.txt | ||
| retrieved = true | | retrieved = true | ||
| version = 41. | | version = 41.78.16 | ||
| code = | | code = | ||
item BeerWaterFull | |||
{ | |||
DisplayName = Water Bottle, | |||
DisplayCategory = Water, | |||
Type = Drainable, | |||
Weight = 0.4, | |||
Icon = BeerBottle, | |||
CanStoreWater = TRUE, | |||
FillFromDispenserSound = GetWaterFromDispenserGlass, | |||
FillFromTapSound = GetWaterFromTapGlass, | |||
IsCookable = TRUE, | |||
IsWaterSource = TRUE, | |||
ReplaceOnDeplete = BeerEmpty, | |||
ReplaceOnUseOn = WaterSource-BeerWaterFull, | |||
UseDelta = 0.16, | |||
UseWhileEquipped = FALSE, | |||
CustomEatSound = DrinkingFromBottleGlass, | |||
StaticModel = BeerBottle, | |||
WorldStaticModel = BeerBottle, | |||
} | |||
}} | }} | ||
Line 67: | Line 69: | ||
{{CodeSnip | {{CodeSnip | ||
| lang = java | | lang = java | ||
| line = | | line = true | ||
| start = 607 | |||
| source = items.txt | | source = items.txt | ||
| retrieved = true | | retrieved = true | ||
| version = 41. | | version = 41.78.16 | ||
| code = | | code = | ||
item BeerEmpty | |||
{ | { | ||
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-BeerWaterFull, | ReplaceOnUseOn = WaterSource-BeerWaterFull, | ||
Icon = | Icon = BeerBottle, | ||
StaticModel = BeerBottle, | StaticModel = BeerBottle, | ||
WorldStaticModel = BeerBottle, | WorldStaticModel = BeerBottle, | ||
} | } | ||
}} | }} | ||
}} | }} |
Revision as of 01:58, 25 March 2024
Full: Water
• Water storage
Base.BeerWaterFull
A water bottle is an essential water containing item in Project Zomboid.
Usage
The empty bottle is the resulting product after consuming/emptying a beer bottle (or water). It can be refilled at any water source.
Crafting
The empty bottle can be used as a component in crafting.
Product | XP gained | Skill(s) | Recipe | Ingredient 1 | Ingredient 2 | Ingredient 3 |
---|---|---|---|---|---|---|
Smashed Bottle |
0 XP | none | (consumed) |
Distribution
Empty bottles can be found on a zombie corpse or in a garbage bins.
Code
Water Bottle
Source: ProjectZomboid\media\scripts\items_food.txt
item BeerWaterFull
{
DisplayName = Water Bottle,
DisplayCategory = Water,
Type = Drainable,
Weight = 0.4,
Icon = BeerBottle,
CanStoreWater = TRUE,
FillFromDispenserSound = GetWaterFromDispenserGlass,
FillFromTapSound = GetWaterFromTapGlass,
IsCookable = TRUE,
IsWaterSource = TRUE,
ReplaceOnDeplete = BeerEmpty,
ReplaceOnUseOn = WaterSource-BeerWaterFull,
UseDelta = 0.16,
UseWhileEquipped = FALSE,
CustomEatSound = DrinkingFromBottleGlass,
StaticModel = BeerBottle,
WorldStaticModel = BeerBottle,
}
Empty Bottle
Source: ProjectZomboid\media\scripts\items.txt
item BeerEmpty
{
DisplayCategory = WaterContainer,
Weight = 0.1,
CanStoreWater = TRUE,
Type = Normal,
DisplayName = Empty Bottle,
ReplaceOnUseOn = WaterSource-BeerWaterFull,
Icon = BeerBottle,
StaticModel = BeerBottle,
WorldStaticModel = BeerBottle,
}