Candy Cane: Difference between revisions

From PZwiki
(added nutrition to infobox)
m (b40 update)
Line 1: Line 1:
{{Languages|Candy Cane}}
{{Languages|Candy Cane}}
{{header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 40|incver=14}}{{Notice|Future}}{{Infobox food
{{header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 40|incver=30}}{{Infobox food
|display_name=Candy Cane
|display_name=Candy Cane
|name_colour=Food
|name_colour=Food
Line 16: Line 16:
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Candycane
|class_name=Base.Candycane
}}A '''candy cane''' is a non-perishable [[food]] expected to be added in [[build 40]].
}}A '''candy cane''' is a non-perishable [[food]] [[item]].


==Usage==
==Usage==
Line 26: Line 26:
== Code ==
== Code ==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=40|incver=5}}
{{Retrieved|version=40|incver=30}}
<pre> item Candycane
<pre> item Candycane
HungerChange = -10,
HungerChange = -10,

Revision as of 08:51, 31 October 2018

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 newitems.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 40.30

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

See also

Template:Navbox/Consumables