Canned Beans: Difference between revisions

From PZwiki
(New infobox + new layout)
Line 1: Line 1:
__NOTOC__
{{languages|Canned Beans}}
{{languages|Canned Beans}}
<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 -->
{{header|Project Zomboid|Items|Food|Non-Perishable Food|Canned Food|type=Food|version=Version 40|incver=14}}{{Infobox food
<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 -->
|display_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 -->
|name_colour=Food
{{Consumables
|name_text_colour=Food
|image = Beans.png
|image=Beans_120px.png
|hunger = -30
|alternate_image=BeansOpen.png
|unhappiness = +10
|alternate_link=
|weight = 0.8
|alternate_name=Opened Canned Beans
}}
<!--GENERAL-->
'''Canned beans''' are a [[Food#Non-Perishable|non-perishable]] food item which are often found in [[Containers#Kitchen Counter|kitchen counters]].<br>
|category=Food
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.
|weight=0.8
 
|days_fresh=2
|days_rotten=4
|packaged=True
<!--NUTRITION-->
|hunger_change=-25
|thirst_change=
|calories=170
|lipids=1
|proteins=7
|carbohydrates=33
<!--EFFECT-->
|unhappy_change=10
<!--TECHNICAL DETAILS-->
|class_name=Base.TinnedBeans<br>Base.OpenBeans
}}'''Canned beans''' are a [[Food#Non-Perishable|non-perishable]] food [[item]].  


== Nutritional information ==
==Usage==
{| border=0 align=left <!-- Table will be in middle of page without this line -->
Canned beans can only be opened with a [[Can Opener|can opener]], and once opened become [[Food#Perishable|perishable]].
|
===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.
{{Consumables2
{{Consumables2
|image = Beans.png
|image = BeansOpen.png
|hunger = -30
|hunger = -30
|unhappiness = +10  
|unhappiness = +10  
|perishable = 1
|perishable = 1
|cookable = 0
|cookable = 0
|dangerous uncooked = 0
|unrotten hunger = -23
|unrotten hunger = -23
|unrotten boredom = +10
|unrotten boredom = +10
|unrotten unhappiness = +10
|unrotten unhappiness = +20
|rotten hunger = -13
|rotten hunger = -13
|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"
===Cooking===
|-
{{Main|Cooking}}
! colspan="3"| Evolved Recipes
{{Cooking table header}}
|-
{{RecipeLookup|2004}}
| Name
{{Crafting table footer}}
| Hunger
 
| Unhappiness
==Distribution==
|-
Canned beans are often found in [[Containers#Kitchen Counter|kitchen counters]].
|[[File:Bowl_of_Beans.png]]<br>Bowl
| style="text-align: center;" |-30
| style="text-align: center;" |0
|-
|}


== Code ==
== Code ==
<br>
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
''Sealed can''
 
<nowiki> item TinnedBeans
''Canned Beans'' [[File:Beans.png|32px]]
Weight = 0.8,
{{Retrieved|version=40|incver=14}}
Type = Food,
<pre> item TinnedBeans
DisplayName = Canned Beans,
Weight = 0.8,
Icon = Beans,
Type = Food,
        Carbohydrates = 33,
DisplayName = Canned Beans,
        Proteins = 7,
Icon = Beans,
        Lipids = 1,
        Carbohydrates = 33,
        Calories = 170,
        Proteins = 7,
        Packaged = TRUE,
        Lipids = 1,
    </nowiki>
        Calories = 170,
''Opened can''
        Packaged = TRUE,</pre>
<nowiki>
 
item OpenBeans
''Opened Canned Beans'' [[File:BeansOpen.png|32px]]
HungerChange = -30,
{{Retrieved|version=40|incver=14}}
Weight = 0.8,
<pre> item OpenBeans
Type = Food,
HungerChange = -30,
DaysTotallyRotten = 4,
Weight = 0.8,
UnhappyChange = 10,
Type = Food,
DisplayName = Open Canned Beans,
DaysTotallyRotten = 4,
Icon = BeansOpen,
UnhappyChange = 10,
DaysFresh = 2,
DisplayName = Opened Canned Beans,
        Carbohydrates = 33,
Icon = BeansOpen,
        Proteins = 7,
DaysFresh = 2,
        Lipids = 1,
        Carbohydrates = 33,
        Calories = 170,
        Proteins = 7,
        Packaged = TRUE,
        Lipids = 1,
    </nowiki>
        Calories = 170,
        Packaged = TRUE,
        ReplaceOnUse    =  TinCanEmpty,</pre>


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

Revision as of 15:50, 9 September 2018

Canned Beans
Canned Beans
Opened Canned Beans
General
Category Food
Encumbrance
Heavy Load
0.8
Days until stale 2 days
Days until rotten 4 days
Packaged True
Nutrition
Hunger
Hunger
-25
Calories
Calories
170
Carbohydrates
Carbohydrates
33
Proteins
Proteins
7
Fat
Fat
1
Effect
Unhappiness
Unhappiness
10
Technical details
Item ID Base.TinnedBeans
Base.OpenBeans

Canned beans are a non-perishable food item.

Usage

Canned beans can only be opened with a can opener, and once opened become perishable.

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. Template:Consumables2

Crafting

Cooking

Main article: Cooking

Template:Cooking table header |- |
| | | ||
||
||
||
||
||
||
||
||
||
||
Template:Crafting table footer

Distribution

Canned beans are often found in kitchen counters.

Code

From items.txt (Project Zomboid directory/media/scripts/)

Canned Beans Beans.png Retrieved: Build 40.14

	item TinnedBeans
		Weight		= 0.8,
		Type		= Food,
		DisplayName	= Canned Beans,
		Icon		= Beans,
        	Carbohydrates 	= 33,
        	Proteins 	= 7,
        	Lipids 		= 1,
        	Calories 	= 170,
        	Packaged 	= TRUE,

Opened Canned Beans BeansOpen.png Retrieved: Build 40.14

	item OpenBeans
		HungerChange		= -30,
		Weight			= 0.8,
		Type			= Food,
		DaysTotallyRotten	= 4,
		UnhappyChange		= 10,
		DisplayName		= Opened Canned Beans,
		Icon			= BeansOpen,
		DaysFresh		= 2,
        	Carbohydrates 		= 33,
        	Proteins 		= 7,
        	Lipids 			= 1,
        	Calories 		= 170,
        	Packaged 		= TRUE,
        	ReplaceOnUse    	=   TinCanEmpty,

See also

Template:Navbox/Consumables