Server ToolsLauncherServer ListWiki Sign in Discord chat Download
Wiki menu

Can Opener

This common household instrument is used to smoothly open metal/tin cans, with no content spilling.

Classname CanOpener
Section
Tools
Weight
150 g
Inventory size
1×2 2 slots
Durability
20
Spawns on
Chernarus, Livonia, Sakhal

Characteristics

Melee

Attack Health Shock Blood Reach
Light attack 10 12 100 1 m
Heavy attack 15 17 100 1 m
Sprint attack 15 17 100 2.8 m

Where it spawns

Spawns as loot on Chernarus, Livonia, Sakhal: Town, Village.

ChernarusLivoniaSakhal
Nominal 70 30 17
Minimum 50 15 12
Lifetime 4 h 4 h 4 h
Restock 0 0 0
Quantity · · ·
Loot category Tools Tools Tools
Places Town Village Village Village
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
<type name="CanOpener">
    <nominal>70</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>50</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="tools"/>
    <tag name="shelves"/>
    <usage name="Town"/>
    <usage name="Village"/>
</type>
types.xml · Livonia
<type name="CanOpener">
    <nominal>30</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>15</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="tools"/>
    <tag name="shelves"/>
    <usage name="Village"/>
</type>
types.xml · Sakhal
<type name="CanOpener">
    <nominal>17</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="tools"/>
    <tag name="shelves"/>
    <usage name="Village"/>
</type>

Crafting

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

Config

Classname
CanOpener
Config class
CfgVehicles
Inherits from
Inventory_Base › Static › All
Model
\dz\gear\tools\CanOpener.p3d
Defined in
Addons/gear_tools.pbo::config.bin