Canned Peas: Difference between revisions
m (fixed language and container links) |
(Update distribution file) |
||
(31 intermediate revisions by 7 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''' | '''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 = - | |hunger = -16 | ||
|thirst = 0 | |thirst = 0 | ||
|unrotten hunger = - | |unrotten hunger = -12 | ||
|unrotten boredom = +10 | |unrotten boredom = +10 | ||
|unrotten unhappiness = +10 | |unrotten unhappiness = +10 | ||
Line 31: | Line 50: | ||
|rotten image = CannedPeasOpen.png | |rotten image = CannedPeasOpen.png | ||
}} | }} | ||
== Evolved | ==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== | |||
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"> | |||
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits. <div class="toggle-content"> | |||
<div class="pz-container"> | |||
<div id="containers" style="flex-basis:30%"> | |||
{| class="wikitable theme-red" style="margin-right: 15px; width: 95%;" | |||
|+ {{ll|Containers}} | |||
! Building/Room | |||
! Container | |||
! Effective chance | |||
|- | |||
| Bag_FoodCanned | |||
| {{ll|Bag_FoodCanned}} | |||
| 23.28% | |||
|- | |||
| Bag_SurvivorBag | |||
| {{ll|Bag_SurvivorBag}} | |||
| 23.28% | |||
|- | |||
| FoodCache1 | |||
| {{ll|FoodBox}} | |||
| 55.18% | |||
|- | |||
| GroceryBag1 | |||
| {{ll|GroceryBag1}} | |||
| 0.89% | |||
|- | |||
| GroceryBag2 | |||
| {{ll|GroceryBag2}} | |||
| 2.81% | |||
|- | |||
| SafehouseLoot | |||
| {{ll|counter}} | |||
| 19.27% | |||
|- | |||
| SurvivorCache1 | |||
| {{ll|SurvivorCrate}} | |||
| 19.27% | |||
|- | |||
| SurvivorCache1 | |||
| {{ll|counter}} | |||
| 19.27% | |||
|- | |||
| SurvivorCache2 | |||
| {{ll|SurvivorCrate}} | |||
| 19.27% | |||
|- | |||
| SurvivorCache2 | |||
| {{ll|counter}} | |||
| 19.27% | |||
|- | |||
| garagestorage | |||
| {{ll|crate}} | |||
| 19.27% | |||
|- | |||
| generalstore | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| generalstore | |||
| {{ll|shelves}} | |||
| 23.28% | |||
|- | |||
| generalstorestorage | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| generalstorestorage | |||
| {{ll|shelves}} | |||
| 23.28% | |||
|- | |||
| gigamart | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| gigamart | |||
| {{ll|shelves}} | |||
| 23.28% | |||
|- | |||
| grocery | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| grocery | |||
| {{ll|shelves}} | |||
| 23.28% | |||
|- | |||
| grocery | |||
| {{ll|smallcrate}} | |||
| 23.28% | |||
|- | |||
| grocerystorage | |||
| {{ll|crate}} | |||
| 3.51% | |||
|- | |||
| grocerystorage | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| grocerystorage | |||
| {{ll|crate}} | |||
| 41.14% | |||
|- | |||
| grocerystorage | |||
| {{ll|metal_shelves}} | |||
| 3.51% | |||
|- | |||
| grocerystorage | |||
| {{ll|metal_shelves}} | |||
| 23.28% | |||
|- | |||
| grocerystorage | |||
| {{ll|metal_shelves}} | |||
| 41.14% | |||
|- | |||
| grocerystorage | |||
| {{ll|smallcrate}} | |||
| 3.51% | |||
|- | |||
| grocerystorage | |||
| {{ll|smallcrate}} | |||
| 23.28% | |||
|- | |||
| grocerystorage | |||
| {{ll|smallcrate}} | |||
| 41.14% | |||
|- | |||
| kitchen | |||
| {{ll|counter}} | |||
| 19.27% | |||
|- | |||
| kitchen | |||
| {{ll|crate}} | |||
| 19.27% | |||
|- | |||
| kitchen | |||
| {{ll|overhead}} | |||
| 19.27% | |||
|- | |||
| kitchen | |||
| {{ll|shelves}} | |||
| 19.27% | |||
|- | |||
| livingroom | |||
| {{ll|counter}} | |||
| 19.27% | |||
|- | |||
| livingroom | |||
| {{ll|overhead}} | |||
| 19.27% | |||
|- | |||
| storageunit | |||
| {{ll|crate}} | |||
| 19.27% | |||
|} | |||
</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== | |||
{{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 also== | |||
*[[Canned Carrots]] | |||
{{Navbox items|preserved_food}} | |||
[[Category:Non-perishable food]] | |||
[[Category:Non- | |||
Latest revision as of 12:17, 30 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 | Effective chance |
---|---|---|
Bag_FoodCanned | Bag_FoodCanned | 23.28% |
Bag_SurvivorBag | Bag_SurvivorBag | 23.28% |
FoodCache1 | FoodBox | 55.18% |
GroceryBag1 | GroceryBag1 | 0.89% |
GroceryBag2 | GroceryBag2 | 2.81% |
SafehouseLoot | counter | 19.27% |
SurvivorCache1 | SurvivorCrate | 19.27% |
SurvivorCache1 | counter | 19.27% |
SurvivorCache2 | SurvivorCrate | 19.27% |
SurvivorCache2 | counter | 19.27% |
garagestorage | crate | 19.27% |
generalstore | crate | 23.28% |
generalstore | shelves | 23.28% |
generalstorestorage | crate | 23.28% |
generalstorestorage | shelves | 23.28% |
gigamart | crate | 23.28% |
gigamart | shelves | 23.28% |
grocery | crate | 23.28% |
grocery | shelves | 23.28% |
grocery | smallcrate | 23.28% |
grocerystorage | crate | 3.51% |
grocerystorage | crate | 23.28% |
grocerystorage | crate | 41.14% |
grocerystorage | metal_shelves | 3.51% |
grocerystorage | metal_shelves | 23.28% |
grocerystorage | metal_shelves | 41.14% |
grocerystorage | smallcrate | 3.51% |
grocerystorage | smallcrate | 23.28% |
grocerystorage | smallcrate | 41.14% |
kitchen | counter | 19.27% |
kitchen | crate | 19.27% |
kitchen | overhead | 19.27% |
kitchen | shelves | 19.27% |
livingroom | counter | 19.27% |
livingroom | overhead | 19.27% |
storageunit | crate | 19.27% |
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,
}