Server ToolsLauncherServer ListWiki Sign in Discord chat Download
Wiki menu

Boxed .22 LR Rounds

A box of .22 LR rounds.

Classname AmmoBox_22_50Rnd
Section
Ammunition
Weight
155 g
Inventory size
1×1 1 slots
Durability
100
Spawns on
Chernarus, Livonia, Sakhal

Where it spawns

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

ChernarusLivoniaSakhal
Nominal 55 15 35
Minimum 40 8 28
Lifetime 4 h 4 h 4 h
Restock 0 0 0
Quantity · · ·
Loot category Weapons Weapons Weapons
Places Town Village Village Town Village
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
<type name="AmmoBox_22_50Rnd">
    <nominal>55</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="weapons"/>
    <usage name="Town"/>
    <usage name="Village"/>
</type>
types.xml · Livonia
<type name="AmmoBox_22_50Rnd">
    <nominal>15</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>8</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="weapons"/>
    <usage name="Village"/>
</type>
types.xml · Sakhal
<type name="AmmoBox_22_50Rnd">
    <nominal>35</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>28</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="weapons"/>
    <tag name="shelves"/>
    <usage name="Town"/>
    <usage name="Village"/>
    <value name="Tier2"/>
    <value name="Tier3"/>
    <value name="Tier4"/>
</type>

Config

Classname
AmmoBox_22_50Rnd
Config class
CfgVehicles
Inherits from
Box_Base › Inventory_Base › Static › All
Model
\dz\weapons\ammunition\22_50RoundBox.p3d
Defined in
Addons/weapons_ammunition.pbo::config.bin