Candy Cane: Difference between revisions
m (Remove 120px, minor fixes) |
m (Distribution table update) |
||
(24 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{Header|Project Zomboid|Items|Food|Sweets}} | |||
| | {{Page version|41.78.16}} | ||
| | {{Infobox item | ||
| | |name=Candy Cane | ||
| | |model=CandyCane_Model.png | ||
|icon=Candycane.png | |||
|icon_name=Candy Cane | |||
<!--GENERAL--> | <!--GENERAL--> | ||
|category=Food | |category=Food | ||
Line 14: | Line 16: | ||
|carbohydrates=4.33 | |carbohydrates=4.33 | ||
<!--TECHNICAL DETAILS--> | <!--TECHNICAL DETAILS--> | ||
| | |item_id=Base.Candycane | ||
}}''' | }} | ||
A '''candy cane''' is a non-perishable [[food]] [[Items|item]]. | |||
==Usage== | ==Usage== | ||
Line 21: | Line 24: | ||
==Distribution== | ==Distribution== | ||
The loot distributions can be found in the table(s) below. | |||
<!--BOT FLAG|Candycane|41.78.16--> | |||
{{clear}} | |||
<div class="togglebox theme-red"> | |||
<div>Candycane distribution | |||
<span class="mw-customtoggle-togglebox-Candycane" title="{{int:show}} / {{int:hide}}" style="float:right; padding-right:30px; padding-top:4px; font-size:0.7em; font-weight:normal;">{{int:show}} / {{int:hide}}</span></div> | |||
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Candycane"> | |||
<div class="toggle-content"><div style="display: flex;"><div style="float:left;"> | |||
{| class="wikitable theme-red" style="margin-right:15px; width:95%;" | |||
|+ {{ll|Containers}} | |||
! Building / Room | |||
! Container | |||
! Rolls | |||
! Chance | |||
|- | |||
| all | |||
| {{ll|GroceryBag1}} | |||
| 1 | |||
| 1.0 | |||
|- | |||
| all | |||
| {{ll|GroceryBag3}} | |||
| 1 | |||
| 10.0 | |||
|- | |||
| candystorage | |||
| {{ll|metal_shelves}} | |||
| 4 | |||
| 10.0 | |||
|- | |||
| candystore | |||
| {{ll|counter}} | |||
| 4 | |||
| 10.0 | |||
|- | |||
| grocerystorage | |||
| {{ll|crate}} | |||
| 4 | |||
| 1.0 | |||
|} | |||
</div> | |||
</div><div style="clear:both;"></div> | |||
</div></div><div class="toggle large mw-customtoggle-togglebox-Candycane" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|Candycane|41.78.16--> | |||
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]]. | ||
==Code== | ==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, | DisplayName = Candy Cane, | ||
Line 44: | Line 94: | ||
Proteins = 0, | Proteins = 0, | ||
WorldStaticModel = CandyCane, | WorldStaticModel = CandyCane, | ||
} | } | ||
}} | |||
}} | |||
==See also== | ==See also== | ||
Line 51: | Line 103: | ||
*[[Candy Package]] | *[[Candy Package]] | ||
{{Navbox | {{Navbox items|miscellaneous_food}} | ||
[[Category:Non-perishable food]] |
Latest revision as of 15:07, 24 April 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.
Candycane distribution
Show / Hide
Building / Room | Container | Rolls | Chance |
---|---|---|---|
all | GroceryBag1 | 1 | 1.0 |
all | GroceryBag3 | 1 | 10.0 |
candystorage | metal_shelves | 4 | 10.0 |
candystore | counter | 4 | 10.0 |
grocerystorage | crate | 4 | 1.0 |
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,
}