Server ToolsLauncherServer ListWiki Sign in Discord chat Download
Wiki menu

Filtering Bottle

This useful survival tool serves both as a container for storing water and as a means to purify it. When used for drinking it removes almost any common waterborne disease found in the wilderness.

Classname FilteringBottle
Section
Drinks
Weight
180 g
Inventory size
1×3 3 slots
Durability
100
Spawns on
Sakhal

Characteristics

Weight when full
830 g
Holds
650 ml

Compatibility

Matched by config slots and lists. Game scripts block a few combinations on top of this.

Where it spawns

Spawns as loot on Sakhal: Medical.

ChernarusLivoniaSakhal
Nominal 0 0 1
Minimum 0 0 0
Lifetime 2 h 2 h 2 h
Restock 0 0 30 min
Quantity · · ·
Loot category · · Tools
Places · · Medical
Tiers · · Tier 3

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 with

Spawns with 10% to 10% damage.

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, Livonia
<type name="FilteringBottle">
    <nominal>0</nominal>
    <lifetime>7200</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="0" deloot="0"/>
</type>
types.xml · Sakhal
<type name="FilteringBottle">
    <nominal>1</nominal>
    <lifetime>7200</lifetime>
    <restock>1800</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="0" deloot="0"/>
    <category name="tools"/>
    <usage name="Medic"/>
    <value name="Tier3"/>
</type>
cfgspawnabletypes.xml · Chernarus, Livonia, Sakhal
<type name="FilteringBottle">
    <damage min="0.1" max="0.1"/>
</type>

Crafting

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

Config

Classname
FilteringBottle
Config class
CfgVehicles
Inherits from
Bottle_Base › Edible_Base › Inventory_Base › Static › All
Model
\dz\gear\drinks\FilteringBottle.p3d
Defined in
Addons/gear_drinks.pbo::config.bin
Inventory slots
DirectCookingA, DirectCookingB, DirectCookingC