Candy Cane: Difference between revisions

From PZwiki
m (Updated distribution table)
(updated code section/article version)
Line 1: Line 1:
{{Header|Project Zomboid|Items|Food|Sweets}}
{{Header|Project Zomboid|Items|Food|Sweets}}
{{Page version|41.73}}
{{Page version|41.78.16}}
{{Infobox item
{{Infobox item
|name=Candy Cane
|name=Candy Cane
Line 63: Line 63:
   | source = items_food.txt
   | source = items_food.txt
   | retrieved = true
   | retrieved = true
   | version = 41.73
   | version = 41.78.16
   | code =
   | code =
item Candycane
item Candycane
{
{
  DisplayName         = Candy Cane,
DisplayName = Candy Cane,
  DisplayCategory     = Food,
DisplayCategory = Food,
  Type               = Food,
Type = Food,
  Weight             = 0.2,
Weight = 0.2,
  Icon               = Candycane,
Icon = Candycane,
  HungerChange       = -10,
HungerChange = -10,
  Calories           = 16.6,
Calories = 16.6,
  Carbohydrates       = 4.33,
Carbohydrates = 4.33,
  Lipids             = 0,
Lipids = 0,
  Proteins           = 0,
Proteins = 0,
  WorldStaticModel   = CandyCane,
WorldStaticModel = CandyCane,
}
}
   }}
   }}
}}
}}

Revision as of 21:13, 22 March 2024

Project ZomboidItemsFoodSweetsCandy Cane
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Candy Cane
CandyCane Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Nutrition
HungerMoodle Icon Hungry.png
-10
CaloriesCalories
16.6
CarbohydratesCarbohydrates
4.33
ProteinsProteins
0
FatFat
0
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

The loot distributions can be found in the table(s) below.

Containers
Building/Room Container Rolls Chance
candystorage metal_shelves 4 1
metal_shelves 4 1
candystore counter 4 1
grocerystorage crate 4 1

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

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
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