Server ToolsLauncherServer ListWiki Sign in Discord chat Download
Wiki menu

Hammer

A multi-purpose tool. Mostly thanks to the fact, that, after a while, everything tends to look like a nail.

Classname Hammer
Section
Tools
Weight
940 g
Inventory size
2×3 6 slots
Durability
100
Spawns on
Chernarus, Livonia, Sakhal

Characteristics

Melee

Attack Health Shock Blood Reach
Light attack 13 18 100 1.1 m
Heavy attack 22 30 100 1.1 m
Sprint attack 22 30 100 3.3 m

Where it spawns

Spawns as loot on Chernarus, Livonia, Sakhal: Industrial, Farm.

ChernarusLivoniaSakhal
Nominal 45 30 35
Minimum 40 20 30
Lifetime 4 h 4 h 4 h
Restock 0 0 0
Quantity · · ·
Loot category Tools Tools Tools
Places Industrial Farm Industrial Farm Industrial Farm
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="Hammer">
    <nominal>45</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>40</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"/>
    <usage name="Industrial"/>
    <usage name="Farm"/>
</type>
types.xml · Livonia
<type name="Hammer">
    <nominal>30</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>20</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"/>
    <usage name="Industrial"/>
    <usage name="Farm"/>
</type>
types.xml · Sakhal
<type name="Hammer">
    <nominal>35</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>30</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"/>
    <usage name="Industrial"/>
    <usage name="Farm"/>
</type>

Crafting

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

Config

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