Beer Can: Difference between revisions

From PZwiki
m (Automated linking update)
(→‎Distribution: Add table)
(7 intermediate revisions by one other user not shown)
Line 3: Line 3:
{{Infobox item
{{Infobox item
|name=Beer Can
|name=Beer Can
|model=BeerCan Model.png
|model=BeerCan_Model.png
|icon=BeerCan.png
|icon=BeerCan.png
|icon_name=Beer Can
|icon_name=Beer Can
Line 10: Line 10:
|weight=0.3
|weight=0.3
|always_welcome_gift=true
|always_welcome_gift=true
|function=
|packaged=True
|packaged=True
|cant_be_frozen=True
|cant_be_frozen=True
Line 26: Line 25:
|item_id={{ID|Base.BeerCan}}
|item_id={{ID|Base.BeerCan}}
}}
}}
'''Beer Can''', is an alcoholic non-perishable [[food]] [[Items|item]].
'''Beer Can''', is an alcoholic non-perishable [[food]] [[Items|item]].


==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 [[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.


==Distribution==
==Distribution==
The loot distributions can be found in the table(s) below.
<!--BOT FLAG|BeerCan|41.78.16-->
{{clear}}
<div class="togglebox theme-red">
    <div>BeerCan distribution
        <span class="mw-customtoggle-togglebox-BeerCan" title="{{int:show}} / {{int:hide}}" style="float:right; padding-right:30px; padding-top:4px; font-size:0.7em; font-weight:normal;">{{int:show}} / {{int:hide}}</span></div>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-BeerCan">
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Containers}}
    ! Building / Room
    ! Container
    ! Rolls
    ! Chance
    |-
    | all
    | {{ll|Outfit_Biker}}
    | 1
    | 10.0
    |-
    | all
    | {{ll|fridge}}
    | 4
    | 1.0
    |-
    | all
    | {{ll|fridge}}
    | 4
    | 4.0
    |-
    | bandkitchen
    | {{ll|counter}}
    | 4
    | 10.0
    |-
    | bandkitchen
    | {{ll|counter}}
    | 4
    | 20.0
    |-
    | bandkitchen
    | {{ll|fridge}}
    | 4
    | 10.0
    |-
    | bandkitchen
    | {{ll|fridge}}
    | 4
    | 20.0
    |-
    | bar
    | {{ll|counter}}
    | 4
    | 20.0
    |-
    | bar
    | {{ll|counter}}
    | 4
    | 10.0
    |-
    | bar
    | {{ll|fridge}}
    | 4
    | 20.0
    |-
    | bar
    | {{ll|fridge}}
    | 4
    | 10.0
    |-
    | brewery
    | {{ll|crate}}
    | 4
    | 10.0
    |-
    | brewery
    | {{ll|crate}}
    | 4
    | 20.0
    |-
    | brewery
    | {{ll|crate}}
    | 4
    | 50.0
    |-
    | drugshack
    | {{ll|counter}}
    | 4
    | 20.0
    |-
    | drugshack
    | {{ll|counter}}
    | 4
    | 10.0
    |-
    | kitchen
    | {{ll|counter}}
    | 4
    | 2.0
    |-
    | liquorstore
    | {{ll|crate}}
    | 4
    | 10.0
    |-
    | liquorstore
    | {{ll|crate}}
    | 4
    | 20.0
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-BeerCan" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|BeerCan|41.78.16-->
<!--BOT FLAG|BeerCanEmpty|41.78.16-->
{{clear}}
<div class="togglebox theme-red">
    <div>BeerCanEmpty distribution
        <span class="mw-customtoggle-togglebox-BeerCanEmpty" title="{{int:show}} / {{int:hide}}" style="float:right; padding-right:30px; padding-top:4px; font-size:0.7em; font-weight:normal;">{{int:show}} / {{int:hide}}</span></div>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-BeerCanEmpty">
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Containers}}
    ! Building / Room
    ! Container
    ! Rolls
    ! Chance
    |-
    | all
    | {{ll|bin}}
    | 4
    | 2.0
    |-
    | bar
    | {{ll|bin}}
    | 4
    | 10.0
    |-
    | bar
    | {{ll|bin}}
    | 4
    | 20.0
    |-
    | motelroomoccupied
    | {{ll|bin}}
    | 4
    | 2.0
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-BeerCanEmpty" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|BeerCanEmpty|41.78.16-->
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]].


Line 40: Line 193:
| {{CodeSnip
| {{CodeSnip
   | lang = java
   | lang = java
   | line = false
   | line = true
  | start = 3523
   | source = items_food.txt
   | source = items_food.txt
   | retrieved = true
   | retrieved = true
   | version = 41.65
   | version = 41.78.16
   | code =
   | code =
item BeerCan
item BeerCan
{
{
    DisplayCategory       = Food,
DisplayName = Beer Can,
    HungerChange          = -8,
DisplayCategory = Food,
    Weight               = 0.3,
Type = Food,
    AlwaysWelcomeGift    = TRUE,
Weight = 0.3,
    Type                  = Food,
Icon = BeerCan,
    UnhappyChange        = -15,
EvolvedRecipe = Soup:8;Stew:8;Beer:9;Beer2:9,
    ThirstChange          = -13,
FoodType = Beer,
    DisplayName          = Beer Can,
Alcoholic = TRUE,
    ReplaceOnUse         = BeerCanEmpty,
CantBeFrozen = TRUE,
    Alcoholic            = TRUE,
EatType = popcan,
    Icon                  = BeerCan,
Packaged = TRUE,
    CustomContextMenu    = Drink,
ReplaceOnUse = BeerCanEmpty,
    CustomEatSound        = DrinkingFromCan,
HungerChange = -8,
    Carbohydrates         = 39,
ThirstChange = -13,
    Proteins              = 0,
UnhappyChange = -15,
    Lipids                = 0,
Calories = 160,
    Calories              = 160,
Carbohydrates = 39,
    Packaged              = TRUE,
Lipids = 0,
    CantBeFrozen          = TRUE,
Proteins = 0,
    StaticModel          = BeerCan,
CustomContextMenu = Drink,
    EatType              = popcan,
CustomEatSound = DrinkingFromCan,
    WorldStaticModel      = BeerCan_Ground,
StaticModel = BeerCan,
}
WorldStaticModel = BeerCan_Ground,
  }}
Tags = LowAlcohol;HasMetal,
EvolvedRecipeName = Beer,
 
}
}}
}}
}}


Line 78: Line 236:
*[[White Wine]]
*[[White Wine]]


{{Navbox food}}
{{Navbox items|drinks}}
 
 
[[Category:Non-perishable food]]
[[Category:Non-perishable food]]

Revision as of 02:27, 25 April 2024

Project ZomboidItemsFoodDrinksBeer Can
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
BeerCan Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.3
Properties
Packaged
True
Nutrition
HungerMoodle Icon Hungry.png
-8
ThirstMoodle Icon Thirsty.png
-13
CaloriesCalories
160
CarbohydratesCarbohydrates
39
ProteinsProteins
0
FatFat
0
Effect
UnhappinessMoodle Icon Unhappy.png
-15
Sterilize powerDisinfection
?
Technical
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

The loot distributions can be found in the table(s) below.

BeerCan distribution Show / Hide
Containers
Building / Room Container Rolls Chance
all Outfit_Biker 1 10.0
all fridge 4 1.0
all fridge 4 4.0
bandkitchen counter 4 10.0
bandkitchen counter 4 20.0
bandkitchen fridge 4 10.0
bandkitchen fridge 4 20.0
bar counter 4 20.0
bar counter 4 10.0
bar fridge 4 20.0
bar fridge 4 10.0
brewery crate 4 10.0
brewery crate 4 20.0
brewery crate 4 50.0
drugshack counter 4 20.0
drugshack counter 4 10.0
kitchen counter 4 2.0
liquorstore crate 4 10.0
liquorstore crate 4 20.0
BeerCanEmpty distribution Show / Hide
Containers
Building / Room Container Rolls Chance
all bin 4 2.0
bar bin 4 10.0
bar bin 4 20.0
motelroomoccupied bin 4 2.0

Beer Can can be found in kitchen and bar counters, or office desks.

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item BeerCan
	{
		DisplayName = Beer Can,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.3,
		Icon = BeerCan,
		EvolvedRecipe = Soup:8;Stew:8;Beer:9;Beer2:9,
		FoodType = Beer,
		Alcoholic = TRUE,
		CantBeFrozen = TRUE,
		EatType = popcan,
		Packaged = TRUE,
		ReplaceOnUse = BeerCanEmpty,
		HungerChange = -8,
		ThirstChange = -13,
		UnhappyChange = -15,
		Calories = 160,
		Carbohydrates = 39,
		Lipids = 0,
		Proteins = 0,
		CustomContextMenu = Drink,
		CustomEatSound = DrinkingFromCan,
		StaticModel = BeerCan,
		WorldStaticModel = BeerCan_Ground,
		Tags = LowAlcohol;HasMetal,
		EvolvedRecipeName = Beer,

	}

See also