Server ToolsLauncherServer ListWiki Sign in Discord chat Download
Wiki menu

Canned Crab

Can of tasty, briny, local crab. If left unopened, it will last for a while.

Classname CrabCan
Section
Food
Weight
265 g
Inventory size
2×1 2 slots
Durability
70
Spawns on
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 Sakhal: Town, Village, Hunting.

ChernarusLivoniaSakhal
Nominal 0 0 20
Minimum 0 0 14
Lifetime 4 h 4 h 4 h
Restock 0 0 0
Quantity · · ·
Loot category Food Food Food
Places · · Town Village Hunting
Tiers · · Tier 2 Tier 3 Tier 4

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
<type name="CrabCan">
    <nominal>0</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>0</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"/>
</type>
types.xml · Sakhal
<type name="CrabCan">
    <nominal>20</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>14</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="floor"/>
    <tag name="shelves"/>
    <usage name="Town"/>
    <usage name="Village"/>
    <usage name="Hunting"/>
    <value name="Tier2"/>
    <value name="Tier3"/>
    <value name="Tier4"/>
</type>

Variants

Canned Crab CrabCan Sakhal 20 This page
Canned Crab CrabCan_Opened

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

Config

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