Server ToolsLauncherServer ListWiki Sign in Discord chat Download
Wiki menu

Gas Mask Filter

A respirator cartridge. Designed to fit the most common gas masks mounts.

Classname GasMask_Filter
Section
Equipment
Weight
270 g
Inventory size
2×2 4 slots
Durability
80
Spawns on
Chernarus, Livonia

Characteristics

Weight when full
300 g
Quantity
150 ml
Protects against
biological agents, chemical gas, dust when breathing

Compatibility

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: Medical, Fire station, Underground. Also spawns on or inside other items: Gas Mask, NBC Respirator.

ChernarusLivoniaSakhal
Nominal 20 30 0
Minimum 15 25 0
Lifetime 4 h 4 h 4 h
Restock 0 0 0
Quantity 20–100% 20–100% 20–100%
Loot category Clothes Clothes Clothes
Places Medical Fire station Medical Fire station Underground Medical Fire station
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.

types.xml · Chernarus
<type name="GasMask_Filter">
    <nominal>20</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>15</min>
    <quantmin>20</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="clothes"/>
    <tag name="shelves"/>
    <usage name="Medic"/>
    <usage name="Firefighter"/>
</type>
types.xml · Livonia
<type name="GasMask_Filter">
    <nominal>30</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>25</min>
    <quantmin>20</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="clothes"/>
    <tag name="shelves"/>
    <usage name="Medic"/>
    <usage name="Firefighter"/>
    <usage name="Underground"/>
</type>
types.xml · Sakhal
<type name="GasMask_Filter">
    <nominal>0</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>0</min>
    <quantmin>20</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="clothes"/>
    <tag name="shelves"/>
    <usage name="Medic"/>
    <usage name="Firefighter"/>
</type>

Crafting

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

Config

Classname
GasMask_Filter
Config class
CfgVehicles
Inherits from
Inventory_Base › Static › All
Model
\DZ\gear\consumables\GasMask_filter.p3d
Defined in
Addons/gear_consumables.pbo::config.bin
Inventory slots
GasMaskFilter