Peas: Difference between revisions

From PZwiki
(New infobox + new layout)
m (Distribution table update)
 
(31 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{languages|Peas}}
{{Header|Project Zomboid|Items|Food|Vegetables}}
{{header|Project Zomboid|Items|Food|Perishable Food|Vegetables|type=Food|version=Version 40|incver=7}}{{Infobox food
{{Page version|41.78.16}}
|display_name=Peas
{{Infobox item
|name_colour=Food
|name=Peas
|name_text_colour=Food
|model=Peas_Model.png
|image=Peas_120px.png
|icon=Peas.png
|icon_name=Peas
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 10: Line 11:
|days_fresh=3
|days_fresh=3
|days_rotten=5
|days_rotten=5
|packaged=True
|packaged=Yes
<!--NUTRITION-->
<!--NUTRITION-->
|hunger_change=-20
|hunger_change=-20
Line 19: Line 20:
|carbohydrates=20.45
|carbohydrates=20.45
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Peas
|item_id=Base.Peas
}}'''Peas''' are a [[Food#Perishable|perishable]] food [[item]].
}}
'''Peas''' are a perishable [[food]] [[Items|item]].


==Usage==
==Usage==
=== Consumable properties ===
===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.
Peas can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.
{{Consumables2
{{Consumables
|image = Peas.png
|image = Peas.png
|hunger = -20
|hunger = -20
Line 42: Line 44:


==Crafting==
==Crafting==
=== Evolved Recipes ===
{{Main|Cooking}}
Peas are a [[cooking]] [[Recipe Ingredients|ingredient]].
 
{{EvolvedRecipesForItem|soup=10|stew=10|stirfry=10|roastedvegetables=10|ricepot=10|ricepan=10|}}
===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==
==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]].
Peas are often found in [[refrigerator]]s and [[Containers#Displays|grocery displays]].


== Code ==
==Code==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=40|incver=7}}
| {{CodeSnip
<pre> item Peas
  | lang = java
HungerChange = -20,
  | line = true
Weight = 0.6,
  | start = 1107
Type = Food,
  | source = items_food.txt
DaysTotallyRotten = 5,
  | retrieved = true
DisplayName = Peas,
  | version = 41.78.16
Icon = Peas,
  | code =
DaysFresh = 3,
item Peas
EvolvedRecipe = Soup:10;Stew:10;Stir fry:10;Roasted Vegetables:10;RicePot:10;RicePan:10,
{
FoodType   = Vegetables,
DisplayName = Peas,
        Carbohydrates = 20.45,
DisplayCategory = Food,
        Proteins = 7.95,
Type = Food,
        Lipids = 0.85,
Weight = 0.6,
        Calories = 119,
Icon = Peas,
        Packaged = TRUE,</pre>
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]]
 
{{Navbox items|plants}}
 


{{Navbox/Consumables}}
[[Category:Perishable food]]

Latest 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