Canned Peas: Difference between revisions
m (→Code) |
m (Automated Formatting) |
||
(31 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Food|Canned food}} | ||
{{Page version|41.78.16}} | |||
{{Infobox item | |||
|name=Canned Peas | |||
|model=TinnedPeas_Model.png | |||
|icon=CannedPeas.png | |||
|icon_name=Canned Peas | |||
|model2=TinnedPeasOpen_Model.png | |||
|icon2=CannedPeasOpen.png | |||
|icon_name2=Opened Canned Peas | |||
<!--GENERAL--> | |||
|category=Food | |||
|weight=0.8 | |||
|days_fresh=2 | |||
|days_rotten=4 | |||
|packaged=Yes | |||
<!--NUTRITION--> | |||
|hunger_change=-16 | |||
|thirst_change=-3 | |||
|calories=280 | |||
|lipids=0 | |||
|proteins=14 | |||
|carbohydrates=52.5 | |||
<!--TECHNICAL DETAILS--> | |||
|item_id=Base.CannedPeas<br>Base.CannedPeasOpen | |||
}} | |||
'''Canned peas''' (written as ''PEAS'' on the model) is a non-perishable [[food]] [[Items|item]]. | |||
==Usage== | |||
| | Canned peas can only be opened with a [[Can Opener|can opener]], and once opened become [[Food#Perishable|perishable]]. | ||
{{Crafting/sandbox2 | |||
| | |opened_canned_peas | ||
}} | }} | ||
===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. | ||
{{ | {{Consumables | ||
|image = CannedPeasOpen.png | |image = CannedPeasOpen.png | ||
|hunger = -20 | |hunger = -16 | ||
|thirst = 0 | |||
|unrotten hunger = -12 | |||
|unrotten boredom = +10 | |||
|unrotten unhappiness = +10 | |||
|unrotten thirst = 0 | |||
|rotten hunger = -7 | |||
|rotten boredom = +20 | |||
|rotten unhappiness = +20 | |||
|rotten thirst = 0 | |||
|perishable = 1 | |perishable = 1 | ||
|rotten image = CannedPeasOpen.png | |rotten image = CannedPeasOpen.png | ||
}} | }} | ||
== Crafting == | ==Crafting== | ||
{| | {{Main|Cooking}} | ||
| | |||
===Evolved recipes=== | |||
Canned peas is a [[cooking]] [[Recipe ingredients|ingredient]]. | |||
{{EvolvedRecipesForItem|omelette=8|soup=16|stew=16|stirfry=16|roastedvegetables=16|rice=16}} | |||
== | ==Distribution== | ||
Canned peas can often be found in [[Containers#Kitchen Counter|kitchen counters]]. | |||
== | ==Code== | ||
{{CodeBox|[[File:CannedPeas.png]] {{ID|Base.CannedPeas}}<br> | |||
{{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 361 | |||
| source = items_food.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
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, | |||
} | |||
}} | |||
{| | [[File:CannedPeasOpen.png]] {{ID|Base.CannedPeasOpen}}<br> | ||
| | {{CodeSnip | ||
| lang = java | |||
|- | | line = true | ||
| start = 213 | |||
| source = items_food.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
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 | ==See also== | ||
*[[Canned Carrots]] | |||
{{Navbox items|preserved_food}} | |||
[[Category:Non-perishable food]] | |||
[[Category: | |||
Revision as of 07:14, 14 April 2024
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 |
---|---|---|---|---|---|
Opened Canned Peas |
Canned Peas ×1 | 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 |
---|---|---|
|
|
|
Crafting
- Main article: Cooking
Evolved recipes
Canned peas is a cooking ingredient.
Product | Nutrition |
---|---|
Soup |
16 |
Stew |
16 |
Stir Fry |
16 |
Roasted Vegetables |
16 |
Rice Pot/Saucepan |
16 |
Omelette |
8 |
Distribution
Canned peas can often be found in kitchen counters.
Code
Base.CannedPeas
Source: ProjectZomboid\media\scripts\items_food.txt
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,
}
Base.CannedPeasOpen
Source: ProjectZomboid\media\scripts\items_food.txt
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,
}