Candy Cane: Difference between revisions

From PZwiki
m (b40 update)
(updated to 41.68 + added model + navbox)
Line 1: Line 1:
{{Languages|Candy Cane}}
{{Languages}}
{{header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 40|incver=30}}{{Infobox food
{{header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 41|incver=68}}{{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_120px.png
|image=CandyCane_Model.png
|image_width=150px
|alternate_image=Candycane.png
|alternate_name=Candy Cane
|alternate_link=
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 25: Line 29:


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


==See also==
==See also==
Line 44: Line 52:
*[[Candy Package]]
*[[Candy Package]]


{{Navbox/Consumables}}
{{Navbox_food}}

Revision as of 10:41, 14 March 2022

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 canes can be eaten, providing the player with some positive effects.

Distribution

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

Code

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

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

See also