Canned Corn: Difference between revisions
m (Add note about the name on the model) |
(→Distribution: Add table) |
||
(20 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{Header|Project Zomboid|Items|Food|Canned food}} | |||
| | {{Page version|41.78.16}} | ||
| | {{Infobox item | ||
|name=Canned Corn | |||
|model=TinnedCorn_Model.png | |||
| | |icon=CannedCorn.png | ||
|icon_name=Canned Corn | |||
| | |model2=TinnedCornOpen_Model.png | ||
| | |icon2=CannedCornOpen.png | ||
| | |icon_name2=Opened Canned Corn | ||
| | |||
<!--GENERAL--> | <!--GENERAL--> | ||
|category=Food | |category=Food | ||
|weight=0.8 | |weight=0.8 | ||
|days_fresh=2 | |days_fresh=2 | ||
|days_rotten= | |days_rotten=4 | ||
|packaged=Yes | |packaged=Yes | ||
<!--NUTRITION--> | <!--NUTRITION--> | ||
|hunger_change=-16 | |hunger_change=-16 | ||
|calories=315 | |calories=315 | ||
|lipids=1.75 | |lipids=1.75 | ||
Line 25: | Line 22: | ||
|carbohydrates=70 | |carbohydrates=70 | ||
<!--TECHNICAL DETAILS--> | <!--TECHNICAL DETAILS--> | ||
| | |item_id=Base.CannedCorn<br>Base.CannedCornOpen | ||
}}'''Canned corn''' ( | }} | ||
'''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 | {{Crafting/sandbox2 | ||
|opened_canned_corn | |||
}} | |||
===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. | ||
{{ | {{Consumables | ||
|image = CannedCornOpen.png | |image = CannedCornOpen.png | ||
|hunger = -16 | |hunger = -16 | ||
Line 56: | Line 54: | ||
====Evolved recipes==== | ====Evolved recipes==== | ||
Canned corn is a [[cooking]] [[Recipe | Canned corn is a [[cooking]] [[Recipe ingredients|ingredient]]. | ||
{{EvolvedRecipesForItem| | {{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]]. | ||
==Code== | ==Code== | ||
{{CodeBox|[[File:CannedCorn.png]] {{ID|Base.CannedCorn}}<br> | |||
{{CodeSnip | |||
{{ | | lang = java | ||
| line = true | |||
| start = 323 | |||
| source = items_food.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item CannedCorn | |||
{ | { | ||
DisplayName = Canned Corn, | DisplayName = Canned Corn, | ||
Line 89: | Line 157: | ||
StaticModel = CanClosed, | StaticModel = CanClosed, | ||
WorldStaticModel = CanClosedCorn, | WorldStaticModel = CanClosedCorn, | ||
Tags = HasMetal, | |||
} | } | ||
}} | |||
{{ | [[File:CannedCornOpen.png]] {{ID|Base.CannedCornOpen}}<br> | ||
{{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 158 | |||
| source = items_food.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item CannedCornOpen | |||
{ | { | ||
DisplayName = Opened Canned Corn, | DisplayName = Opened Canned Corn, | ||
Line 118: | Line 195: | ||
StaticModel = CanOpen, | StaticModel = CanOpen, | ||
WorldStaticModel = CanOpenCorn, | WorldStaticModel = CanOpenCorn, | ||
} | Tags = HasMetal, | ||
} | |||
}} | |||
}} | |||
==See also== | ==See also== | ||
Line 128: | Line 207: | ||
*[[Canned Tomato]] | *[[Canned Tomato]] | ||
{{Navbox | {{Navbox items|preserved_food}} | ||
[[Category:Non-perishable food]] |
Revision as of 02:44, 25 April 2024
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 |
---|---|---|---|---|---|
Opened Canned Corn |
Canned Corn ×1 | 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 |
---|---|---|
|
|
|
Crafting
- Main article: Cooking
Evolved recipes
Canned corn is a cooking ingredient.
Product | Nutrition |
---|---|
Soup |
16 |
Stew |
16 |
Salad |
16 |
Stir Fry |
16 |
Roasted Vegetables |
16 |
Burger |
8 |
Rice Pot/Saucepan |
16 |
Pasta Pot/Saucepan |
16 |
Taco |
8 |
Burrito |
8 |
Omelette |
8 |
Distribution
The loot distributions can be found in the table(s) below.
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
Base.CannedCorn
Source: ProjectZomboid\media\scripts\items_food.txt
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,
}
Base.CannedCornOpen
Source: ProjectZomboid\media\scripts\items_food.txt
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,
}