Candy Cane: Difference between revisions

From PZwiki
(added model to infobox)
(-gallery (dupe only))
Line 26: Line 26:
==Distribution==
==Distribution==
Candy cane can be found in candy stores, and kitchen [[Containers#Counters|counters]].
Candy cane can be found in candy stores, and kitchen [[Containers#Counters|counters]].
==Gallery==
<gallery>
File:CandyCane Model.png|Candy cane model when placed in the world.
</gallery>


==Code==
==Code==

Revision as of 21:39, 18 December 2023

Candy Cane
Candy Cane
Candy Cane
General
Category Food
Encumbrance
Heavy Load
0.2
Nutrition
Hunger
Hunger
-10
Calories
Calories
16.6
Carbohydrates
Carbohydrates
4.33
Proteins
Proteins
0
Fat
Fat
0
Technical details
Item ID Base.Candycane

A candy cane is a non-perishable food item.

Usage

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

Distribution

Candy cane can be found in candy stores, and kitchen counters.

Code

From items_food.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.73

    item Candycane
	{
		DisplayName = Candy Cane,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.2,
		Icon = Candycane,
		HungerChange = -10,
		Calories = 16.6,
		Carbohydrates = 4.33,
		Lipids = 0,
		Proteins = 0,
		WorldStaticModel = CandyCane,
	}

See also