Canned Beans: Difference between revisions

From PZwiki
mNo edit summary
m (Automated Formatting)
(47 intermediate revisions by 10 users not shown)
Line 1: Line 1:
__NOTOC__
{{Header|Project Zomboid|Items|Food|Canned food}}
{{languages}}
{{Page version|41.78.16}}
<div class="header" style="margin: 5px; align: right; background: #CEF2E0; padding: 13px; text-align: left; font-size: 100%; color:#000000; border: 1px solid #A3BFB1"> <!-- Code for Background Colour -->
{{Infobox item
<div style="float: right;background: #CEF2E0;border: 1px solid #A3BFB1; margin: -30pt -10.5pt">    '''Page Updated @ Version: 34.28'''    </div><!-- Code for Version Tag at top -->
|name=Canned Beans
<div style="float: left;background: #CEF2E0;border: 1px solid #A3BFB1; margin: -30pt -10.5pt">   '''Navigation''' - [[:Category:Main|Main Index]] -> [[:Category:The_Game_World|The Game World]] -> [[:Category:Items|Items]] -> [[:Category:Consumables|Consumables]] -> [[:Category:Food|Food]] -> [[:Category:Non-Perishable_Food|Non Perishable Foods]] -> [[{{PAGENAME}}]]   </div><!-- Code for Navigation Bar at top, special blank char's before '''Navigation''' to give space -->
|model=BeansClosed_Model.png
{{Consumables
|icon=Beans.png
|image = Beans.png
|icon_name=Canned Beans
|hunger = -30
|model2=BeansOpen_Model.png
|unhappiness = +10  
|icon2=BeansOpen.png
|weight = 0.8
|icon_name2=Opened Canned Beans
|category=Food
|weight=0.8
|days_fresh=2
|days_rotten=4
|packaged=Yes
<!--NUTRITION-->
|hunger_change=-24
|calories=170
|lipids=1
|proteins=7
|carbohydrates=33
<!--EFFECT-->
|unhappy_change=+10
<!--TECHNICAL DETAILS-->
|item_id=Base.TinnedBeans<br>Base.OpenBeans
}}
}}
'''Canned beans''' are a [[Food#Non-Perishable|non-perishable]] food item which are often found in [[Containers#Kitchen Counter|kitchen counters]].<br>
'''Canned beans''' (written as ''BEANS'' on the model) is a non-perishable [[food]] [[Items|item]].
Canned beans can only be opened with a [[Can Opener#|can opener]], and once opened become a perishable item. An opened can of beans takes two in-game days to go stale, and four in-game days to rot.


==Usage==
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
}}


== Nutritional information ==
===Consumable properties===
{| border=0 align=left <!-- Table will be in middle of page without this line -->
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
{{Consumables2
|image = BeansOpen.png
|image = Beans.png
|hunger = -24
|hunger = -30
|unhappiness = +10
|unhappiness = +10  
|perishable = 1
|perishable = 1
|cookable = 0
|cookable = 0
|dangerous uncooked = 0
|unrotten hunger = -18
|unrotten hunger = -23
|unrotten boredom = +10
|unrotten boredom = +10
|unrotten unhappiness = +10
|unrotten unhappiness = +20
|rotten hunger = -13
|rotten hunger = -10
|rotten boredom = +20
|rotten boredom = +20
|rotten unhappiness = +20
|rotten unhappiness = +30
|unrottencooked hunger = 0
|rotten image = BeansOpen.png
|unrottencooked unhappiness = 0
}}
|unrottencooked boredom = 0
 
|rottencooked hunger = 0
==Crafting==
|rottencooked unhappiness = 0
{{Main|Cooking}}
|cooked hunger = 0
 
|cooked unhappiness = 0
===What it can make===
|cooked boredom = 0
{{Crafting/sandbox2
|burned hunger = 0
|bowl_of_beans_uncooked
|burned boredom = 0
|burned unhappiness = 0
|burned image =  
|rotten image = CanBeans.png
|cooked image =
}}
}}
|}
<br><br><br><br><br><br><br><br><br><br><br>
'''Its nutritional values are as follows:'''<br>
Carbohydrates = 33 <br>
Proteins = 7 <br>
Lipids = 1 <br>
Calories = 170 <br><br>


== Evolved recipes ==
===Evolved recipes===
{| class="wikitable"
Canned beans are a [[cooking]] [[Recipe ingredients|ingredient]].
|-
{{EvolvedRecipesForItem|omelette=8|soup=24|stew=24|rice=24|sandwich=8|toast=8|salad=8}}
! colspan="3"| Evolved Recipes
 
|-
==Distribution==
| Name
Canned beans can often be found in [[Containers#Kitchen Counter|kitchen counters]].
| Hunger Added
 
| Happiness Added
==Code==
|-
{{CodeBox|[[File:Beans.png]] {{ID|Base.TinnedBeans}}<br>
|[[File:Bowl_of_Beans.png]]<br>Bowl
{{CodeSnip
| style="text-align: center;" |+30
  | lang = java
| style="text-align: center;" |+10
  | line = true
|-
  | start = 614
|}
  | source = items_food.txt
== Code ==
  | retrieved = true
<br>
  | version = 41.78.16
''Sealed can''
  | code =
<nowiki> item TinnedBeans
item TinnedBeans
Weight = 0.8,
{
Type = Food,
DisplayName = Canned Beans,
DisplayName = Canned Beans,
DisplayCategory = Food,
Icon = Beans,
Type = Food,
        Carbohydrates = 33,
Weight = 0.8,
        Proteins = 7,
Icon = Beans,
        Lipids = 1,
CannedFood = TRUE,
        Calories = 170,
CantEat = TRUE,
        Packaged = TRUE,
Packaged = TRUE,
    </nowiki>
Calories = 170,
''Opened can''
Carbohydrates = 33,
<nowiki>
Lipids = 1,
item OpenBeans
Proteins = 7,
HungerChange = -30,
StaticModel = CanClosed,
Weight = 0.8,
WorldStaticModel = CanClosed,
Type = Food,
Tags = HasMetal,
DaysTotallyRotten = 4,
}
UnhappyChange = 10,
}}
DisplayName = Open Canned Beans,
 
Icon = BeansOpen,
[[File:BeansOpen.png]] {{ID|Base.OpenBeans}}<br>
DaysFresh = 2,
{{CodeSnip
        Carbohydrates = 33,
  | lang = java
        Proteins = 7,
  | line = true
        Lipids = 1,
  | start = 587
        Calories = 170,
  | source = items_food.txt
        Packaged = TRUE,
  | retrieved = true
    </nowiki>
  | version = 41.78.16
  | code =
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,
}
}}
}}


==See also==
==See also==
{{Navbox/Consumables}}
*[[Canned Bolognese]]
[[Category:Consumables]]
*[[Canned Mushroom Soup]]
[[Category:Food]]
*[[Canned Soup]]
[[Category:Non-Perishable_Food]]
 
[[Category:Version 34.28]]
{{Navbox items|preserved_food}}
 
 
[[Category:Non-perishable food]]

Revision as of 07:12, 14 April 2024

Project ZomboidItemsFoodCanned foodCanned Beans
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Canned Beans
BeansClosed Model.png
BeansOpen Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.8
Properties
Packaged
Yes
Days fresh
2 days
Days until rotten
4 days
Nutrition
HungerMoodle Icon Hungry.png
-24
CaloriesCalories
170
CarbohydratesCarbohydrates
33
ProteinsProteins
7
FatFat
1
Effect
UnhappinessMoodle Icon Unhappy.png
+10
Technical
Item ID
Base.TinnedBeans
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
BeansOpen.png
Opened Canned Beans
Beans.png Canned Beans ×1 CanOpener.png
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

BeansOpen.png
Hunger: -24

Unhappiness: +10

BeansOpen.png
Hunger: -18
Boredom: +10
Unhappiness: +20

BeansOpen.png
Hunger: -10
Boredom: +20
Unhappiness: +30
Dangerous, will cause sickness.

Crafting

Main article: Cooking

What it can make

Product Ingredients Tools Requirements Workstation XP
BowlFull.png
Bowl of Beans (Uncooked)

Bowl.png Bowl ×1
Beans.png Canned Beans ×1
CanOpener.png
Can Opener
none none 0.75 Cooking

Evolved recipes

Canned beans are a cooking ingredient.

Product Nutrition
Soup
Soup
24
Stew
Stew
24
Salad
Salad
8
Sandwich
Sandwich
8
Rice Pot/Saucepan
Rice Pot/Saucepan
24
Omelette
Omelette
8
Toast
Toast
8

Distribution

Canned beans can often be found in kitchen counters.

Code

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

Beans.png Base.TinnedBeans
Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
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,
	}

BeansOpen.png Base.OpenBeans
Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
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,
	}

See also