Beer Bottle: Difference between revisions
VaileasysBot (talk | contribs) (→top: New infobox upgrade - Food) |
(→Code: CodeBox update) |
||
Line 37: | Line 37: | ||
==Code== | ==Code== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = false | |||
| source = items_food.txt | |||
| retrieved = true | |||
| version = 41 | |||
| incver = 65 | |||
| code = | |||
item BeerBottle | |||
{ | |||
DisplayCategory = Food, | |||
HungerChange = -9, | |||
Weight = 0.4, | |||
AlwaysWelcomeGift = TRUE, | |||
Type = Food, | |||
UnhappyChange = -16, | |||
ThirstChange = -13, | |||
DisplayName = Beer Bottle, | |||
ReplaceOnUse = BeerEmpty, | |||
Alcoholic = TRUE, | |||
Icon = BeerBottle, | |||
CustomContextMenu = Drink, | |||
CustomEatSound = DrinkingFromBottleGlass, | |||
Carbohydrates = 39, | |||
Proteins = 0, | |||
Lipids = 0, | |||
Calories = 170, | |||
Packaged = TRUE, | |||
CantBeFrozen = TRUE, | |||
StaticModel = BeerBottle, | |||
WorldStaticModel = BeerBottle, | |||
} | |||
}} | |||
}} | |||
==See also== | ==See also== |
Revision as of 10:37, 31 January 2024
Beer Bottle, is an alcoholic non-perishable food item.
Usage
Alcohol
Beer Bottle is an alcoholic beverage, and will therefore increase the player's drunkenness as it is consumed. Being drunk will affect the player's coordination (controls), both on foot and in a vehicle, and weapon accuracy.
Distribution
Beer Bottle can be found in kitchen and bar counters, or office desks.
Code
Source: ProjectZomboid\media\scripts\items_food.txt
item BeerBottle
{
DisplayCategory = Food,
HungerChange = -9,
Weight = 0.4,
AlwaysWelcomeGift = TRUE,
Type = Food,
UnhappyChange = -16,
ThirstChange = -13,
DisplayName = Beer Bottle,
ReplaceOnUse = BeerEmpty,
Alcoholic = TRUE,
Icon = BeerBottle,
CustomContextMenu = Drink,
CustomEatSound = DrinkingFromBottleGlass,
Carbohydrates = 39,
Proteins = 0,
Lipids = 0,
Calories = 170,
Packaged = TRUE,
CantBeFrozen = TRUE,
StaticModel = BeerBottle,
WorldStaticModel = BeerBottle,
}