Peas: Difference between revisions

From PZwiki
m (Forgot to include the minus sign before the hunger stat.)
m (Distribution table update)
(43 intermediate revisions by 11 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Food|Vegetables}}
{{Consumables
{{Page version|41.78.16}}
|image = Peas.png
{{Infobox item
|hunger = -20
|name=Peas
|weight = 0.4
|model=Peas_Model.png
|icon=Peas.png
|icon_name=Peas
<!--GENERAL-->
|category=Food
|weight=0.6
|days_fresh=3
|days_rotten=5
|packaged=Yes
<!--NUTRITION-->
|hunger_change=-20
|thirst_change=-5
|calories=119
|lipids=0.85
|proteins=7.95
|carbohydrates=20.45
<!--TECHNICAL DETAILS-->
|item_id=Base.Peas
}}
}}
A bag of peas. It can be made into a nutritious [[Boring Soup|boring soup]] with a [[pot of water]].  
'''Peas''' are a perishable [[food]] [[Items|item]].


Found in [[refrigerator]]s.
==Usage==
{{Consumables2
===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.
{{Consumables
|image = Peas.png
|image = Peas.png
|hunger = -20
|hunger = -20
Line 23: Line 42:
|rotten image = Peas.png
|rotten image = Peas.png
}}
}}
== Crafting ==
{{Notice|Outdated}}
A bag of peas can be used for the following crafting recipes:


{| class="wikitable sortable" style="text-align:center;"  
==Crafting==
|-  
{{Main|Cooking}}
 
===Evolved recipes===
Peas are a [[cooking]] [[Recipe ingredients|ingredient]].
{{EvolvedRecipesForItem|pie=10|omelette=5|soup=10|stew=10|stirfry=10|roastedvegetables=10|rice=10|salad=5}}
 
==Distribution==
The loot distributions can be found in the table(s) below.
 
<!--BOT FLAG|Peas|41.78.16-->
{{clear}}
<div class="togglebox theme-red">
    <div>Peas distribution
        <span class="mw-customtoggle-togglebox-Peas" title="{{int:show}} / {{int:hide}}" style="float:right; padding-right:30px; padding-top:4px; font-size:0.7em; font-weight:normal;">{{int:show}} / {{int:hide}}</span></div>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Peas">
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Containers}}
    ! Building / Room
    ! Container
    ! Rolls
    ! Chance
    |-
    | dinerkitchen
    | {{ll|freezer}}
    | 4
    | 10.0
    |-
    | kitchen
    | {{ll|freezer}}
    | 4
    | 10.0
    |-
    | restaurantkitchen
    | {{ll|freezer}}
    | 4
    | 8.0
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Peas" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Peas|41.78.16-->
Peas are often found in [[refrigerator]]s and [[Containers#Displays|grocery displays]].
 
==Code==
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 1107
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Peas
{
DisplayName = Peas,
DisplayCategory = Food,
Type = Food,
Weight = 0.6,
Icon = Peas,
EvolvedRecipe = Pie:10;Omelette:5;Soup:10;Stew:10;Stir fry Griddle Pan:10;Stir fry:10;Roasted Vegetables:10;RicePot:10;RicePan:10;Salad:5,
FoodType = Vegetables,
Packaged = TRUE,
DaysFresh = 3,
DaysTotallyRotten = 5,
HungerChange = -20,
ThirstChange = -5,
Calories = 119,
Carbohydrates = 20.45,
Lipids = 0.85,
Proteins = 7.95,
WorldStaticModel = Peas,
EvolvedRecipeName = Pea,
}
}}
}}
 
==See also==
*[[Ice Cream]]
*[[Cold Pack]]


! Output
{{Navbox items|plants}}
! class="unsortable" | Ingredients
! class="unsortable" | Description
{{RecipeLookup|2005}}
{{RecipeLookup|2006}}
{{RecipeLookup|2007}}
|}


== Code ==
{{Notice|Outdated}}
<nowiki>item Peas
{
Type = Food,
DisplayName = Peas,
Icon = Peas,
Weight = 0.4,
HungerChange = -20,
DaysFresh = 2,
DaysTotallyRotten = 4,
}</nowiki>


{{Navbox/Consumables}}
[[Category:Perishable food]]
[[Category:Consumables]]
[[Category:Food]]
[[Category:Perishable Food]]
[[Category:Version 2.9.9.17]]

Revision as of 16:16, 24 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Peas
Peas Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.6
Properties
Packaged
Yes
Days fresh
3 days
Days until rotten
5 days
Nutrition
HungerMoodle Icon Hungry.png
-20
ThirstMoodle Icon Thirsty.png
-5
CaloriesCalories
119
CarbohydratesCarbohydrates
20.45
ProteinsProteins
7.95
FatFat
0.85
Technical
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.

Fresh Stale Rotten

Peas.png
Hunger: -20


Peas.png
Hunger: -15
Boredom: +10
Unhappiness: +10

Peas.png
Hunger: -9
Boredom: +20
Unhappiness: +20
Dangerous, will cause sickness.

Crafting

Main article: Cooking

Evolved recipes

Peas are a cooking ingredient.

Product Nutrition
Soup
Soup
10
Stew
Stew
10
Salad
Salad
5
Stir Fry
Stir Fry
10
Roasted Vegetables
Roasted Vegetables
10
Pie (savory)
Pie (savory)
10
Rice Pot/Saucepan
Rice Pot/Saucepan
10
Omelette
Omelette
5

Distribution

The loot distributions can be found in the table(s) below.

Peas distribution Show / Hide
Containers
Building / Room Container Rolls Chance
dinerkitchen freezer 4 10.0
kitchen freezer 4 10.0
restaurantkitchen freezer 4 8.0

Peas are often found in refrigerators and grocery displays.

Code

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

Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item Peas
	{
		DisplayName = Peas,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.6,
		Icon = Peas,
		EvolvedRecipe = Pie:10;Omelette:5;Soup:10;Stew:10;Stir fry Griddle Pan:10;Stir fry:10;Roasted Vegetables:10;RicePot:10;RicePan:10;Salad:5,
		FoodType = Vegetables,
		Packaged = TRUE,
		DaysFresh = 3,
		DaysTotallyRotten = 5,
		HungerChange = -20,
		ThirstChange = -5,
		Calories = 119,
		Carbohydrates = 20.45,
		Lipids = 0.85,
		Proteins = 7.95,
		WorldStaticModel = Peas,
		EvolvedRecipeName = Pea,
	}

See also