Server ToolsLauncherServer ListWiki Sign in Discord chat Download
Wiki menu

Unknown Food Can

The label is too worn to read. The content too dirty to guess. The stomach too empty to not have a bite.

Classname UnknownFoodCan
Section
Food
Weight
440 g
Inventory size
2×2 4 slots
Durability
100
Spawns on
Chernarus, Livonia, Sakhal
2 variants

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: Town, Village, Office, Prison.

ChernarusLivoniaSakhal
Nominal 43 45 8
Minimum 37 35 6
Lifetime 4 h 4 h 4 h
Restock 0 0 10 min
Quantity · · ·
Loot category Food Food Food
Places Town Village Office Prison Town Village Office Prison Town Village Office Prison
Tiers · · Tier 1 Tier 2

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
<type name="UnknownFoodCan">
    <nominal>43</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>37</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="Office"/>
    <usage name="Prison"/>
</type>
types.xml · Livonia
<type name="UnknownFoodCan">
    <nominal>45</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>35</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="Office"/>
    <usage name="Prison"/>
</type>
types.xml · Sakhal
<type name="UnknownFoodCan">
    <nominal>8</nominal>
    <lifetime>14400</lifetime>
    <restock>600</restock>
    <min>6</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="Office"/>
    <usage name="Prison"/>
    <value name="Tier1"/>
    <value name="Tier2"/>
</type>

Crafting

Recipes are read from the game scripts. Some have extra conditions in code, those are marked partial.

Variants

Unknown Food Can UnknownFoodCan Chernarus 43Livonia 45Sakhal 8 This page
Unknown Food Can UnknownFoodCan_Opened

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

Config

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