Peas: Difference between revisions

From PZwiki
(Update of NavBar.)
(New infobox + new layout)
Line 1: Line 1:
__NOTOC__
{{languages|Peas}}
{{languages}}
{{header|Project Zomboid|Items|Food|Perishable Food|Vegetables|type=Food|version=Version 40|incver=7}}{{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=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:Perishable_Food|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=Peas_120px.png
|image = Peas.png
<!--GENERAL-->
|hunger = -20
|category=Food
|weight = 0.6
|weight=0.6
}}
|days_fresh=3
A Bag of Peas are [[Food#Perishable|perishable]] food items that goes bad as time passes, when outside of a [[refrigerator]]. Leeks are often found within houses, and inside of refrigerators. Peas take three in-game days to go stale, and five in-game days to rot.
|days_rotten=5
|packaged=True
<!--NUTRITION-->
|hunger_change=-20
|thirst_change=-5
|calories=119
|lipids=0.85
|proteins=7.95
|carbohydrates=20.45
<!--TECHNICAL DETAILS-->
|class_name=Base.Peas
}}'''Peas''' are a [[Food#Perishable|perishable]] food [[item]].


== Nutritional Information ==
==Usage==
{| border=0 align=left
=== Consumable properties ===
|
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 = Peas.png
|image = Peas.png
Line 29: Line 40:
|rotten image = Peas.png
|rotten image = Peas.png
}}
}}
|}
<br><br><br><br><br><br><br><br><br><br><br>


'''It's Nutritional Values are as follows:'''<br>
==Crafting==
Carbohydrates = 20.45 <br>
=== Evolved Recipes ===
Proteins = 7.95 <br>
Peas are a [[cooking]] [[Recipe Ingredients|ingredient]].
Lipids = 0.85 <br>
{{EvolvedRecipesForItem|soup=10|stew=10|stirfry=10|roastedvegetables=10|ricepot=10|ricepan=10|}}
Calories = 119 <br><br>


== Evolved Recipes ==
==Distribution==
{{EvolvedRecipesForItem
Peas are often found in [[refrigerator]]s and [[Containers#Displays|grocery displays]].
|soup=10|stew=10|stirfry=10|roastedvegetables=10|ricepot=10|ricepan=10|}}


== Code ==
== Code ==
<nowiki>
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
item Peas
{{Retrieved|version=40|incver=7}}
<pre> item Peas
HungerChange = -20,
HungerChange = -20,
Weight = 0.6,
Weight = 0.6,
Line 58: Line 66:
         Lipids = 0.85,
         Lipids = 0.85,
         Calories = 119,
         Calories = 119,
         Packaged = TRUE,
         Packaged = TRUE,</pre>
</nowiki>


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

Revision as of 12:12, 18 August 2018

Peas
Peas
General
Category Food
Encumbrance
Heavy Load
0.6
Days until stale 3 days
Days until rotten 5 days
Packaged True
Nutrition
Hunger
Hunger
-20
Thirst
Thirst
-5
Calories
Calories
119
Carbohydrates
Carbohydrates
20.45
Proteins
Proteins
7.95
Fat
Fat
0.85
Technical details
Item ID Base.Peas

Peas are a perishable food item.

Usage

Consumable properties

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

Evolved Recipes

Peas are a cooking ingredient.

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

Distribution

Peas are often found in refrigerators and grocery displays.

Code

From items.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 40.7

	item Peas
		HungerChange		= -20,
		Weight			= 0.6,
		Type			= Food,
		DaysTotallyRotten	= 5,
		DisplayName		= Peas,
		Icon			= Peas,
		DaysFresh		= 3,
		EvolvedRecipe 		= Soup:10;Stew:10;Stir fry:10;Roasted Vegetables:10;RicePot:10;RicePan:10,
		FoodType    		= Vegetables,
        	Carbohydrates 		= 20.45,
        	Proteins 		= 7.95,
        	Lipids 			= 0.85,
        	Calories 		= 119,
        	Packaged 		= TRUE,

Template:Navbox/Consumables