Canned Beans: Difference between revisions
mNo edit summary |
(→Distribution: Add table) |
||
(44 intermediate revisions by 9 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=4 | |days_rotten=4 | ||
|packaged= | |packaged=Yes | ||
<!--NUTRITION--> | <!--NUTRITION--> | ||
|hunger_change=- | |hunger_change=-24 | ||
|calories=170 | |calories=170 | ||
|lipids=1 | |lipids=1 | ||
Line 22: | Line 21: | ||
|carbohydrates=33 | |carbohydrates=33 | ||
<!--EFFECT--> | <!--EFFECT--> | ||
|unhappy_change=10 | |unhappy_change=+10 | ||
<!--TECHNICAL DETAILS--> | <!--TECHNICAL DETAILS--> | ||
| | |item_id=Base.TinnedBeans<br>Base.OpenBeans | ||
}}'''Canned beans''' | }} | ||
'''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 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/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 = - | |hunger = -24 | ||
|unhappiness = +10 | |unhappiness = +10 | ||
|perishable = 1 | |perishable = 1 | ||
|cookable = 0 | |cookable = 0 | ||
|unrotten hunger = - | |unrotten hunger = -18 | ||
|unrotten boredom = +10 | |unrotten boredom = +10 | ||
|unrotten unhappiness = +20 | |unrotten unhappiness = +20 | ||
|rotten hunger = - | |rotten hunger = -10 | ||
|rotten boredom = +20 | |rotten boredom = +20 | ||
|rotten unhappiness = +30 | |rotten unhappiness = +30 | ||
Line 46: | Line 50: | ||
}} | }} | ||
== Crafting | ==Crafting== | ||
{{Main|Cooking}} | {{Main|Cooking}} | ||
{{ | |||
===What it can make=== | |||
{{ | {{Crafting/sandbox2 | ||
|bowl_of_beans_uncooked | |||
}} | |||
===Evolved recipes=== | |||
Canned beans are a [[cooking]] [[Recipe ingredients|ingredient]]. | |||
{{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"> | |||
<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|Bag_FoodCanned}} | |||
| 2 | |||
| 20.0 | |||
|- | |||
| all | |||
| {{ll|FoodBox}} | |||
| 15 | |||
| 10.0 | |||
|- | |||
| all | |||
| {{ll|GroceryBag1}} | |||
| 1 | |||
| 1.0 | |||
|- | |||
| all | |||
| {{ll|GroceryBag3}} | |||
| 1 | |||
| 10.0 | |||
|- | |||
| garagestorage | |||
| {{ll|crate}} | |||
| 4 | |||
| 10.0 | |||
|- | |||
| generalstore | |||
| {{ll|crate}} | |||
| 4 | |||
| 10.0 | |||
|- | |||
| grocerystorage | |||
| {{ll|crate}} | |||
| 4 | |||
| 1.0 | |||
|- | |||
| kitchen | |||
| {{ll|counter}} | |||
| 4 | |||
| 10.0 | |||
|} | |||
</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]]. | |||
==Code== | |||
{{ | {{CodeBox|[[File:Beans.png]] {{ID|Base.TinnedBeans}}<br> | ||
{{CodeSnip | |||
Weight | | lang = java | ||
| line = true | |||
| start = 614 | |||
| source = items_food.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
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, | |||
} | |||
}} | |||
[[File:BeansOpen.png]] {{ID|Base.OpenBeans}}<br> | |||
{{ | {{CodeSnip | ||
| lang = java | |||
| line = true | |||
Weight | | start = 587 | ||
| source = items_food.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item OpenBeans | |||
DaysFresh | { | ||
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, | |||
} | |||
}} | |||
}} | |||
==See also== | ==See also== | ||
Line 95: | Line 199: | ||
*[[Canned Soup]] | *[[Canned Soup]] | ||
{{Navbox | {{Navbox items|preserved_food}} | ||
[[Category:Non-perishable food]] |
Latest revision as of 02:42, 25 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 | Rolls | Chance |
---|---|---|---|
all | Bag_FoodCanned | 2 | 20.0 |
all | FoodBox | 15 | 10.0 |
all | GroceryBag1 | 1 | 1.0 |
all | GroceryBag3 | 1 | 10.0 |
garagestorage | crate | 4 | 10.0 |
generalstore | crate | 4 | 10.0 |
grocerystorage | crate | 4 | 1.0 |
kitchen | counter | 4 | 10.0 |
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,
}