Beer Can: Difference between revisions
(added item model) |
m (Cleanup) |
||
Line 1: | Line 1: | ||
{{ | {{Languages}}{{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= | |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> | <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== | ||
*[[ | *[[White Wine]] | ||
*[[Red Wine]] | *[[Red Wine]] | ||
*[[Beer Bottle]] | *[[Beer Bottle]] | ||
{{Navbox | {{Navbox food}} |
Revision as of 23:43, 4 April 2023
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, }