Candy Cane: Difference between revisions
(→Code: CodeBox update) |
m (Automated CodeBox update) |
||
(16 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Food|Sweets}} | ||
{{Page version|41.78.16}} | |||
{{ | |||
{{Infobox item | {{Infobox item | ||
|name=Candy Cane | |name=Candy Cane | ||
|model= | |model=CandyCane_Model.png | ||
|icon=Candycane.png | |icon=Candycane.png | ||
|icon_name=Candy Cane | |icon_name=Candy Cane | ||
Line 18: | Line 17: | ||
<!--TECHNICAL DETAILS--> | <!--TECHNICAL DETAILS--> | ||
|item_id=Base.Candycane | |item_id=Base.Candycane | ||
}}A '''candy cane''' is a | }} | ||
A '''candy cane''' is a non-perishable [[food]] [[Items|item]]. | |||
==Usage== | ==Usage== | ||
Line 24: | Line 25: | ||
==Distribution== | ==Distribution== | ||
The loot distributions can be found in the table(s) below. | |||
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;" | |||
! colspan="4" | Containers | |||
|- | |||
! Building/Room | |||
! Container | |||
! style="width: 3.2em;" | Rolls | |||
! style="width: 3.2em;" | Chance | |||
|- | |||
|rowspan="2"|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 [[Containers#Counters|counters]]. | Candy cane can be found in candy stores, and kitchen [[Containers#Counters|counters]]. | ||
Line 30: | Line 60: | ||
| {{CodeSnip | | {{CodeSnip | ||
| lang = java | | lang = java | ||
| line = | | line = true | ||
| start = 3800 | |||
| source = items_food.txt | | source = items_food.txt | ||
| retrieved = true | | retrieved = true | ||
| version = 41 | | version = 41.78.16 | ||
| code = | | code = | ||
item Candycane | 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, | |||
} | } | ||
}} | |||
}} | }} | ||
Line 59: | Line 89: | ||
{{Navbox food}} | {{Navbox food}} | ||
[[Category:Non-perishable food]] | [[Category:Non-perishable food]] |
Revision as of 10:18, 26 March 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
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 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,
}