Candy Corn: Difference between revisions

From PZwiki
(→‎Distribution: tag for new table request)
m (future)
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Header|Project Zomboid|Items|Food|Sweets}}
{{Header|Project Zomboid|Items|Food|Sweets}}
{{Page version|41.78.16}}
{{Page version|41.78.16}}
{{Future|build 42}}
{{Infobox item
{{Infobox item
|name=Candy Corn
|name=Candy Corn
Line 17: Line 18:
|item_id=Base.CandyCorn
|item_id=Base.CandyCorn
}}
}}
 
A '''candy corn''' is a non-perishable [[food]] [[Items|item]].
'''Candy corn''' is a non-perishable [[food]] [[Items|item]].


==Usage==
==Usage==
Line 27: Line 27:


===Evolved recipes===
===Evolved recipes===
{{EvolvedRecipesForItem|ConeIcecream=5}}
{{EvolvedRecipesForItem|coneicecream=5}}


==Distribution==
==Distribution==
{{Improve|Add new distribution table}}
Candy corn do not appear to currently spawn in-game, despite having a unique world model. When added, it is likely to spawn in similar locations to other sweets.
Candy corn can be found in candy stores, and kitchen [[Containers#Counters|counters]].


==Code==
==Code==
Line 37: Line 36:
| {{CodeSnip
| {{CodeSnip
   | lang = java
   | lang = java
   | line = false
   | line = true
  | start = 8439
   | source = items_food.txt
   | source = items_food.txt
   | retrieved = true
   | retrieved = true
Line 58: Line 58:
WorldStaticModel = CandyCorn_Ground,
WorldStaticModel = CandyCorn_Ground,
}
}
  }}
}}
}}
}}


Line 66: Line 66:
*[[Candy Package]]
*[[Candy Package]]


{{Navbox food}}
{{Navbox items|miscellaneous_food}}


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

Latest revision as of 10:51, 28 April 2024

Project ZomboidItemsFoodSweetsCandy Corn
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
PictureKate.png
This is a future feature.
This article is about an item or mechanic that is currently unimplemented and planned for build 42.
It has either been previewed or found in the game files and does not exist yet.
Candy Corn
CandyCorn Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Nutrition
HungerMoodle Icon Hungry.png
-10
CaloriesCalories
32
CarbohydratesCarbohydrates
14
ProteinsProteins
0
FatFat
0
Technical
Item ID
Base.CandyCorn

A candy corn is a non-perishable food item.

Usage

Candy corn can be eaten, providing the player with some positive effects.

Crafting

Main article: Cooking

Evolved recipes

Product Nutrition
Ice Cream Cone
Ice Cream Cone
5

Distribution

Candy corn do not appear to currently spawn in-game, despite having a unique world model. When added, it is likely to spawn in similar locations to other sweets.

Code

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

Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item CandyCorn
	{
		DisplayName = Candy Corn,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.2,
		Icon = CandyCorn,
		EvolvedRecipe = ConeIcecream:5,
		FoodType = Candy,
		HungerChange = -10,
		Calories = 32,
		Carbohydrates = 14,
		Lipids = 0,
		Proteins = 0,
		WorldStaticModel = CandyCorn_Ground,
	}

See also