Candy Cane: Difference between revisions

From PZwiki
m (Automated 'items' capitalisation)
m (Automated CodeBox update)
(5 intermediate revisions by 2 users not shown)
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
|model=CandyCane Model.png
|model=CandyCane_Model.png
|icon=Candycane.png
|icon=Candycane.png
|icon_name=Candy Cane
|icon_name=Candy Cane
Line 19: Line 19:
}}
}}


A '''candy cane''' is a [[Food#Non-Perishable|non-perishable]] food [[Items|item]].
A '''candy cane''' is a non-perishable [[food]] [[Items|item]].


==Usage==
==Usage==
Line 30: Line 30:
! colspan="4" | Containers
! colspan="4" | Containers
|-
|-
!Building/Room
! Building/Room
!Container
! Container
! style="width: 3.2em;" |Rolls
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" |Chance
! style="width: 3.2em;" | Chance
|-
|-
| rowspan="2"|candystorage
|rowspan="2"|candystorage  
| [[metal_shelves]]
|[[metal_shelves]]  
| 4
|4  
| 1
|1
|-
|-
|[[metal_shelves]]
|[[metal_shelves]]  
|4
|4  
|1
|1
|-
|-
| candystore
|candystore  
| [[counter]]
|[[counter]]  
| 4
|4  
| 1
|1
|-
|-
| grocerystorage
|grocerystorage  
| [[crate]]
|[[crate]]  
| 4
|4  
| 1
|1
|}
|}
Candy cane can be found in candy stores, and kitchen [[Containers#Counters|counters]].
Candy cane can be found in candy stores, and kitchen [[Containers#Counters|counters]].
Line 60: Line 60:
| {{CodeSnip
| {{CodeSnip
   | lang = java
   | lang = java
   | line = false
   | line = true
  | start = 3800
   | 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,
}
}  
  }}
}}
}}
}}


Line 88: Line 89:


{{Navbox food}}
{{Navbox food}}
[[Category:Non-perishable food]]
[[Category:Non-perishable food]]

Revision as of 10:18, 26 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