Canned Beans: Difference between revisions

From PZwiki
m (Automated Formatting)
(45 intermediate revisions by 9 users not shown)
Line 1: Line 1:
__NOTOC__
{{Header|Project Zomboid|Items|Food|Canned food}}
{{languages|Canned Beans}}
{{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
|rottencooked unhappiness = 0
|cooked hunger = 0
|cooked unhappiness = 0
|cooked boredom = 0
|burned hunger = 0
|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 ==
==Crafting==
{| class="wikitable"
{{Main|Cooking}}
|-
 
! colspan="3"| Evolved Recipes
===What it can make===
|-
{{Crafting/sandbox2
| Name
|bowl_of_beans_uncooked
| Hunger
}}
| Unhappiness
 
|-
===Evolved recipes===
|[[File:Bowl_of_Beans.png]]<br>Bowl
Canned beans are a [[cooking]] [[Recipe ingredients|ingredient]].
| style="text-align: center;" |-30
{{EvolvedRecipesForItem|omelette=8|soup=24|stew=24|rice=24|sandwich=8|toast=8|salad=8}}
| style="text-align: center;" |0
 
|-
==Distribution==
|}
Canned beans can often be found in [[Containers#Kitchen Counter|kitchen counters]].
 
==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,
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,
}
}}


== Code ==
[[File:BeansOpen.png]] {{ID|Base.OpenBeans}}<br>
<br>
{{CodeSnip
''Sealed can''
  | lang = java
<nowiki> item TinnedBeans
  | line = true
Weight = 0.8,
  | start = 587
Type = Food,
  | source = items_food.txt
DisplayName = Canned Beans,
  | retrieved = true
Icon = Beans,
  | version = 41.78.16
        Carbohydrates = 33,
  | code =
        Proteins = 7,
item OpenBeans
        Lipids = 1,
{
        Calories = 170,
DisplayName = Opened Canned Beans,
        Packaged = TRUE,
DisplayCategory = Food,
    </nowiki>
Type = Food,
''Opened can''
Weight = 0.8,
<nowiki>
Icon = BeansOpen,
item OpenBeans
EvolvedRecipe = Omelette:8;Soup:24;Stew:24;RicePot:24;RicePan:24;Sandwich:8;Sandwich Baguette:8;Toast:8;Salad:8,
HungerChange = -30,
EvolvedRecipeName = Bean,
Weight = 0.8,
FoodType = Bean,
Type = Food,
CannedFood = TRUE,
DaysTotallyRotten = 4,
EatType = can,
UnhappyChange = 10,
Packaged = TRUE,
DisplayName = Open Canned Beans,
ReplaceOnUse = TinCanEmpty,
Icon = BeansOpen,
DaysFresh = 2,
DaysFresh = 2,
DaysTotallyRotten = 4,
        Carbohydrates = 33,
HungerChange = -24,
        Proteins = 7,
UnhappyChange = 10,
        Lipids = 1,
Calories = 170,
        Calories = 170,
Carbohydrates = 33,
        Packaged = TRUE,
Lipids = 1,
    </nowiki>
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