Beer Can: Difference between revisions

From PZwiki
m (Category Project: Drinks)
(updated header)
Line 1: Line 1:
{{Languages}}
{{Languages}}
{{Header|Project Zomboid|Items|Food|Non-Perishable Food}}
{{header/sandbox2|Project Zomboid|Items|Food|Drinks}}
{{page version|41.65}}
{{page version|41.65}}
{{Infobox food
{{Infobox food

Revision as of 07:20, 28 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 Can
Beer Can
Beer Can
General
Category Food
Encumbrance
Heavy Load
0.3
Can't be frozen True
Packaged True
Nutrition
Hunger
Hunger
-8
Thirst
Thirst
-13
Calories
Calories
160
Carbohydrates
Carbohydrates
39
Proteins
Proteins
0
Fat
Fat
0
Effect
Unhappiness
Unhappiness
-15
Alcohol
Drunk
?
Technical details
Item ID Base.BeerCan

Beer Can, is an alcoholic non-perishable food item.

Usage

Alcohol

Beer Can 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 Can 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 BeerCan
	{
	    DisplayCategory = Food,
		HungerChange	=	-8,
		Weight	=	0.3,
		AlwaysWelcomeGift	=	TRUE,
		Type	=	Food,
		UnhappyChange	=	-15,
		ThirstChange	=	-13,
		DisplayName	=	Beer Can,
		ReplaceOnUse	= BeerCanEmpty,
		Alcoholic	=	TRUE,
		Icon	=	BeerCan,
		CustomContextMenu = Drink,
		CustomEatSound = DrinkingFromCan,
        Carbohydrates = 39,
        Proteins = 0,
        Lipids = 0,
        Calories = 160,
        Packaged = TRUE,
        CantBeFrozen = TRUE,
        StaticModel = BeerCan,
        EatType = popcan,
        WorldStaticModel = BeerCan_Ground,
	}

See also