Server ToolsLauncherServer ListWiki Sign in Discord chat Download
Wiki menu

Candy Cane

Candy cane of many tastes, to be enjoyed during the season of festivities. Its unique flavor will make it melt in your mouth.

Classname Candycane_Green
Section
Food
Inventory size
1×2 2 slots
Durability
10
Spawns on
Not in vanilla loot
4 variants

Characteristics

Weight when full
0.2 g
Quantity
150 g

Nutrition

Energy
4 500
Water
0
Stomach load
3
Toxicity
0

Values from the config for each state of the food.

Compatibility

Matched by config slots and lists. Game scripts block a few combinations on top of this.

Where it spawns

No vanilla source in the game files: no loot entry, map event, recipe or item that spawns it.

ChernarusLivoniaSakhal
Nominal 0 0 0
Minimum 0 0 0
Lifetime 4 h 4 h 4 h
Restock 0 0 0
Quantity 100–100% 100–100% 100–100%
Loot category Food Food Food
Places Town Village Seasonal event Town Village Seasonal event Town Village Seasonal event
Tiers · · ·

Nominal is how many the economy keeps on the map, minimum is where restocking starts. Lifetime is how long an untouched item lies before cleanup.

types.xml

Vanilla entries from the mission files of each map. Paste one into db/types.xml of your mission to bring back the default.

types.xml · Chernarus, Livonia, Sakhal
<type name="Candycane_Green">
    <nominal>0</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>0</min>
    <quantmin>100</quantmin>
    <quantmax>100</quantmax>
    <cost>100</cost>
    <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
    <category name="food"/>
    <usage name="Town"/>
    <usage name="Village"/>
    <usage name="SeasonalEvent"/>
</type>

Variants

The same item in other colors or versions. Each one has its own classname and loot settings.

Config

Classname
Candycane_Green
Config class
CfgVehicles
Inherits from
Candycane_Colorbase › Edible_Base › Inventory_Base › Static › All
Model
\dz\gear\food\candycane.p3d
Defined in
Addons/gear_food.pbo::config.bin
Inventory slots
WalkieTalkie, Chemlight