Server ToolsLauncherServer ListWiki Sign in Discord chat Download
Wiki menu

Zagorky

Classic flavored wafer.

Classname Zagorky
Section
Food
Weight
10 g
Inventory size
1×2 2 slots
Durability
20
Spawns on
Chernarus, Livonia, Sakhal

Characteristics

Weight when full
110 g
Quantity
100 g

Nutrition

Energy
100
Water
0
Stomach load
0
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

Spawns as loot on Chernarus, Livonia, Sakhal: Village, Hunting, Office, School. Also spawns on or inside other items: Hip Pack.

ChernarusLivoniaSakhal
Nominal 15 10 6
Minimum 12 5 4
Lifetime 4 h 4 h 4 h
Restock 0 0 0
Quantity · · ·
Loot category Food Food Food
Places Village Hunting Office School Amusement park Town Village Hunting Office School Town Village Hunting Office School
Tiers Tier 1 Tier 2 Tier 3 Tier 1 Tier 2 Tier 1

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.

Spawns on or inside

From cfgspawnabletypes.xml of the vanilla maps: the item can spawn attached to these items or in their cargo, with the chance set there.

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
<type name="Zagorky">
    <nominal>15</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>12</min>
    <quantmin>-1</quantmin>
    <quantmax>-1</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"/>
    <tag name="shelves"/>
    <usage name="Village"/>
    <usage name="Hunting"/>
    <usage name="Office"/>
    <usage name="School"/>
    <usage name="Lunapark"/>
    <value name="Tier1"/>
    <value name="Tier2"/>
    <value name="Tier3"/>
</type>
types.xml · Livonia
<type name="Zagorky">
    <nominal>10</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>5</min>
    <quantmin>-1</quantmin>
    <quantmax>-1</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"/>
    <tag name="shelves"/>
    <usage name="Town"/>
    <usage name="Village"/>
    <usage name="Hunting"/>
    <usage name="Office"/>
    <usage name="School"/>
    <value name="Tier1"/>
    <value name="Tier2"/>
</type>
types.xml · Sakhal
<type name="Zagorky">
    <nominal>6</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>4</min>
    <quantmin>-1</quantmin>
    <quantmax>-1</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"/>
    <tag name="shelves"/>
    <usage name="Town"/>
    <usage name="Village"/>
    <usage name="Hunting"/>
    <usage name="Office"/>
    <usage name="School"/>
    <value name="Tier1"/>
</type>

Config

Classname
Zagorky
Config class
CfgVehicles
Inherits from
Zagorky_ColorBase › Edible_Base › Inventory_Base › Static › All
Model
\dz\gear\food\Zagorky.p3d
Defined in
Addons/gear_food.pbo::config.bin
Inventory slots
DirectCookingA, DirectCookingB, DirectCookingC