Beer Can: Difference between revisions

From PZwiki
(added item model)
m (Cleanup)
Line 1: Line 1:
{{languages}}
{{Languages}}{{Header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 41|incver=65}}{{Infobox food
{{header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 41|incver=65}}{{Infobox food
|display_name=Beer Can
|display_name=Beer Can
|name_colour=Food
|name_colour=Food
|name_text_colour=Food
|name_text_colour=Food
|image=BeerCan_Model.png
|image=BeerCan Model.png
|image_width=300px
|image_width=300px
|alternate_image=BeerCan.png
|alternate_image=BeerCan.png
Line 31: Line 30:


==Usage==
==Usage==
===Alcohol===
===Alcohol===
Beer Can is an alcoholic beverage, and will therefore increase the player's [[Moodles#Drunk|drunkenness]] as it is consumed. Being drunk will affect the player's coordination ([[controls]]), both on foot and in a [[vehicles|vehicle]], and [[weapon]] accuracy.
Beer Can is an alcoholic beverage, and will therefore increase the player's [[Moodles#Drunk|drunkenness]] as it is consumed. Being drunk will affect the player's coordination ([[controls]]), both on foot and in a [[vehicles|vehicle]], and [[weapon]] accuracy.
Line 37: Line 37:
Beer Can can be found in kitchen and bar [[Containers#Counters|counters]], or [[Containers#Desks|office desks]].
Beer Can can be found in kitchen and bar [[Containers#Counters|counters]], or [[Containers#Desks|office desks]].


== Code ==
==Code==
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=41|incver=65}}
{{Retrieved|version=41|incver=65}}
<pre>   item BeerCan
<pre>
    item BeerCan
{
{
    DisplayCategory = Food,
    DisplayCategory = Food,
Line 64: Line 65:
         EatType = popcan,
         EatType = popcan,
         WorldStaticModel = BeerCan_Ground,
         WorldStaticModel = BeerCan_Ground,
}</pre>
}
</pre>


==See also==
==See also==
*[[Chardonnay]]
*[[White Wine]]
*[[Red Wine]]
*[[Red Wine]]
*[[Beer Bottle]]
*[[Beer Bottle]]


{{Navbox/Consumables}}
{{Navbox food}}

Revision as of 23:43, 4 April 2023

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