Wiki menu
Nails
16d-sized nails. What you do with them is anybody's guess, but they are a necessity for any serious construction effort.
Nail
- Section
- Building materials
- Weight
- 36 g
- Inventory size
- 1×1 1 slots
- Durability
- 80
- Spawns on
- Not in vanilla loot
Characteristics
- Quantity
- 99 pcs
Compatibility
Attaches to
Matched by config slots and lists. Game scripts block a few combinations on top of this.
Where it spawns
Can be crafted, the recipe is below.
| Chernarus | Livonia | Sakhal | |
|---|---|---|---|
| Nominal | 0 | 0 | 0 |
| Minimum | 0 | 0 | 0 |
| Lifetime | 4 h | 4 h | 4 h |
| Restock | 0 | 0 | 0 |
| Quantity | · | · | · |
| Loot category | Tools | Tools | · |
| Places | · | · | · |
| 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.
<type name="Nail">
<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="1" deloot="0"/>
<category name="tools"/>
</type>
<type name="Nail">
<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="1" deloot="0"/>
</type>
Crafting
Break down partial
Craft nailed bat
Craft Wooden Crate partial
Recipes are read from the game scripts. Some have extra conditions in code, those are marked partial.
Config
- Classname
Nail- Config class
CfgVehicles- Inherits from
Inventory_Base›Static›All- Model
\dz\gear\consumables\Nails_loose_10.p3d- Defined in
Addons/gear_consumables.pbo::config.bin- Inventory slots
Material_Nails, Material_L1_Nails, Material_L1W1_Nails, Material_L1W2_Nails, Material_L1W3_Nails, Material_L2_Nails, Material_L2W1_Nails, Material_L2W2_Nails, Material_L2W3_Nails, Material_L3_Nails, Material_L3W1_Nails, Material_L3W2_Nails, Material_L3W3_Nails, Material_FPole_Nails

