Canned Corn

From PZwiki
Revision as of 18:24, 25 January 2023 by Luingar (talk | contribs)
Canned Corn
Canned Corn
Opened Canned Corn
General
Category Food
Encumbrance
Heavy Load
0.8
Days until stale 2 days
Days until rotten 2 days
Packaged Yes
Nutrition
Hunger
Hunger
-16
Calories
Calories
315
Carbohydrates
Carbohydrates
70
Proteins
Proteins
7
Fat
Fat
1.75
Technical details
Item ID Base.CannedCorn
Base.CannedCornOpen

Canned corn is a non-perishable food item.

Usage

Canned corn can only be opened with a can opener, and once opened become perishable. Despite rumors, consuming canned corn will never teleport you to another location. Instead, see corn.

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

Template:Crafting table footer

Consumable properties

Opened canned corn 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 corn is a cooking ingredient.

Product Nutrition
Soup
Soup
16
Stew
Stew
16
Salad
Salad
16
Stir Fry
Stir Fry
16
Roasted Vegetables
Roasted Vegetables
16
Burger
Burger
8
Rice Pot/Saucepan
Rice Pot/Saucepan
16
Pasta Pot/Saucepan
Pasta Pot/Saucepan
16
Taco
Taco
8
Burrito
Burrito
8
Omelette
Omelette
8

Distribution

Canned corn can often be found in kitchen counters.

Gallery

Code

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

Canned Corn CannedCorn.png Retrieved: Build 41.73

    item CannedCorn
	{
		DisplayName = Canned Corn,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.8,
		Icon = CannedCorn,
		CannedFood = TRUE,
		CantEat = TRUE,
		Packaged = TRUE,
		Calories = 315,
		Carbohydrates = 70,
		Lipids = 1.75,
		Proteins = 7,
		StaticModel = CanClosed,
		WorldStaticModel = CanClosedCorn,
	}

Opened Canned Corn CannedCornOpen.png Retrieved: Build 41.73

    item CannedCornOpen
	{
		DisplayName = Opened Canned Corn,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.8,
		Icon = CannedCornOpen,
		CannedFood = TRUE,
		EatType = can,
		EvolvedRecipe = Soup:16;Stew:16;Stir fry Griddle Pan:16;Stir fry:16;Burger:8;Salad:16;Roasted Vegetables:16;RicePot:16;RicePan:16;PastaPot:16;PastaPan:16;Omelette:8;Taco:8;Burrito:8,
		/*EvolvedRecipeName = Canned Corn,*/
		EvolvedRecipeName = Corn,
		FoodType = Vegetables,
		Packaged = TRUE,
		ReplaceOnUse = TinCanEmpty,
		DaysFresh = 2,
		DaysTotallyRotten = 4,
		HungerChange = -16,
		ThirstChange = -4,
		Calories = 315,
		Carbohydrates = 70,
		Lipids = 1.75,
		Proteins = 7,
		StaticModel = CanOpen,
		WorldStaticModel = CanOpenCorn,
	}

See also