Corn: Difference between revisions

From PZwiki
mNo edit summary
(→‎See also: +relevant see alsos)
 
(48 intermediate revisions by 13 users not shown)
Line 1: Line 1:
{{languages|Corn}}
{{Header|Project Zomboid|Items|Food|Vegetables}}
{{header|Project Zomboid|Items|Food|Perishable Food|Vegetables|type=Food|version=Version 40|incver=7}}{{Infobox food
{{Page version|41.78.16}}
|display_name=Corn
{{Infobox item
|name_colour=Food
|name=Corn
|name_text_colour=Food
|model=Corn_Model.png
|image=Corn_120px.png
|icon=Corn.png
|alternate_image=CornRotten.png
|icon_name=Corn
|alternate_link=
|model2=CornRotten_Model.png
|alternate_name=Corn (Rotten)
|icon2=CornRotten.png
|icon_name2=Corn (Rotten)
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 21: Line 22:
|carbohydrates=26.74
|carbohydrates=26.74
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Corn
|item_id=Base.Corn
}}'''Corn''' is a [[Food#Perishable|perishable]] food [[item]].
}}
A '''corn''' is a perishable [[food]] [[Items|item]].


==Usage==
==Usage==
=== Consumable properties ===
===Consumable properties===
Corn can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.
Corn can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.
{{Consumables2
{{Consumables
|image = Corn.png
|image = Corn.png
|hunger = -14
|hunger = -14
Line 41: Line 43:
|rotten thirst = 0
|rotten thirst = 0
|perishable = 1
|perishable = 1
|rotten image = Item CornRotten.png
|rotten image = CornRotten.png
}}
}}


==Crafting==
==Crafting==
=== Evolved recipes ===
{{Main|Cooking}}
Corn is a [[cooking]] [[Recipe Ingredients|ingredient]].
 
{{EvolvedRecipesForItem|soup=14|stew=14|stirfry=14|burger=7|salad=14|roastedvegetables=14|ricepot=14|ricepan=14|pastapot=14|pastapan=14|}}
===Evolved recipes===
Corn is a [[cooking]] [[Recipe ingredients|ingredient]].
{{EvolvedRecipesForItem|soup=14|stew=14|stirfry=14|burger=14|salad=7|roastedvegetables=14|rice=14|pasta=14|burrito=7|taco=7}}
 
===Sack of Corn===
{{Crafting/sandbox2
|corn
}}


==Distribution==
==Distribution==
Corn is often found in [[refrigerator]]s, [[Containers#Displays|grocery displays]] and [[Containers#Plants|wild corn crops]].
The loot distributions can be found in the table(s) below.


== Code ==
<!--BOT FLAG|Corn|41.78.16-->
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{clear}}
{{Retrieved|version=40|incver=7}}
<div class="togglebox theme-red">
<pre> item Corn
    <div>Corn distribution
HungerChange = -14,
        <span class="mw-customtoggle-togglebox-Corn" 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>
Weight = 0.2,
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Corn">
Type = Food,
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
DaysTotallyRotten = 8,
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
DisplayName = Corn,
    |+ {{ll|Containers}}
Icon = Corn,
    ! Building / Room
DaysFresh = 5,
    ! Container
EvolvedRecipe = Soup:14;Stew:14;Stir fry:14;Burger:7;Salad:14;Roasted Vegetables:14;RicePot:14;RicePan:14;PastaPot:14;PastaPan:14,
    ! Rolls
FoodType = Vegetables,
    ! Chance
        Carbohydrates = 26.74,
    |-
        Proteins = 4.68,
    | all
        Lipids = 1.93,
    | {{ll|GroceryBag1}}
        Calories = 88,</pre>
    | 1
    | 2.0
    |-
    | all
    | {{ll|GroceryBag2}}
    | 1
    | 4.0
    |-
    | all
    | {{ll|fridge}}
    | 4
    | 2.0
    |-
    | chinesekitchen
    | {{ll|fridge}}
    | 4
    | 8.0
    |-
    | dinerkitchen
    | {{ll|fridge}}
    | 4
    | 4.0
    |-
    | gigamart
    | {{ll|grocerstand}}
    | 4
    | 20.0
    |-
    | gigamart
    | {{ll|grocerstand}}
    | 4
    | 10.0
    |-
    | restaurantkitchen
    | {{ll|fridge}}
    | 4
    | 4.0
    |}
</div>
    </div><div style="clear:both;"></div>
    {| class="wikitable theme-red" style="width:98%;"
    |+ {{ll|Foraging}}
    ! rowspan="2" | Amount
    ! rowspan="2" | Skill level
    ! rowspan="2" | Biomes
    ! colspan="4" style="text-align:center;" | Weather modifiers
    ! colspan="3" style="text-align:center;" | Month modifiers
    |-
    ! Snow
    ! Rain
    ! Day
    ! Night
    ! Months available
    ! Bonus months
    ! Malus months
    |-
    | 3-6
    | -
    | Forest  10<br> DeepForest  10<br> Vegitation  10<br> FarmLand  10<br> Farm  10
    | -
    | -
    | -
    | -
    | -
    | May<br>June<br>July
    | March<br>April
    |}
    </div></div><div class="toggle large mw-customtoggle-togglebox-Corn" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Corn|41.78.16-->
Corn is often found in [[refrigerator]]s and [[Containers#Displays|grocery displays]]. [[Containers|Wild corn crops]] could be found in previous versions of the game, however they were removed as of build 41.
 
Sacks of corn can be found in grocery stores and warehouses.
 
==Code==
{{CodeBox|[[File:Corn.png]] {{ID|Base.Corn}}<br>
{{CodeSnip
  | lang = java
  | line = true
  | start = 1172
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Corn
{
DisplayName = Corn,
DisplayCategory = Food,
Type = Food,
Weight = 0.2,
Icon = Corn,
EvolvedRecipe = Soup:14;Stew:14;Stir fry Griddle Pan:14;Stir fry:14;Burger:7;Salad:7;Roasted Vegetables:14;RicePot:14;RicePan:14;PastaPot:14;PastaPan:14;Burrito:7;Taco:7,
FoodType = Vegetables,
DaysFresh = 5,
DaysTotallyRotten = 8,
HungerChange = -14,
ThirstChange = -4,
Calories = 88,
Carbohydrates = 26.74,
Lipids = 1.93,
Proteins = 4.68,
StaticModel = CylinderFood_Yellow,
WorldStaticModel = Corn_Ground,
}
}}
 
[[File:Sandbag.png]] {{ID|Base.SackProduce_Corn}}<br>
{{CodeSnip
  | lang = java
  | line = true
  | start = 8096
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item SackProduce_Corn
{
DisplayName = Sack of Corn,
DisplayCategory = Food,
Type = Food,
Weight = 2,
Icon = Sandbag,
CantEat = TRUE,
DaysFresh = 5,
DaysTotallyRotten = 8,
WorldStaticModel = SandBag,
}
}}
}}
 
==Trivia==
*There was a running joke, started on the Reddit that involved corn, saying that corn can be used to teleport the player.<ref>[https://steamcommunity.com/app/108600/discussions/0/3463857594032960999/#c3463857594034252253 What is Telecorn? :: Project Zomboid General Discussions]</ref>


==See also==
==See also==
*[[Popcorn]]
*[[Cornmeal]]
==References==
<references />
{{Navbox items|plants}}


{{Navbox/Consumables}}
[[Category:Perishable food]]

Latest revision as of 17:38, 25 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Corn
Corn Model.png
CornRotten Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Properties
Days fresh
5 days
Days until rotten
8 days
Nutrition
HungerMoodle Icon Hungry.png
-14
ThirstMoodle Icon Thirsty.png
-4
CaloriesCalories
88
CarbohydratesCarbohydrates
26.74
ProteinsProteins
4.68
FatFat
1.93
Technical
Item ID
Base.Corn

A corn is a perishable food item.

Usage

Consumable properties

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

Corn.png
Hunger: -14


Corn.png
Hunger: -11
Boredom: +10
Unhappiness: +10

CornRotten.png
Hunger: -6
Boredom: +20
Unhappiness: +20
Dangerous, will cause sickness.

Crafting

Main article: Cooking

Evolved recipes

Corn is a cooking ingredient.

Product Nutrition
Soup
Soup
14
Stew
Stew
14
Salad
Salad
7
Stir Fry
Stir Fry
14
Roasted Vegetables
Roasted Vegetables
14
Burger
Burger
14
Rice Pot/Saucepan
Rice Pot/Saucepan
14
Pasta Pot/Saucepan
Pasta Pot/Saucepan
14
Taco
Taco
7
Burrito
Burrito
7

Sack of Corn

Product Ingredients Tools Requirements Workstation XP
Corn.png
Corn ×12
Sandbag.png Sack of Corn ×1 none none none none

Distribution

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

Corn distribution Show / Hide
Containers
Building / Room Container Rolls Chance
all GroceryBag1 1 2.0
all GroceryBag2 1 4.0
all fridge 4 2.0
chinesekitchen fridge 4 8.0
dinerkitchen fridge 4 4.0
gigamart grocerstand 4 20.0
gigamart grocerstand 4 10.0
restaurantkitchen fridge 4 4.0
Foraging
Amount Skill level Biomes Weather modifiers Month modifiers
Snow Rain Day Night Months available Bonus months Malus months
3-6 - Forest 10
DeepForest 10
Vegitation 10
FarmLand 10
Farm 10
- - - - - May
June
July
March
April

Corn is often found in refrigerators and grocery displays. Wild corn crops could be found in previous versions of the game, however they were removed as of build 41.

Sacks of corn can be found in grocery stores and warehouses.

Code

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

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

Retrieved: Build 41.78.16
item Corn
	{
		DisplayName = Corn,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.2,
		Icon = Corn,
		EvolvedRecipe = Soup:14;Stew:14;Stir fry Griddle Pan:14;Stir fry:14;Burger:7;Salad:7;Roasted Vegetables:14;RicePot:14;RicePan:14;PastaPot:14;PastaPan:14;Burrito:7;Taco:7,
		FoodType = Vegetables,
		DaysFresh = 5,
		DaysTotallyRotten = 8,
		HungerChange = -14,
		ThirstChange = -4,
		Calories = 88,
		Carbohydrates = 26.74,
		Lipids = 1.93,
		Proteins = 4.68,
		StaticModel = CylinderFood_Yellow,
		WorldStaticModel = Corn_Ground,
	}

Sandbag.png Base.SackProduce_Corn
Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item SackProduce_Corn
	{
		DisplayName = Sack of Corn,
		DisplayCategory = Food,
		Type = Food,
		Weight = 2,
		Icon = Sandbag,
		CantEat = TRUE,
		DaysFresh = 5,
		DaysTotallyRotten = 8,
		WorldStaticModel = SandBag,
	}

Trivia

  • There was a running joke, started on the Reddit that involved corn, saying that corn can be used to teleport the player.[1]

See also

References