Canned Peas: Difference between revisions
Kienlabadao (talk | contribs) mNo edit summary |
(→Distribution: Add table) |
||
(24 intermediate revisions by 6 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--> | <!--GENERAL--> | ||
|category=Food | |category=Food | ||
|weight=0.8 | |weight=0.8 | ||
|days_fresh=2 | |days_fresh=2 | ||
|days_rotten= | |days_rotten=4 | ||
|packaged = Yes | |packaged=Yes | ||
<!--NUTRITION--> | <!--NUTRITION--> | ||
|hunger_change=-16 | |hunger_change=-16 | ||
Line 22: | Line 23: | ||
|carbohydrates=52.5 | |carbohydrates=52.5 | ||
<!--TECHNICAL DETAILS--> | <!--TECHNICAL DETAILS--> | ||
| | |item_id=Base.CannedPeas<br>Base.CannedPeasOpen | ||
}}'''Canned peas''' is a | }} | ||
'''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 | {{Crafting/sandbox2 | ||
|opened_canned_peas | |||
}} | |||
===Consumable properties=== | ===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. | 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 = -16 | |hunger = -16 | ||
Line 51: | Line 53: | ||
==Crafting== | ==Crafting== | ||
{{Main|Cooking}} | {{Main|Cooking}} | ||
===Evolved recipes=== | ===Evolved recipes=== | ||
Canned peas is a [[cooking]] [[Recipe | Canned peas is a [[cooking]] [[Recipe ingredients|ingredient]]. | ||
{{EvolvedRecipesForItem| | {{EvolvedRecipesForItem|omelette=8|soup=16|stew=16|stirfry=16|roastedvegetables=16|rice=16}} | ||
==Distribution== | ==Distribution== | ||
The loot distributions can be found in the table(s) below. | |||
== | <!--BOT FLAG|CannedPeas|41.78.16--> | ||
< | {{clear}} | ||
<div class="togglebox theme-red"> | |||
<div>CannedPeas distribution | |||
</ | <span class="mw-customtoggle-togglebox-CannedPeas" 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-CannedPeas"> | |||
<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 | |||
|- | |||
| all | |||
| {{ll|Bag_FoodCanned}} | |||
| 2 | |||
| 20.0 | |||
|- | |||
| all | |||
| {{ll|FoodBox}} | |||
| 15 | |||
| 8.0 | |||
|- | |||
| all | |||
| {{ll|GroceryBag1}} | |||
| 1 | |||
| 0.8 | |||
|- | |||
| all | |||
| {{ll|GroceryBag2}} | |||
| 1 | |||
| 4.0 | |||
|- | |||
| garagestorage | |||
| {{ll|crate}} | |||
| 4 | |||
| 8.0 | |||
|- | |||
| generalstore | |||
| {{ll|crate}} | |||
| 4 | |||
| 10.0 | |||
|- | |||
| grocerystorage | |||
| {{ll|crate}} | |||
| 4 | |||
| 0.8 | |||
|- | |||
| grocerystorage | |||
| {{ll|crate}} | |||
| 4 | |||
| 20.0 | |||
|- | |||
| grocerystorage | |||
| {{ll|crate}} | |||
| 4 | |||
| 10.0 | |||
|- | |||
| kitchen | |||
| {{ll|counter}} | |||
| 4 | |||
| 8.0 | |||
|} | |||
</div> | |||
</div><div style="clear:both;"></div> | |||
</div></div><div class="toggle large mw-customtoggle-togglebox-CannedPeas" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|CannedPeas|41.78.16--> | |||
Canned peas can often be found in [[Containers#Kitchen Counter|kitchen counters]]. | |||
== Code == | |||
==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, | DisplayName = Canned Peas, | ||
Line 85: | Line 158: | ||
StaticModel = CanClosed, | StaticModel = CanClosed, | ||
WorldStaticModel = CanClosedPeas, | 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, | DisplayName = Opened Canned Peas, | ||
Line 113: | Line 196: | ||
StaticModel = CanOpen, | StaticModel = CanOpen, | ||
WorldStaticModel = CanOpenPeas, | WorldStaticModel = CanOpenPeas, | ||
} | Tags = HasMetal, | ||
} | |||
}} | |||
}} | |||
==See also== | |||
*[[Canned Carrots]] | |||
{{Navbox items|preserved_food}} | |||
[[Category:Non-perishable food]] |
Revision as of 02:47, 25 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
The loot distributions can be found in the table(s) below.
Building / Room | Container | Rolls | Chance |
---|---|---|---|
all | Bag_FoodCanned | 2 | 20.0 |
all | FoodBox | 15 | 8.0 |
all | GroceryBag1 | 1 | 0.8 |
all | GroceryBag2 | 1 | 4.0 |
garagestorage | crate | 4 | 8.0 |
generalstore | crate | 4 | 10.0 |
grocerystorage | crate | 4 | 0.8 |
grocerystorage | crate | 4 | 20.0 |
grocerystorage | crate | 4 | 10.0 |
kitchen | counter | 4 | 8.0 |
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,
}