Candy Cane: Difference between revisions

From PZwiki
mNo edit summary
m (Automated CodeBox update)
(30 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{Notice|Future}}
{{Header|Project Zomboid|Items|Food|Sweets}}
{{Notice|Improve}}
{{Page version|41.78.16}}
{{Infobox item
|name=Candy Cane
|model=CandyCane_Model.png
|icon=Candycane.png
|icon_name=Candy Cane
<!--GENERAL-->
|category=Food
|weight=0.2
<!--NUTRITION-->
|hunger_change=-10
|calories=16.6
|lipids=0
|proteins=0
|carbohydrates=4.33
<!--TECHNICAL DETAILS-->
|item_id=Base.Candycane
}}


<!--this section is for the infobox which will be positioned on the right of the page. Image.png is the default question mark image-->
A '''candy cane''' is a non-perishable [[food]] [[Items|item]].
{{Consumables
|image = Candycane.png
|hunger = -15
|weight = 0.2
}} <!--/infobox-->


A cane, made out of candy! -NOT IN GAME YET-
==Usage==
Candy cane can be eaten, providing the player with some positive effects.


== Effects ==
==Distribution==
<!--list of effects here-->
The loot distributions can be found in the table(s) below.
Hunger: -15


<!--
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
== Crafting ==
! colspan="4" | Containers
ITEM NAME can be used in the following recipes:
|-
 
! Building/Room
{| class="wikitable" width="550" style="text-align:center;"
! Container
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" | Chance
|-
|rowspan="2"|candystorage
|[[metal_shelves]]
|4
|1
|-
|[[metal_shelves]]
|4
|1
|-
|-
! Ingredients || Other Items || Output || Description
|candystore
|[[counter]]
|4
|1
|-
|-
| Ingredient + Ingredient || Oven/None || What the recipe makes || Brief description of what it makes.
|grocerystorage
|[[crate]]
|4
|1
|}
|}
-->
Candy cane can be found in candy stores, and kitchen [[Containers#Counters|counters]].
 
==Code==
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 3800
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | 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==
*[[Mint Candy]]
*[[Lollipop]]
*[[Candy Package]]
 
{{Navbox food}}


[[Category:Consumables]]
[[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