Canned Corn: Difference between revisions
m (fixed language and container links) |
(Update distribution file) |
||
(36 intermediate revisions by 8 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--> | |||
|category=Food | |||
|weight=0.8 | |||
|days_fresh=2 | |||
|days_rotten=4 | |||
|packaged=Yes | |||
<!--NUTRITION--> | |||
|hunger_change=-16 | |||
|calories=315 | |||
|lipids=1.75 | |||
|proteins=7 | |||
|carbohydrates=70 | |||
<!--TECHNICAL DETAILS--> | |||
|item_id=Base.CannedCorn<br>Base.CannedCornOpen | |||
}} | }} | ||
Canned | '''Canned corn''' (written as ''SWEET CORN'' on the model) is a non-perishable [[food]] [[Items|item]]. | ||
==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]]. | |||
{{Crafting/sandbox2 | |||
|opened_canned_corn | |||
}} | |||
== | ===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. | |||
{{Consumables | |||
{{ | |||
|image = CannedCornOpen.png | |image = CannedCornOpen.png | ||
|hunger = - | |hunger = -16 | ||
|thirst = 0 | |thirst = 0 | ||
|unrotten hunger = - | |unrotten hunger = -12 | ||
|unrotten boredom = +10 | |unrotten boredom = +10 | ||
|unrotten unhappiness = +10 | |unrotten unhappiness = +10 | ||
Line 31: | Line 49: | ||
|rotten image = CannedCornOpen.png | |rotten image = CannedCornOpen.png | ||
}} | }} | ||
== Evolved | ==Crafting== | ||
<!-- | {{Main|Cooking}} | ||
{{ | |||
| | ====Evolved recipes==== | ||
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== | |||
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"> | |||
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits. <div class="toggle-content"> | |||
<div class="pz-container"> | |||
<div id="containers" style="flex-basis:30%"> | |||
{| class="wikitable theme-red" style="margin-right: 15px; width: 95%;" | |||
|+ {{ll|Containers}} | |||
! Building/Room | |||
! Container | |||
! Effective chance | |||
|- | |||
| Bag_FoodCanned | |||
| {{ll|Bag_FoodCanned}} | |||
| 23.28% | |||
|- | |||
| Bag_SurvivorBag | |||
| {{ll|Bag_SurvivorBag}} | |||
| 23.28% | |||
|- | |||
| FoodCache1 | |||
| {{ll|FoodBox}} | |||
| 55.18% | |||
|- | |||
| GroceryBag1 | |||
| {{ll|GroceryBag1}} | |||
| 0.89% | |||
|- | |||
| GroceryBag2 | |||
| {{ll|GroceryBag2}} | |||
| 2.81% | |||
|- | |||
| SafehouseLoot | |||
| {{ll|counter}} | |||
| 19.27% | |||
|- | |||
| SurvivorCache1 | |||
| {{ll|SurvivorCrate}} | |||
| 19.27% | |||
|- | |||
| SurvivorCache1 | |||
| {{ll|counter}} | |||
| 19.27% | |||
|- | |||
| SurvivorCache2 | |||
| {{ll|SurvivorCrate}} | |||
| 19.27% | |||
|- | |||
| SurvivorCache2 | |||
| {{ll|counter}} | |||
| 19.27% | |||
|- | |||
| garagestorage | |||
| {{ll|crate}} | |||
| 19.27% | |||
|- | |||
| generalstore | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| generalstore | |||
| {{ll|shelves}} | |||
| 23.28% | |||
|- | |||
| generalstorestorage | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| generalstorestorage | |||
| {{ll|shelves}} | |||
| 23.28% | |||
|- | |||
| gigamart | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| gigamart | |||
| {{ll|shelves}} | |||
| 23.28% | |||
|- | |||
| grocery | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| grocery | |||
| {{ll|shelves}} | |||
| 23.28% | |||
|- | |||
| grocery | |||
| {{ll|smallcrate}} | |||
| 23.28% | |||
|- | |||
| grocerystorage | |||
| {{ll|crate}} | |||
| 3.51% | |||
|- | |||
| grocerystorage | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| grocerystorage | |||
| {{ll|crate}} | |||
| 41.14% | |||
|- | |||
| grocerystorage | |||
| {{ll|metal_shelves}} | |||
| 3.51% | |||
|- | |||
| grocerystorage | |||
| {{ll|metal_shelves}} | |||
| 23.28% | |||
|- | |||
| grocerystorage | |||
| {{ll|metal_shelves}} | |||
| 41.14% | |||
|- | |||
| grocerystorage | |||
| {{ll|smallcrate}} | |||
| 3.51% | |||
|- | |||
| grocerystorage | |||
| {{ll|smallcrate}} | |||
| 23.28% | |||
|- | |||
| grocerystorage | |||
| {{ll|smallcrate}} | |||
| 41.14% | |||
|- | |||
| kitchen | |||
| {{ll|counter}} | |||
| 19.27% | |||
|- | |||
| kitchen | |||
| {{ll|crate}} | |||
| 19.27% | |||
|- | |||
| kitchen | |||
| {{ll|overhead}} | |||
| 19.27% | |||
|- | |||
| kitchen | |||
| {{ll|shelves}} | |||
| 19.27% | |||
|- | |||
| livingroom | |||
| {{ll|counter}} | |||
| 19.27% | |||
|- | |||
| livingroom | |||
| {{ll|overhead}} | |||
| 19.27% | |||
|- | |||
| storageunit | |||
| {{ll|crate}} | |||
| 19.27% | |||
|} | |||
</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]]. | |||
==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, | |||
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, | |||
} | |||
}} | |||
[[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, | |||
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== | |||
*[[Canned Carrots]] | |||
*[[Canned Chili]] | |||
*[[Canned Peas]] | |||
*[[Canned Potato]] | |||
*[[Canned Tomato]] | |||
{{Navbox items|preserved_food}} | |||
[[Category:Non-perishable food]] | |||
[[Category:Non- | |||
Latest revision as of 12:16, 30 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 | Effective chance |
---|---|---|
Bag_FoodCanned | Bag_FoodCanned | 23.28% |
Bag_SurvivorBag | Bag_SurvivorBag | 23.28% |
FoodCache1 | FoodBox | 55.18% |
GroceryBag1 | GroceryBag1 | 0.89% |
GroceryBag2 | GroceryBag2 | 2.81% |
SafehouseLoot | counter | 19.27% |
SurvivorCache1 | SurvivorCrate | 19.27% |
SurvivorCache1 | counter | 19.27% |
SurvivorCache2 | SurvivorCrate | 19.27% |
SurvivorCache2 | counter | 19.27% |
garagestorage | crate | 19.27% |
generalstore | crate | 23.28% |
generalstore | shelves | 23.28% |
generalstorestorage | crate | 23.28% |
generalstorestorage | shelves | 23.28% |
gigamart | crate | 23.28% |
gigamart | shelves | 23.28% |
grocery | crate | 23.28% |
grocery | shelves | 23.28% |
grocery | smallcrate | 23.28% |
grocerystorage | crate | 3.51% |
grocerystorage | crate | 23.28% |
grocerystorage | crate | 41.14% |
grocerystorage | metal_shelves | 3.51% |
grocerystorage | metal_shelves | 23.28% |
grocerystorage | metal_shelves | 41.14% |
grocerystorage | smallcrate | 3.51% |
grocerystorage | smallcrate | 23.28% |
grocerystorage | smallcrate | 41.14% |
kitchen | counter | 19.27% |
kitchen | crate | 19.27% |
kitchen | overhead | 19.27% |
kitchen | shelves | 19.27% |
livingroom | counter | 19.27% |
livingroom | overhead | 19.27% |
storageunit | crate | 19.27% |
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,
}