Canned Corn: Difference between revisions

From PZwiki
mNo edit summary
Line 1: Line 1:
{{languages}}
{{languages|Canned Corn}}
{{header|Project Zomboid|Items|Food|Non-Perishable Food|Canned Food|type=Food|version=Version 41|incver=68}}{{Infobox food
{{header|Project Zomboid|Items|Food|Non-Perishable Food|Canned Food|type=Food|version=Version 41|incver=73}}{{Infobox food
|display_name=Canned Corn
|display_name=Canned Corn
|name_colour=Food
|name_colour=Food
|name_text_colour=Food
|name_text_colour=Food
|image=TinnedCorn_Model.png
|image=CannedCorn_120px.png
|image_width=300px
|alternate_image=CannedCornOpen.png
|alternate_image=CannedCorn.png
|alternate_link=
|alternate_link=
|alternate_name=Canned Corn
|alternate_name=Opened Canned Corn
|alternate_image2=CannedCornOpen.png
|alternate_link2=
|alternate_name2=Opened Canned Corn
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
|weight=0.7
|weight=0.8
|days_fresh=2
|days_fresh=2
|days_rotten=4
|days_rotten=4
|packaged=True
|packaged=True
<!--NUTRITION-->
<!--NUTRITION-->
|hunger_change=-15
|hunger_change=-16
|thirst_change=
|thirst_change=
|calories=315
|calories=315
Line 30: Line 26:


==Usage==
==Usage==
Canned corn can only be opened with a [[Can Opener|can opener]], and once opened become [[Food#Perishable|perishable]].  
Canned corn can only be opened with a [[Can Opener|can opener]], and once opened become [[Food#Perishable|perishable]].
{{Crafting header|ing=2}}
{{Crafting cooking|013|ing=2}}
{{Crafting table footer}}
 
===Consumable properties===
===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.
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.
{{Consumables2
{{Consumables2
|image = CannedCornOpen.png
|image = CannedCornOpen.png
|hunger = -15
|hunger = -16
|thirst = 0
|thirst = 0
|unrotten hunger = -11
|unrotten hunger = -12
|unrotten boredom = +10
|unrotten boredom = +10
|unrotten unhappiness = +10
|unrotten unhappiness = +10
Line 50: Line 50:


==Crafting==
==Crafting==
===Cooking===
{{Main|Cooking}}
{{Main|Cooking}}
Canned corn can be used in various cooking recipes.
====Evolved recipes====
====Evolved recipes====
{{EvolvedRecipesForItem|soup=15|stew=15|stirfry=15|burger=8|salad=15|roastedvegetables=15|ricepot=15|ricepan=15|pastapot=15|pastapan=15}}
Canned corn is a [[cooking]] [[Recipe Ingredients|ingredient]].
{{EvolvedRecipesForItem|Soup=16|Stew=16|StirFry=16|Burger=8|Salad=16|RoastedVegetables=16|Rice=16|Pasta=16|Omelette=8|Taco=8|Burrito=8}}


==Distribution==
==Distribution==
Canned corn is often found in [[Containers#Kitchen Counter|kitchen counters]].
Canned corn is often found in [[Containers#Kitchen Counter|kitchen counters]].


==Gallery==
<gallery>
TinnedCorn_Model.png|Canned corn model when placed in the world.
TinnedCornOpen_Model.png|Opened canned corn model when placed in the world.
</gallery>
<div class="mw-collapsible mw-collapsed">
== Code ==
== Code ==
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
<div class="mw-collapsible-content">'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
 
''Canned Corn'' [[File:CannedCorn.png|32px]]
''Canned Corn'' [[File:CannedCorn.png|32px]]
{{Retrieved|version=41|incver=68}}
{{Retrieved|version=41|incver=73}}
<pre>    item CannedCorn
<pre>    item CannedCorn
    {
{
        DisplayCategory = Food,
DisplayName = Canned Corn,
        Weight = 0.7,
DisplayCategory = Food,
        Type = Food,
Type = Food,
        DisplayName = Canned Corn,
Weight = 0.8,
        Icon = CannedCorn,
Icon = CannedCorn,
        Carbohydrates = 70,
CannedFood = TRUE,
        Proteins = 7,
CantEat = TRUE,
        Lipids = 1.75,
Packaged = TRUE,
        Calories = 315,
Calories = 315,
        Packaged = TRUE,
Carbohydrates = 70,
        StaticModel = CanClosed,
Lipids = 1.75,
        CannedFood = TRUE,
Proteins = 7,
        WorldStaticModel = CanClosedCorn,
StaticModel = CanClosed,
    }</pre>
WorldStaticModel = CanClosedCorn,
 
}
</pre>
''Opened Canned Corn'' [[File:CannedCornOpen.png|32px]]
''Opened Canned Corn'' [[File:CannedCornOpen.png|32px]]
{{Retrieved|version=41|incver=68}}
{{Retrieved|version=41|incver=73}}
<pre>    item CannedCornOpen
<pre>    item CannedCornOpen
    {
{
        DisplayCategory = Food,
DisplayName = Opened Canned Corn,
        Weight = 0.7,
DisplayCategory = Food,
        Type = Food,
Type = Food,
        DisplayName = Opened Canned Corn,
Weight = 0.8,
        Icon = CannedCornOpen,
Icon = CannedCornOpen,
        HungerChange = -15,
CannedFood = TRUE,
        EvolvedRecipe = Soup:15;Stew:15;Stir fry Griddle Pan:15;Stir fry:15;Burger:8;Salad:15;Roasted Vegetables:15;RicePot:15;RicePan:15;PastaPot:15;PastaPan:15,
EatType = can,
        DaysFresh = 2,
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,
        DaysTotallyRotten = 4,
/*EvolvedRecipeName = Canned Corn,*/
        ThirstChange = -4,
EvolvedRecipeName = Corn,
        Carbohydrates = 70,
FoodType = Vegetables,
        Proteins = 7,
Packaged = TRUE,
        Lipids = 1.75,
ReplaceOnUse = TinCanEmpty,
        Calories = 315,
DaysFresh = 2,
        Packaged = TRUE,
DaysTotallyRotten = 4,
        FoodType    = Vegetables,
HungerChange = -16,
        EvolvedRecipeName = Canned Corn,
ThirstChange = -4,
        ReplaceOnUse    =   TinCanEmpty,
Calories = 315,
        StaticModel = CanOpen,
Carbohydrates = 70,
        EatType = can,
Lipids = 1.75,
        CannedFood = TRUE,
Proteins = 7,
        WorldStaticModel = CanOpenCorn,
StaticModel = CanOpen,
    }</pre>
WorldStaticModel = CanOpenCorn,
}</pre>
</div>


==See also==
==See also==

Revision as of 19:34, 3 October 2022

Canned Corn
Canned Corn
Opened Canned Corn
General
Category Food
Encumbrance
Heavy Load
0.8
Days until stale 2 days
Days until rotten 4 days
Packaged True
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.

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 is often 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