Canned Potato: Difference between revisions
mNo edit summary |
(Update distribution file) |
||
(33 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 Potato | ||
| | |model=TinnedPotatoes_Model.png | ||
| | |icon=CannedPotato.png | ||
| | |icon_name=Canned Potato | ||
| | |model2=TinnedPotatoesOpen_Model.png | ||
|icon2=CannedPotatoOpen.png | |||
|icon_name2=Opened Canned Potato | |||
<!--GENERAL--> | <!--GENERAL--> | ||
|category=Food | |category=Food | ||
|weight=0. | |weight=0.8 | ||
|days_fresh=2 | |days_fresh=2 | ||
|days_rotten=4 | |days_rotten=4 | ||
|packaged= | |packaged=Yes | ||
<!--NUTRITION--> | <!--NUTRITION--> | ||
|hunger_change=-18 | |hunger_change=-18 | ||
Line 22: | Line 23: | ||
|carbohydrates=35 | |carbohydrates=35 | ||
<!--TECHNICAL DETAILS--> | <!--TECHNICAL DETAILS--> | ||
| | |item_id=Base.CannedPotato2<br>Base.CannedPotatoOpen | ||
}}'''Canned potato''' is a | }} | ||
'''Canned potato''' (written as ''NEW POTATOES'' on the model) is a non-perishable [[food]] [[Items|item]]. | |||
==Usage== | ==Usage== | ||
Canned potato can only be opened with a [[Can Opener|can opener]], and once opened become [[Food#Perishable|perishable]]. | Canned potato can only be opened with a [[Can Opener|can opener]], and once opened become [[Food#Perishable|perishable]]. | ||
{{Crafting/sandbox2 | |||
|opened_canned_potato | |||
}} | |||
===Consumable properties=== | ===Consumable properties=== | ||
Opened canned potato can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish. | Opened canned potato can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish. | ||
{{ | {{Consumables | ||
|image = CannedPotatoOpen.png | |image = CannedPotatoOpen.png | ||
|hunger = -18 | |hunger = -18 | ||
Line 46: | Line 52: | ||
==Crafting== | ==Crafting== | ||
{{Main|Cooking}} | {{Main|Cooking}} | ||
===Evolved recipes=== | |||
{{EvolvedRecipesForItem|soup=18|stew=18|pie=18|stirfry=18|salad=9|roastedvegetables=18}} | Canned potato is a [[cooking]] [[Recipe ingredients|ingredient]]. | ||
{{EvolvedRecipesForItem|omelette=9|soup=18|stew=18|pie=18|stirfry=18|salad=9|roastedvegetables=18}} | |||
==Distribution== | ==Distribution== | ||
The loot distributions can be found in the table(s) below. | |||
<!--BOT FLAG|CannedPotato2|41.78.16--> | |||
{{Clear}} | |||
<div class="togglebox theme-red"> | |||
<div>CannedPotato2 distribution | |||
<span class="mw-customtoggle-togglebox-CannedPotato2" 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-CannedPotato2"> | |||
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-CannedPotato2" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|CannedPotato2|41.78.16--> | |||
Canned potato can often be found in [[Containers#Kitchen Counter|kitchen counters]]. | |||
==Code== | |||
{{ | {{CodeBox|[[File:CannedPotato.png]] {{ID|Base.CannedPotato2}}<br> | ||
{{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 380 | |||
| source = items_food.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item CannedPotato2 | |||
{ | |||
DisplayName = Canned Potato, | |||
DisplayCategory = Food, | |||
Type = Food, | |||
Weight = 0.8, | |||
Icon = CannedPotato, | |||
CannedFood = TRUE, | |||
CantEat = TRUE, | |||
Packaged = TRUE, | |||
Calories = 175, | |||
Carbohydrates = 35, | |||
Lipids = 0, | |||
Proteins = 2.5, | |||
StaticModel = CanClosed, | |||
WorldStaticModel = CanClosedPotatoes, | |||
Tags = HasMetal, | |||
} | |||
}} | |||
[[File:CannedPotatoOpen.png]] {{ID|Base.CannedPotatoOpen}}<br> | |||
{{ | {{CodeSnip | ||
| lang = java | |||
| line = true | |||
| start = 241 | |||
| source = items_food.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item CannedPotatoOpen | |||
{ | |||
DisplayName = Opened Canned Potato, | |||
DisplayCategory = Food, | |||
Type = Food, | |||
Weight = 0.8, | |||
Icon = CannedPotatoOpen, | |||
CannedFood = TRUE, | |||
EatType = can, | |||
EvolvedRecipe = Omelette:9;Soup:18;Stew:18;Pie:18;Stir fry Griddle Pan:18;Stir fry:18;Salad:9;Roasted Vegetables:18, | |||
/*EvolvedRecipeName = Canned Potato,*/ | |||
EvolvedRecipeName = Potato, | |||
FoodType = Vegetables, | |||
Packaged = TRUE, | |||
ReplaceOnUse = TinCanEmpty, | |||
DaysFresh = 2, | |||
DaysTotallyRotten = 4, | |||
HungerChange = -18, | |||
ThirstChange = -7, | |||
Calories = 175, | |||
Carbohydrates = 35, | |||
Lipids = 0, | |||
Proteins = 2.5, | |||
StaticModel = CanOpen, | |||
WorldStaticModel = CanOpenPotatoes, | |||
Tags = HasMetal, | |||
} | |||
}} | |||
}} | |||
==See also== | ==See also== | ||
Line 98: | Line 303: | ||
*[[Canned Tomato]] | *[[Canned Tomato]] | ||
{{Navbox | {{Navbox items|preserved_food}} | ||
[[Category:Non-perishable food]] |
Latest revision as of 12:17, 30 April 2024
Base.CannedPotatoOpen
Canned potato (written as NEW POTATOES on the model) is a non-perishable food item.
Usage
Canned potato can only be opened with a can opener, and once opened become perishable.
Product | Ingredients | Tools | Requirements | Workstation | XP |
---|---|---|---|---|---|
Opened Canned Potato |
Canned Potato ×1 | Can Opener |
none | none | none |
Consumable properties
Opened canned potato 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 potato is a cooking ingredient.
Product | Nutrition |
---|---|
Soup |
18 |
Stew |
18 |
Salad |
9 |
Stir Fry |
18 |
Roasted Vegetables |
18 |
Pie (savory) |
18 |
Omelette |
9 |
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 potato can often be found in kitchen counters.
Code
Base.CannedPotato2
Source: ProjectZomboid\media\scripts\items_food.txt
item CannedPotato2
{
DisplayName = Canned Potato,
DisplayCategory = Food,
Type = Food,
Weight = 0.8,
Icon = CannedPotato,
CannedFood = TRUE,
CantEat = TRUE,
Packaged = TRUE,
Calories = 175,
Carbohydrates = 35,
Lipids = 0,
Proteins = 2.5,
StaticModel = CanClosed,
WorldStaticModel = CanClosedPotatoes,
Tags = HasMetal,
}
Base.CannedPotatoOpen
Source: ProjectZomboid\media\scripts\items_food.txt
item CannedPotatoOpen
{
DisplayName = Opened Canned Potato,
DisplayCategory = Food,
Type = Food,
Weight = 0.8,
Icon = CannedPotatoOpen,
CannedFood = TRUE,
EatType = can,
EvolvedRecipe = Omelette:9;Soup:18;Stew:18;Pie:18;Stir fry Griddle Pan:18;Stir fry:18;Salad:9;Roasted Vegetables:18,
/*EvolvedRecipeName = Canned Potato,*/
EvolvedRecipeName = Potato,
FoodType = Vegetables,
Packaged = TRUE,
ReplaceOnUse = TinCanEmpty,
DaysFresh = 2,
DaysTotallyRotten = 4,
HungerChange = -18,
ThirstChange = -7,
Calories = 175,
Carbohydrates = 35,
Lipids = 0,
Proteins = 2.5,
StaticModel = CanOpen,
WorldStaticModel = CanOpenPotatoes,
Tags = HasMetal,
}