Canned Beans: Difference between revisions
m (Remove obsolete template) |
(Update distribution file) |
||
(27 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{{Header|Project Zomboid|Items|Food|Canned food}} | |||
| | {{Page version|41.78.16}} | ||
| | {{Infobox item | ||
| | |name=Canned Beans | ||
| | |model=BeansClosed_Model.png | ||
| | |icon=Beans.png | ||
| | |icon_name=Canned Beans | ||
|model2=BeansOpen_Model.png | |||
|icon2=BeansOpen.png | |||
|icon_name2=Opened Canned Beans | |||
|category=Food | |category=Food | ||
|weight=0.8 | |weight=0.8 | ||
|days_fresh=2 | |days_fresh=2 | ||
|days_rotten= | |days_rotten=4 | ||
|packaged = Yes | |packaged=Yes | ||
<!--NUTRITION--> | <!--NUTRITION--> | ||
|hunger_change=-24 | |hunger_change=-24 | ||
Line 22: | Line 23: | ||
|unhappy_change=+10 | |unhappy_change=+10 | ||
<!--TECHNICAL DETAILS--> | <!--TECHNICAL DETAILS--> | ||
| | |item_id=Base.TinnedBeans<br>Base.OpenBeans | ||
}}'''Canned beans''' is a | }} | ||
'''Canned beans''' (written as ''BEANS'' on the model) is a non-perishable [[food]] [[Items|item]]. | |||
==Usage== | ==Usage== | ||
Canned beans can only be opened with a [[Can Opener|can opener]], and once opened they become [[Food#Perishable|perishable]]. | Canned beans can only be opened with a [[Can Opener|can opener]], and once opened they become [[Food#Perishable|perishable]]. | ||
{{Crafting | {{Crafting/sandbox2 | ||
|opened_canned_beans | |||
}} | |||
===Consumable properties=== | ===Consumable properties=== | ||
Opened canned beans can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish. | Opened canned beans can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish. | ||
{{ | {{Consumables | ||
|image = BeansOpen.png | |image = BeansOpen.png | ||
|hunger = -24 | |hunger = -24 | ||
|unhappiness = +10 | |unhappiness = +10 | ||
|perishable = 1 | |perishable = 1 | ||
|cookable = 0 | |cookable = 0 | ||
Line 48: | Line 50: | ||
}} | }} | ||
== Crafting == | ==Crafting== | ||
{{Main|Cooking}} | {{Main|Cooking}} | ||
===What it can make=== | ===What it can make=== | ||
{{Crafting | {{Crafting/sandbox2 | ||
|bowl_of_beans_uncooked | |||
}} | |||
===Evolved recipes=== | ===Evolved recipes=== | ||
Canned beans | Canned beans are a [[cooking]] [[Recipe ingredients|ingredient]]. | ||
{{EvolvedRecipesForItem| | {{EvolvedRecipesForItem|omelette=8|soup=24|stew=24|rice=24|sandwich=8|toast=8|salad=8}} | ||
==Distribution== | ==Distribution== | ||
The loot distributions can be found in the table(s) below. | |||
<!--BOT FLAG|TinnedBeans|41.78.16--> | |||
{{Clear}} | |||
<div class="togglebox theme-red"> | |||
<div>TinnedBeans distribution | |||
<span class="mw-customtoggle-togglebox-TinnedBeans" 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-TinnedBeans"> | |||
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits. <div class="toggle-content"> | |||
<div class="pz-container"> | |||
<div id="containers" style="flex-basis:30%"> | |||
{| class="wikitable theme-red" style="margin-right: 15px; width: 95%;" | |||
|+ {{ll|Containers}} | |||
! Building/Room | |||
! Container | |||
! Effective chance | |||
|- | |||
| Bag_FoodCanned | |||
| {{ll|Bag_FoodCanned}} | |||
| 23.28% | |||
|- | |||
| Bag_SurvivorBag | |||
| {{ll|Bag_SurvivorBag}} | |||
| 23.28% | |||
|- | |||
| FoodCache1 | |||
| {{ll|FoodBox}} | |||
| 62.98% | |||
|- | |||
| GroceryBag1 | |||
| {{ll|GroceryBag1}} | |||
| 1.01% | |||
|- | |||
| GroceryBag3 | |||
| {{ll|GroceryBag3}} | |||
| 6.41% | |||
|- | |||
| SafehouseLoot | |||
| {{ll|counter}} | |||
| 23.28% | |||
|- | |||
| SurvivorCache1 | |||
| {{ll|SurvivorCrate}} | |||
| 23.28% | |||
|- | |||
| SurvivorCache1 | |||
| {{ll|counter}} | |||
| 23.28% | |||
|- | |||
| SurvivorCache2 | |||
| {{ll|SurvivorCrate}} | |||
| 23.28% | |||
|- | |||
| SurvivorCache2 | |||
| {{ll|counter}} | |||
| 23.28% | |||
|- | |||
| garagestorage | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| generalstore | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| generalstore | |||
| {{ll|shelves}} | |||
| 23.28% | |||
|- | |||
| generalstorestorage | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| generalstorestorage | |||
| {{ll|shelves}} | |||
| 23.28% | |||
|- | |||
| gigamart | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| gigamart | |||
| {{ll|shelves}} | |||
| 23.28% | |||
|- | |||
| grocery | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| grocery | |||
| {{ll|shelves}} | |||
| 23.28% | |||
|- | |||
| grocery | |||
| {{ll|smallcrate}} | |||
| 23.28% | |||
|- | |||
| grocerystorage | |||
| {{ll|crate}} | |||
| 3.98% | |||
|- | |||
| grocerystorage | |||
| {{ll|metal_shelves}} | |||
| 3.98% | |||
|- | |||
| grocerystorage | |||
| {{ll|smallcrate}} | |||
| 3.98% | |||
|- | |||
| kitchen | |||
| {{ll|counter}} | |||
| 23.28% | |||
|- | |||
| kitchen | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| kitchen | |||
| {{ll|overhead}} | |||
| 23.28% | |||
|- | |||
| kitchen | |||
| {{ll|shelves}} | |||
| 23.28% | |||
|- | |||
| livingroom | |||
| {{ll|counter}} | |||
| 23.28% | |||
|- | |||
| livingroom | |||
| {{ll|overhead}} | |||
| 23.28% | |||
|- | |||
| storageunit | |||
| {{ll|crate}} | |||
| 23.28% | |||
|} | |||
</div> | |||
</div><div style="clear: both;"></div> | |||
</div></div><div class="toggle large mw-customtoggle-togglebox-TinnedBeans" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|TinnedBeans|41.78.16--> | |||
Canned beans can often be found in [[Containers#Kitchen Counter|kitchen counters]]. | Canned beans can often be found in [[Containers#Kitchen Counter|kitchen counters]]. | ||
==Code== | ==Code== | ||
{{CodeBox|[[File:Beans.png]] {{ID|Base.TinnedBeans}}<br> | |||
{{CodeSnip | |||
{{ | | lang = java | ||
| line = true | |||
| start = 614 | |||
| source = items_food.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item TinnedBeans | |||
{ | { | ||
DisplayName = Canned Beans, | DisplayName = Canned Beans, | ||
Line 90: | Line 233: | ||
StaticModel = CanClosed, | StaticModel = CanClosed, | ||
WorldStaticModel = CanClosed, | WorldStaticModel = CanClosed, | ||
} | Tags = HasMetal, | ||
} | |||
}} | |||
[[File:BeansOpen.png]] {{ID|Base.OpenBeans}}<br> | |||
{{ | {{CodeSnip | ||
| lang = java | |||
| line = true | |||
| start = 587 | |||
| source = items_food.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item OpenBeans | |||
{ | { | ||
DisplayName = Opened Canned Beans, | DisplayName = Opened Canned Beans, | ||
Line 118: | Line 270: | ||
StaticModel = CanOpen, | StaticModel = CanOpen, | ||
WorldStaticModel = CanOpen, | WorldStaticModel = CanOpen, | ||
} | Tags = HasMetal, | ||
} | |||
}} | |||
}} | |||
==See also== | ==See also== | ||
Line 126: | Line 280: | ||
*[[Canned Soup]] | *[[Canned Soup]] | ||
{{Navbox | {{Navbox items|preserved_food}} | ||
[[Category:Non-perishable food]] |
Latest revision as of 12:15, 30 April 2024
Base.OpenBeans
Canned beans (written as BEANS on the model) is a non-perishable food item.
Usage
Canned beans can only be opened with a can opener, and once opened they become perishable.
Product | Ingredients | Tools | Requirements | Workstation | XP |
---|---|---|---|---|---|
Opened Canned Beans |
Canned Beans ×1 | Can Opener |
none | none | none |
Consumable properties
Opened canned beans can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.
Fresh | Stale | Rotten |
---|---|---|
|
|
|
Crafting
- Main article: Cooking
What it can make
Product | Ingredients | Tools | Requirements | Workstation | XP |
---|---|---|---|---|---|
Bowl of Beans (Uncooked) |
Bowl ×1 Canned Beans ×1 |
Can Opener |
none | none | 0.75 Cooking |
Evolved recipes
Canned beans are a cooking ingredient.
Product | Nutrition |
---|---|
Soup |
24 |
Stew |
24 |
Salad |
8 |
Sandwich |
8 |
Rice Pot/Saucepan |
24 |
Omelette |
8 |
Toast |
8 |
Distribution
The loot distributions can be found in the table(s) below.
Building/Room | Container | Effective chance |
---|---|---|
Bag_FoodCanned | Bag_FoodCanned | 23.28% |
Bag_SurvivorBag | Bag_SurvivorBag | 23.28% |
FoodCache1 | FoodBox | 62.98% |
GroceryBag1 | GroceryBag1 | 1.01% |
GroceryBag3 | GroceryBag3 | 6.41% |
SafehouseLoot | counter | 23.28% |
SurvivorCache1 | SurvivorCrate | 23.28% |
SurvivorCache1 | counter | 23.28% |
SurvivorCache2 | SurvivorCrate | 23.28% |
SurvivorCache2 | counter | 23.28% |
garagestorage | crate | 23.28% |
generalstore | crate | 23.28% |
generalstore | shelves | 23.28% |
generalstorestorage | crate | 23.28% |
generalstorestorage | shelves | 23.28% |
gigamart | crate | 23.28% |
gigamart | shelves | 23.28% |
grocery | crate | 23.28% |
grocery | shelves | 23.28% |
grocery | smallcrate | 23.28% |
grocerystorage | crate | 3.98% |
grocerystorage | metal_shelves | 3.98% |
grocerystorage | smallcrate | 3.98% |
kitchen | counter | 23.28% |
kitchen | crate | 23.28% |
kitchen | overhead | 23.28% |
kitchen | shelves | 23.28% |
livingroom | counter | 23.28% |
livingroom | overhead | 23.28% |
storageunit | crate | 23.28% |
Canned beans can often be found in kitchen counters.
Code
Base.TinnedBeans
Source: ProjectZomboid\media\scripts\items_food.txt
item TinnedBeans
{
DisplayName = Canned Beans,
DisplayCategory = Food,
Type = Food,
Weight = 0.8,
Icon = Beans,
CannedFood = TRUE,
CantEat = TRUE,
Packaged = TRUE,
Calories = 170,
Carbohydrates = 33,
Lipids = 1,
Proteins = 7,
StaticModel = CanClosed,
WorldStaticModel = CanClosed,
Tags = HasMetal,
}
Base.OpenBeans
Source: ProjectZomboid\media\scripts\items_food.txt
item OpenBeans
{
DisplayName = Opened Canned Beans,
DisplayCategory = Food,
Type = Food,
Weight = 0.8,
Icon = BeansOpen,
EvolvedRecipe = Omelette:8;Soup:24;Stew:24;RicePot:24;RicePan:24;Sandwich:8;Sandwich Baguette:8;Toast:8;Salad:8,
EvolvedRecipeName = Bean,
FoodType = Bean,
CannedFood = TRUE,
EatType = can,
Packaged = TRUE,
ReplaceOnUse = TinCanEmpty,
DaysFresh = 2,
DaysTotallyRotten = 4,
HungerChange = -24,
UnhappyChange = 10,
Calories = 170,
Carbohydrates = 33,
Lipids = 1,
Proteins = 7,
StaticModel = CanOpen,
WorldStaticModel = CanOpen,
Tags = HasMetal,
}