Canned Potato

From PZwiki
Revision as of 02:21, 28 February 2023 by Faalagorn (talk | contribs) (Remove obsolete template)
Canned Potato
Canned Potato
Opened Canned Potato
General
Category Food
Encumbrance
Heavy Load
0.8
Days until stale 2 days
Days until rotten 2 days
Packaged Yes
Nutrition
Hunger
Hunger
-18
Thirst
Thirst
-7
Calories
Calories
175
Carbohydrates
Carbohydrates
35
Proteins
Proteins
2.5
Fat
Fat
0
Technical details
Item ID Base.CannedPotato2
Base.CannedPotatoOpen

Canned potato is a non-perishable food item.

Usage

Canned potato can only be opened with a can opener, and once opened become perishable.

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2
Opened Canned Potato
Opened Canned Potato
0 XP none CannedPotato.png
Canned Potato
(consumed)
CanOpener.png
Can Opener
(keep)

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. Template:Consumables2

Crafting

Main article: Cooking

Evolved recipes

Canned fruit cocktail 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

Canned potato can often be found in kitchen counters.

Gallery

Code

From items_food.txt (Project Zomboid directory/media/scripts/)

Canned Potato CannedPotato.png Retrieved: Build 41.73

    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,
	}

Opened Canned Potato CannedPotatoOpen.png Retrieved: Build 41.73

    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,
	}

See also