Candy Cane: Difference between revisions
VaileasysBot (talk | contribs) (→top: New infobox upgrade - Food) |
(→Code: CodeBox update) |
||
Line 27: | Line 27: | ||
==Code== | ==Code== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = false | |||
| source = items_food.txt | |||
| retrieved = true | |||
| version = 41 | |||
| incver = 73 | |||
| code = | |||
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== | ==See also== |
Revision as of 09:00, 31 January 2024
Candy Cane
Technical
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
Code snippet! This section contains source code from Project ZomboidShow / Hide
Source: ProjectZomboid\media\scripts\items_food.txt
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,
}