Canned Peas: Difference between revisions

From PZwiki
mNo edit summary
(New infobox + new layout)
Line 1: Line 1:
__NOTOC__
{{languages|Canned Peas}}
{{languages|}}
{{header|Project Zomboid|Items|Food|Non-Perishable Food|Canned Food|type=Food|version=Version 40|incver=14}}{{Infobox food
<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 -->
|display_name=Canned Peas
<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_colour=Food
<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_text_colour=Food
{{Consumables
|image=CannedPeas_120px.png
|image = CannedPeas.png
|alternate_image=CannedPeasOpen.png
|hunger = -15
|alternate_link=
|weight = 0.7
|alternate_name=Opened Canned Peas
}}
<!--GENERAL-->
'''Canned peas''' are a [[Food#Non-Perishable|non-perishable]] food item which are often found in [[Containers#Kitchen_Counter|kitchen counters]].<br>
|category=Food
Canned peas can only be opened with a [[Can Opener#|can opener]], and once opened become a perishable item. An opened can of canned peas takes two in-game days to go stale, and four in-game days to rot.
|weight=0.8
 
|days_fresh=3
|days_rotten=5
|packaged=True
<!--NUTRITION-->
|hunger_change=-15
|thirst_change=-3
|calories=280
|lipids=0
|proteins=14
|carbohydrates=52.5
<!--TECHNICAL DETAILS-->
|class_name=Base.CannedPeas<br>Base.CannedPeasOpen
}}'''Canned peas''' is 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 peas can only be opened with a [[Can Opener|can opener]], and once opened become [[Food#Perishable|perishable]].
|
===Consumable properties===
Opened canned peas 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 = CannedPeasOpen.png
|image = CannedPeasOpen.png
Line 31: Line 44:
|rotten image = CannedPeasOpen.png
|rotten image = CannedPeasOpen.png
}}
}}
|}
<br><br><br><br><br><br><br><br><br><br><br>
'''Its nutritional values are as follows:'''<br>
Carbohydrates = 52.5 <br>
Proteins = 14 <br>
Lipids = 0 <br>
Calories = 280 <br><br>


== Evolved recipes ==
==Crafting==
<!-- Information for template 'Evolved Recipes', used to explain how much of the food can be put into a meal. -->
===Cooking===
{{EvolvedRecipesForItem
{{Main|Cooking}}
|soup=15|stew=15|stirfry=15|roastedvegetables=15|ricepot=15|ricepan=15|}}
Canned peas can be used in various cooking recipes.
====Evolved recipes====
{{EvolvedRecipesForItem|soup=15|stew=15|stirfry=15|roastedvegetables=15|ricepot=15|ricepan=15}}
 
==Distribution==
Canned peas is often found in [[Containers#Kitchen Counter|kitchen counters]].


== Code ==
== Code ==
<br>
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
''Sealed can''
 
<nowiki>
''Canned Peas'' [[File:CannedPeas.png|32px]]
    item CannedPeas
{{Retrieved|version=40|incver=14}}
        Weight = 0.7,
<pre> item CannedPeas
        Type = Food,
        Weight = 0.7,
        DisplayName = Canned Peas,
        Type = Food,
        Icon = CannedPeas,
        DisplayName = Canned Peas,
        Carbohydrates = 52.5,
        Icon = CannedPeas,
        Proteins = 14,
        Carbohydrates = 52.5,
        Lipids = 0,
        Proteins = 14,
        Calories = 280,
        Lipids = 0,
        Packaged = TRUE,
        Calories = 280,
</nowiki>
        Packaged = TRUE,</pre>
''Opened can''
 
<nowiki>
''Opened Canned Peas'' [[File:CannedPeasOpen.png|32px]]
    item CannedPeasOpen
{{Retrieved|version=40|incver=14}}
        Weight = 0.7,
<pre> item CannedPeasOpen
        Type = Food,
        Weight = 0.7,
        DisplayName = Open Canned Peas,
        Type = Food,
        Icon = CannedPeasOpen,
        DisplayName = Open Canned Peas,
        HungerChange = -15,
        Icon = CannedPeasOpen,
        EvolvedRecipe = Soup:15;Stew:15;Stir fry:15;Roasted Vegetables:15;RicePot:15;RicePan:15,
        HungerChange = -15,
        DaysFresh = 2,
        EvolvedRecipe = Soup:15;Stew:15;Stir fry:15;Roasted Vegetables:15;RicePot:15;RicePan:15,
        DaysTotallyRotten = 4,
        DaysFresh = 2,
        Carbohydrates = 52.5,
        DaysTotallyRotten = 4,
        Proteins = 14,
        Carbohydrates = 52.5,
        Lipids = 0,
        Proteins = 14,
        Calories = 280,
        Lipids = 0,
        Packaged = TRUE,
        Calories = 280,
        FoodType    = Vegetables,
        Packaged = TRUE,
        EvolvedRecipeName = Canned Peas,
        FoodType    = Vegetables,
    </nowiki>
        EvolvedRecipeName = Canned Peas,
        ReplaceOnUse    =  TinCanEmpty,</pre>


{{Navbox/Consumables}}
{{Navbox/Consumables}}
[[Category:Consumables]]
[[Category:Food]]
[[Category:Non-Perishable_Food]]
[[Category:Version 34.28]]

Revision as of 16:54, 9 September 2018

Canned Peas
Canned Peas
Opened Canned Peas
General
Category Food
Encumbrance
Heavy Load
0.8
Days until stale 3 days
Days until rotten 5 days
Packaged True
Nutrition
Hunger
Hunger
-15
Thirst
Thirst
-3
Calories
Calories
280
Carbohydrates
Carbohydrates
52.5
Proteins
Proteins
14
Fat
Fat
0
Technical details
Item ID Base.CannedPeas
Base.CannedPeasOpen

Canned peas is a non-perishable food item.

Usage

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

Consumable properties

Opened canned peas 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

Canned peas can be used in various cooking recipes.

Evolved recipes

Product Nutrition
Soup
Soup
15
Stew
Stew
15
Stir Fry
Stir Fry
15
Roasted Vegetables
Roasted Vegetables
15
Rice Pot/Saucepan
Rice Pot/Saucepan
15

Distribution

Canned peas is often found in kitchen counters.

Code

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

Canned Peas CannedPeas.png Retrieved: Build 40.14

	item CannedPeas
        	Weight			= 0.7,
        	Type			= Food,
        	DisplayName		= Canned Peas,
        	Icon			= CannedPeas,
        	Carbohydrates 		= 52.5,
        	Proteins 		= 14,
        	Lipids 			= 0,
        	Calories 		= 280,
        	Packaged 		= TRUE,

Opened Canned Peas CannedPeasOpen.png Retrieved: Build 40.14

	item CannedPeasOpen
        	Weight			= 0.7,
        	Type			= Food,
        	DisplayName		= Open Canned Peas,
        	Icon			= CannedPeasOpen,
        	HungerChange 		= -15,
        	EvolvedRecipe 		= Soup:15;Stew:15;Stir fry:15;Roasted Vegetables:15;RicePot:15;RicePan:15,
        	DaysFresh		= 2,
        	DaysTotallyRotten	= 4,
        	Carbohydrates 		= 52.5,
        	Proteins 		= 14,
        	Lipids			= 0,
        	Calories		= 280,
        	Packaged 		= TRUE,
        	FoodType    		= Vegetables,
        	EvolvedRecipeName 	= Canned Peas,
        	ReplaceOnUse    =   TinCanEmpty,

Template:Navbox/Consumables