Candy Cane: Difference between revisions
m (Automatic formatting) |
m (Automated CodeBox update) |
||
Line 60: | 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 | ||
Line 78: | Line 79: | ||
Proteins = 0, | Proteins = 0, | ||
WorldStaticModel = CandyCane, | WorldStaticModel = CandyCane, | ||
} | } | ||
}} | |||
}} | }} | ||
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,
}