Canned Corn: Difference between revisions

From PZwiki
m (minor)
(→‎Distribution: Add table)
(12 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Languages}}
{{Header|Project Zomboid|Items|Food|Canned food}}
{{Header/sandbox2|Project Zomboid|Items|Food|Canned food}}
{{Page version|41.78.16}}
{{Page version|41.78.16}}
{{Infobox item
{{Infobox item
Line 7: Line 6:
|icon=CannedCorn.png
|icon=CannedCorn.png
|icon_name=Canned Corn
|icon_name=Canned Corn
|model2=TinnedCornOpen Model.png
|model2=TinnedCornOpen_Model.png
|icon2=CannedCornOpen.png
|icon2=CannedCornOpen.png
|icon_name2=Opened Canned Corn
|icon_name2=Opened Canned Corn
Line 18: Line 17:
<!--NUTRITION-->
<!--NUTRITION-->
|hunger_change=-16
|hunger_change=-16
|thirst_change=
|calories=315
|calories=315
|lipids=1.75
|lipids=1.75
Line 26: Line 24:
|item_id=Base.CannedCorn<br>Base.CannedCornOpen
|item_id=Base.CannedCorn<br>Base.CannedCornOpen
}}
}}
'''Canned corn'''  (written as ''SWEET CORN'' on the model) is a [[Food#Non-Perishable|non-perishable]] food [[Items|item]].
'''Canned corn'''  (written as ''SWEET CORN'' on the model) is a non-perishable [[food]] [[Items|item]].


==Usage==
==Usage==
Canned corn can only be opened with a [[Can Opener|can opener]], and once opened become [[Food#Perishable|perishable]]. Despite rumors, consuming canned corn will no longer teleport you to another location. Instead, see [[corn]].
Canned corn can only be opened with a [[Can Opener|can opener]], and once opened become [[Food#Perishable|perishable]]. Despite rumors, consuming canned corn will no longer teleport you to another location. Instead, see [[corn]].
{{Crafting header|ing=2}}
{{Crafting/sandbox2
{{Crafting cooking|013|ing=2}}
|opened_canned_corn
|}
}}


===Consumable properties===
===Consumable properties===
Line 57: Line 55:
====Evolved recipes====
====Evolved recipes====
Canned corn is a [[cooking]] [[Recipe ingredients|ingredient]].
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}}
{{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==
The loot distributions can be found in the table(s) below.
<!--BOT FLAG|CannedCorn|41.78.16-->
{{clear}}
<div class="togglebox theme-red">
    <div>CannedCorn distribution
        <span class="mw-customtoggle-togglebox-CannedCorn" 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-CannedCorn">
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Containers}}
    ! Building / Room
    ! Container
    ! Rolls
    ! Chance
    |-
    | all
    | {{ll|Bag_FoodCanned}}
    | 2
    | 20.0
    |-
    | all
    | {{ll|FoodBox}}
    | 15
    | 8.0
    |-
    | all
    | {{ll|GroceryBag1}}
    | 1
    | 0.8
    |-
    | all
    | {{ll|GroceryBag2}}
    | 1
    | 4.0
    |-
    | garagestorage
    | {{ll|crate}}
    | 4
    | 8.0
    |-
    | generalstore
    | {{ll|crate}}
    | 4
    | 10.0
    |-
    | grocerystorage
    | {{ll|crate}}
    | 4
    | 0.8
    |-
    | grocerystorage
    | {{ll|crate}}
    | 4
    | 20.0
    |-
    | grocerystorage
    | {{ll|crate}}
    | 4
    | 10.0
    |-
    | kitchen
    | {{ll|counter}}
    | 4
    | 8.0
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-CannedCorn" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|CannedCorn|41.78.16-->
Canned corn can often be found in [[Containers#Kitchen Counter|kitchen counters]].
Canned corn can often be found in [[Containers#Kitchen Counter|kitchen counters]].


Line 66: Line 135:
{{CodeSnip
{{CodeSnip
   | lang = java
   | lang = java
   | line = false
   | line = true
   | start =  
   | start = 323
   | source = items_food.txt
   | source = items_food.txt
   | retrieved = true
   | retrieved = true
   | version = 41.78.16
   | version = 41.78.16
   | code =
   | code =
item CannedCorn
item CannedCorn
{
{
DisplayName = Canned Corn,
DisplayName = Canned Corn,
Line 88: Line 157:
StaticModel = CanClosed,
StaticModel = CanClosed,
WorldStaticModel = CanClosedCorn,
WorldStaticModel = CanClosedCorn,
Tags = HasMetal,
}
}
}}
}}
Line 94: Line 164:
{{CodeSnip
{{CodeSnip
   | lang = java
   | lang = java
   | line = false
   | line = true
   | start =  
   | start = 158
   | source = items_food.txt
   | source = items_food.txt
   | retrieved = true
   | retrieved = true
   | version = 41.78.16
   | version = 41.78.16
   | code =
   | code =
    item CannedCornOpen
item CannedCornOpen
{
{
DisplayName = Opened Canned Corn,
DisplayName = Opened Canned Corn,
Line 125: Line 195:
StaticModel = CanOpen,
StaticModel = CanOpen,
WorldStaticModel = CanOpenCorn,
WorldStaticModel = CanOpenCorn,
Tags = HasMetal,
}
}
}}
}}
Line 136: Line 207:
*[[Canned Tomato]]
*[[Canned Tomato]]


{{Navbox food}}
{{Navbox items|preserved_food}}
 


[[Category:Non-perishable food]]
[[Category:Non-perishable food]]

Revision as of 02:44, 25 April 2024

Project ZomboidItemsFoodCanned foodCanned Corn
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Canned Corn
TinnedCorn Model.png
TinnedCornOpen 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
-16
CaloriesCalories
315
CarbohydratesCarbohydrates
70
ProteinsProteins
7
FatFat
1.75
Technical
Item ID
Base.CannedCorn
Base.CannedCornOpen

Canned corn (written as SWEET CORN on the model) 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 no longer teleport you to another location. Instead, see corn.

Product Ingredients Tools Requirements Workstation XP
CannedCornOpen.png
Opened Canned Corn
CannedCorn.png Canned Corn ×1 CanOpener.png
Can Opener
none none none

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.

Fresh Stale Rotten

CannedCornOpen.png
Hunger: -16


CannedCornOpen.png
Hunger: -12
Boredom: +10
Unhappiness: +10

CannedCornOpen.png
Hunger: -7
Boredom: +20
Unhappiness: +20
Dangerous, will cause sickness.

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

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

CannedCorn distribution Show / Hide
Containers
Building / Room Container Rolls Chance
all Bag_FoodCanned 2 20.0
all FoodBox 15 8.0
all GroceryBag1 1 0.8
all GroceryBag2 1 4.0
garagestorage crate 4 8.0
generalstore crate 4 10.0
grocerystorage crate 4 0.8
grocerystorage crate 4 20.0
grocerystorage crate 4 10.0
kitchen counter 4 8.0

Canned corn can often be found in kitchen counters.

Code

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

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

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

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

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

See also