Canned Peas: Difference between revisions

From PZwiki
m (Automated linking update)
m (Automated Formatting)
(5 intermediate revisions by the same user not shown)
Line 14: Line 14:
|days_fresh=2
|days_fresh=2
|days_rotten=4
|days_rotten=4
|packaged = Yes
|packaged=Yes
<!--NUTRITION-->
<!--NUTRITION-->
|hunger_change=-16
|hunger_change=-16
Line 25: Line 25:
|item_id=Base.CannedPeas<br>Base.CannedPeasOpen
|item_id=Base.CannedPeas<br>Base.CannedPeasOpen
}}
}}
'''Canned peas''' (written as ''PEAS'' on the model) is a non-perishable [[food]] [[Items|item]].
'''Canned peas''' (written as ''PEAS'' on the model) is a non-perishable [[food]] [[Items|item]].


==Usage==
==Usage==
Canned peas can only be opened with a [[Can Opener|can opener]], and once opened become [[Food#Perishable|perishable]].
Canned peas can only be opened with a [[Can Opener|can opener]], and once opened become [[Food#Perishable|perishable]].
{{Crafting header|ing=2}}
{{Crafting/sandbox2
{{Crafting cooking|017|ing=2}}
|opened_canned_peas
|}
}}


===Consumable properties===
===Consumable properties===
Line 57: Line 56:
===Evolved recipes===
===Evolved recipes===
Canned peas is a [[cooking]] [[Recipe ingredients|ingredient]].
Canned peas is a [[cooking]] [[Recipe ingredients|ingredient]].
{{EvolvedRecipesForItem|Omelette=8|Soup=16|Stew=16|StirFry=16|RoastedVegetables=16|Rice=16}}
{{EvolvedRecipesForItem|omelette=8|soup=16|stew=16|stirfry=16|roastedvegetables=16|rice=16}}


==Distribution==
==Distribution==
Line 66: Line 65:
{{CodeSnip
{{CodeSnip
   | lang = java
   | lang = java
   | line = false
   | line = true
   | start =
   | start = 361
   | source = items_food.txt
   | source = items_food.txt
   | retrieved = true
   | retrieved = true
   | version = 41.78.16
   | version = 41.78.16
   | code =
   | code =
    item CannedPeas
item CannedPeas
{
{
DisplayName = Canned Peas,
DisplayName = Canned Peas,
Line 88: Line 87:
StaticModel = CanClosed,
StaticModel = CanClosed,
WorldStaticModel = CanClosedPeas,
WorldStaticModel = CanClosedPeas,
Tags = HasMetal,
}
}
}}
}}
Line 94: Line 94:
{{CodeSnip
{{CodeSnip
   | lang = java
   | lang = java
   | line = false
   | line = true
   | start =
   | start = 213
   | source = items_food.txt
   | source = items_food.txt
   | retrieved = true
   | retrieved = true
   | version = 41.78.16
   | version = 41.78.16
   | code =
   | code =
    item CannedPeasOpen
item CannedPeasOpen
{
{
DisplayName = Opened Canned Peas,
DisplayName = Opened Canned Peas,
Line 125: Line 125:
StaticModel = CanOpen,
StaticModel = CanOpen,
WorldStaticModel = CanOpenPeas,
WorldStaticModel = CanOpenPeas,
Tags = HasMetal,
}
}
}}
}}
Line 132: Line 133:
*[[Canned Carrots]]
*[[Canned Carrots]]


{{Navbox food}}
{{Navbox items|preserved_food}}
 


[[Category:Non-perishable food]]
[[Category:Non-perishable food]]

Revision as of 07:14, 14 April 2024

Project ZomboidItemsFoodCanned foodCanned Peas
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Canned Peas
TinnedPeas Model.png
TinnedPeasOpen Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.8
Properties
Packaged
Yes
Days fresh
2 days
Days until rotten
4 days
Nutrition
HungerMoodle Icon Hungry.png
-16
ThirstMoodle Icon Thirsty.png
-3
CaloriesCalories
280
CarbohydratesCarbohydrates
52.5
ProteinsProteins
14
FatFat
0
Technical
Item ID
Base.CannedPeas
Base.CannedPeasOpen

Canned peas (written as PEAS on the model) is a non-perishable food item.

Usage

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

Product Ingredients Tools Requirements Workstation XP
CannedPeasOpen.png
Opened Canned Peas
CannedPeas.png Canned Peas ×1 CanOpener.png
Can Opener
none none none

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.

Fresh Stale Rotten

CannedPeasOpen.png
Hunger: -16


CannedPeasOpen.png
Hunger: -12
Boredom: +10
Unhappiness: +10

CannedPeasOpen.png
Hunger: -7
Boredom: +20
Unhappiness: +20
Dangerous, will cause sickness.

Crafting

Main article: Cooking

Evolved recipes

Canned peas is a cooking ingredient.

Product Nutrition
Soup
Soup
16
Stew
Stew
16
Stir Fry
Stir Fry
16
Roasted Vegetables
Roasted Vegetables
16
Rice Pot/Saucepan
Rice Pot/Saucepan
16
Omelette
Omelette
8

Distribution

Canned peas can often be found in kitchen counters.

Code

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

CannedPeas.png Base.CannedPeas
Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item CannedPeas
	{
		DisplayName = Canned Peas,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.8,
		Icon = CannedPeas,
		CannedFood = TRUE,
		CantEat = TRUE,
		Packaged = TRUE,
		Calories = 280,
		Carbohydrates = 52.5,
		Lipids = 0,
		Proteins = 14,
		StaticModel = CanClosed,
		WorldStaticModel = CanClosedPeas,
		Tags = HasMetal,
	}

CannedPeasOpen.png Base.CannedPeasOpen
Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item CannedPeasOpen
	{
		DisplayName = Opened Canned Peas,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.8,
		Icon = CannedPeasOpen,
		CannedFood = TRUE,
		EatType = can,
		EvolvedRecipe = Omelette:8;Soup:16;Stew:16;Stir fry Griddle Pan:16;Stir fry:16;Roasted Vegetables:16;RicePot:16;RicePan:16,
		/*EvolvedRecipeName = Canned Peas,*/
		EvolvedRecipeName = Pea,
		FoodType = Vegetables,
		Packaged = TRUE,
		ReplaceOnUse = TinCanEmpty,
		DaysFresh = 2,
		DaysTotallyRotten = 4,
		HungerChange = -16,
		ThirstChange = -3,
		Calories = 280,
		Carbohydrates = 52.5,
		Lipids = 0,
		Proteins = 14,
		StaticModel = CanOpen,
		WorldStaticModel = CanOpenPeas,
		Tags = HasMetal,
	}

See also