Candy Cane: Difference between revisions

From PZwiki
(updated to 41.68 + added model + navbox)
mNo edit summary
Line 1: Line 1:
{{Languages}}
{{Languages|Candy Cane}}
{{header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 41|incver=68}}{{Infobox food
{{header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 41|incver=73}}{{Infobox food
|display_name=Candy Cane
|display_name=Candy Cane
|name_colour=Food
|name_colour=Food
|name_text_colour=Food
|name_text_colour=Food
|image=CandyCane_Model.png
|image=Candycane_120px.png
|image_width=150px
|alternate_image=Candycane.png
|alternate_name=Candy Cane
|alternate_link=
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 20: Line 16:
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Candycane
|class_name=Base.Candycane
}}A '''candy cane''' is a non-perishable [[food]] [[item]].
}}'''Candy cane''' is a non-perishable [[food]] [[item]].


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


==Distribution==
==Distribution==
Candy canes 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 ==
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=41|incver=68}}
{{Retrieved|version=41|incver=73}}
<pre>    item Candycane
<pre>    item Candycane
{
{
DisplayName = Candy Cane,
DisplayCategory = Food,
DisplayCategory = Food,
HungerChange = -10,
Type = Food,
Weight = 0.2,
Weight = 0.2,
AlwaysWelcomeGift = true,
Icon = Candycane,
Type = Food,
HungerChange = -10,
DisplayName = Candy Cane,
Calories = 16.6,
Icon = Candycane,
Carbohydrates = 4.33,
Carbohydrates = 4.33,
Lipids = 0,
Proteins = 0,
Proteins = 0,
Lipids = 0,
Calories = 16.6,
WorldStaticModel = CandyCane,
WorldStaticModel = CandyCane,
}</pre>
}</pre>

Revision as of 16:39, 5 October 2022

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

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.

Gallery

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