Beer Bottle: Difference between revisions

From PZwiki
(update header & categories)
(→‎top: New infobox upgrade - Food)
Line 2: Line 2:
{{header/sandbox2|Project Zomboid|Items|Food|Drinks}}
{{header/sandbox2|Project Zomboid|Items|Food|Drinks}}
{{page version|41.65}}
{{page version|41.65}}
{{Infobox food
{{Infobox item
|display_name=Beer Bottle
|name=Beer Bottle
|name_colour=Food
|model=BeerBottle_Model.png
|name_text_colour=Food
|icon=BeerBottle.png
|image=BeerBottle_Model.png
|icon_name=Beer Bottle
|image_width=200px
|alternate_image=BeerBottle.png
|alternate_name=Beer Bottle
|alternate_lin=
|alternate_lin=
<!--GENERAL-->
<!--GENERAL-->
Line 29: Line 26:
|alcohol_power=?
|alcohol_power=?
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name={{ID|Base.BeerBottle}}
|item_id={{ID|Base.BeerBottle}}
}}'''Beer Bottle''', is an alcoholic [[Food#Non-Perishable|non-perishable]] food [[item]].  
}}'''Beer Bottle''', is an alcoholic [[Food#Non-Perishable|non-perishable]] food [[item]].  



Revision as of 11:24, 29 January 2024

Template:Header/sandbox2

Spiffo controlyourself.png
This page was last updated for an older version (41.65).
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.
Beer Bottle
BeerBottle Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.4
Properties
Packaged
True
Nutrition
HungerMoodle Icon Hungry.png
-9
ThirstMoodle Icon Thirsty.png
-13
CaloriesCalories
170
CarbohydratesCarbohydrates
39
ProteinsProteins
0
FatFat
0
Effect
UnhappinessMoodle Icon Unhappy.png
-16
Sterilize powerDisinfection
?
Technical
Item ID
Base.BeerBottle

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

From items_food.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.65

    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