Wiki menu
9V Battery
An alkaline 9V battery. Used for powering various small appliances like flashlights and radio transceivers.
Battery9V
- Section
- Equipment
- Weight
- 10 g
- Inventory size
- 1×1 1 slots
- Durability
- 20
- Spawns on
- Chernarus, Livonia, Sakhal
Compatibility
Attaches to
Matched by config slots and lists. Game scripts block a few combinations on top of this.
Where it spawns
Spawns as loot on Chernarus, Livonia, Sakhal: Industrial, Village. Also spawns on or inside other items: GPS Receiver, Handheld Transceiver, Tactical Helmet. Can be crafted, the recipe is below.
| Chernarus | Livonia | Sakhal | |
|---|---|---|---|
| Nominal | 100 | 50 | 30 |
| Minimum | 80 | 30 | 25 |
| Lifetime | 4 h | 4 h | 4 h |
| Restock | 0 | 0 | 0 |
| Quantity | 50–100% | 50–100% | 50–100% |
| Loot category | Tools | Tools | Tools |
| Places | Industrial Village | Industrial Village | Industrial 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.
Spawns on or inside
From cfgspawnabletypes.xml of the vanilla maps: the item can spawn attached to these items or in their cargo, with the chance set there.
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="Battery9V">
<nominal>100</nominal>
<lifetime>14400</lifetime>
<restock>0</restock>
<min>80</min>
<quantmin>50</quantmin>
<quantmax>100</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="Industrial"/>
<usage name="Village"/>
</type>
<type name="Battery9V">
<nominal>50</nominal>
<lifetime>14400</lifetime>
<restock>0</restock>
<min>30</min>
<quantmin>50</quantmin>
<quantmax>100</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="Industrial"/>
<usage name="Village"/>
</type>
<type name="Battery9V">
<nominal>30</nominal>
<lifetime>14400</lifetime>
<restock>0</restock>
<min>25</min>
<quantmin>50</quantmin>
<quantmax>100</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="Industrial"/>
<usage name="Village"/>
</type>
Crafting
Break down partial
Recipes are read from the game scripts. Some have extra conditions in code, those are marked partial.
Config
- Classname
Battery9V- Config class
CfgVehicles- Inherits from
Inventory_Base›Static›All- Model
\dz\gear\consumables\9v_battery.p3d- Defined in
Addons/gear_consumables.pbo::config.bin- Inventory slots
BatteryD

