Canned Potato: Difference between revisions

From PZwiki
mNo edit summary
(Update distribution file)
 
(35 intermediate revisions by 7 users not shown)
Line 1: Line 1:
__NOTOC__
{{Header|Project Zomboid|Items|Food|Canned food}}
{{languages|Canned Potato}}
{{Page version|41.78.16}}
<div class="header" style="margin: 5px; align: right; background: #CEF2E0; padding: 13px; text-align: left; font-size: 100%; color:#000000; border: 1px solid #A3BFB1"> <!-- Code for Background Colour -->
{{Infobox item
<div style="float: right;background: #CEF2E0;border: 1px solid #A3BFB1; margin: -30pt -10.5pt">    '''Page Updated @ Version: 34.28'''    </div><!-- Code for Version Tag at top -->
|name=Canned Potato
<div style="float: left;background: #CEF2E0;border: 1px solid #A3BFB1; margin: -30pt -10.5pt">   '''Navigation''' - [[:Category:Main|Main Index]] -> [[:Category:The_Game_World|The Game World]] -> [[:Category:Items|Items]] -> [[:Category:Consumables|Consumables]] -> [[:Category:Food|Food]] -> [[:Category:Non-Perishable_Food|Non Perishable Foods]] -> [[{{PAGENAME}}]]   </div><!-- Code for Navigation Bar at top, special blank char's before '''Navigation''' to give space -->
|model=TinnedPotatoes_Model.png
{{Consumables
|icon=CannedPotato.png
|image = CannedPotato2.png
|icon_name=Canned Potato
|hunger = -18
|model2=TinnedPotatoesOpen_Model.png
|weight = 0.7
|icon2=CannedPotatoOpen.png
|icon_name2=Opened Canned Potato
<!--GENERAL-->
|category=Food
|weight=0.8
|days_fresh=2
|days_rotten=4
|packaged=Yes
<!--NUTRITION-->
|hunger_change=-18
|thirst_change=-7
|calories=175
|lipids=0
|proteins=2.5
|carbohydrates=35
<!--TECHNICAL DETAILS-->
|item_id=Base.CannedPotato2<br>Base.CannedPotatoOpen
}}
}}
'''Canned potato''' is a [[Food#Non-Perishable|non-perishable]] food item which is often found in [[Containers#Kitchen_Counter|kitchen counters]].<br>
'''Canned potato''' (written as ''NEW POTATOES'' on the model) is a non-perishable [[food]] [[Items|item]].
Canned potato can only be opened with a [[Can Opener#|can opener]], and once opened becomes a perishable item. An opened can of potato takes two in-game days to go stale, and four in-game days to rot.


==Usage==
Canned potato can only be opened with a [[Can Opener|can opener]], and once opened become [[Food#Perishable|perishable]].
{{Crafting/sandbox2
|opened_canned_potato
}}


== Nutritional information ==
===Consumable properties===
{| border=0 align=left <!-- Table will be in middle of page without this line -->
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
{{Consumables2
|image = CannedPotatoOpen.png
|image = CannedPotatoOpen.png
|hunger = -18
|hunger = -18
Line 31: Line 50:
|rotten image = CannedPotatoOpen.png
|rotten image = CannedPotatoOpen.png
}}
}}
|}
<br><br><br><br><br><br><br><br><br><br><br>
'''Its nutritional values are as follows:'''<br>
Carbohydrates = 35 <br>
Proteins = 2.5 <br>
Lipids = 0 <br>
Calories = 175 <br><br>


== Evolved recipes ==
==Crafting==
<!-- Information for template 'Evolved Recipes', used to explain how much of the food can be put into a meal. -->
{{Main|Cooking}}
{{EvolvedRecipesForItem
 
|soup=18|stew=18|pie=18|stirfry=18|salad=9|roastedvegetables=18|}}
===Evolved recipes===
Canned potato is a [[cooking]] [[Recipe ingredients|ingredient]].
{{EvolvedRecipesForItem|omelette=9|soup=18|stew=18|pie=18|stirfry=18|salad=9|roastedvegetables=18}}
 
==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==
*[[Canned Carrots]]
*[[Canned Chili]]
*[[Canned Corn]]
*[[Canned Peas]]
*[[Canned Tomato]]
 
{{Navbox items|preserved_food}}


== Code ==
<br>
''Sealed can''
<nowiki>
    item CannedPotato2
        Weight = 0.7,
        Type = Food,
        DisplayName = Canned Potato,
        Icon = CannedPotato,
        Carbohydrates = 35,
        Proteins = 2.5,
        Lipids = 0,
        Calories = 175,
        Packaged = TRUE,
</nowiki>
''Opened can''
<nowiki>
    item CannedPotatoOpen
        Weight = 0.7,
        Type = Food,
        DisplayName = Open Canned Potato,
        Icon = CannedPotatoOpen,
        HungerChange = -18,
        EvolvedRecipe  = Soup:18;Stew:18;Pie:18;Stir fry:18;Salad:9;Roasted Vegetables:18,
        DaysFresh = 2,
        DaysTotallyRotten = 4,
        Carbohydrates = 35,
        Proteins = 2.5,
        Lipids = 0,
        Calories = 175,
        Packaged = TRUE,
        FoodType    = Vegetables,
        EvolvedRecipeName = Canned Potato,
    </nowiki>


{{Navbox/Consumables}}
[[Category:Non-perishable food]]
[[Category:Consumables]]
[[Category:Food]]
[[Category:Non-Perishable_Food]]
[[Category:Version 34.28]]

Latest revision as of 12:17, 30 April 2024

Project ZomboidItemsFoodCanned foodCanned Potato
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Canned Potato
TinnedPotatoes Model.png
TinnedPotatoesOpen 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
-18
ThirstMoodle Icon Thirsty.png
-7
CaloriesCalories
175
CarbohydratesCarbohydrates
35
ProteinsProteins
2.5
FatFat
0
Technical
Item ID
Base.CannedPotato2
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
CannedPotatoOpen.png
Opened Canned Potato
CannedPotato.png Canned Potato ×1 CanOpener.png
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

CannedPotatoOpen.png
Hunger: -18


CannedPotatoOpen.png
Hunger: -13
Boredom: +10
Unhappiness: +10

CannedPotatoOpen.png
Hunger: -8
Boredom: +20
Unhappiness: +20
Dangerous, will cause sickness.

Crafting

Main article: Cooking

Evolved recipes

Canned potato is a cooking ingredient.

Product Nutrition
Soup
Soup
18
Stew
Stew
18
Salad
Salad
9
Stir Fry
Stir Fry
18
Roasted Vegetables
Roasted Vegetables
18
Pie (savory)
Pie (savory)
18
Omelette
Omelette
9

Distribution

The loot distributions can be found in the table(s) below.

CannedPotato2 distribution Show / Hide
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.
Containers
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

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

CannedPotato.png Base.CannedPotato2
Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
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,
	}

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

Retrieved: Build 41.78.16
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