Server ToolsLauncherServer ListWiki Sign in Discord chat Download
Wiki menu

Plastic Bottle

A reusable bottle. Even though it originally contained spring water, it can contain various liquids.

Classname WaterBottle
Section
Drinks
Weight
50 g
Inventory size
1×3 3 slots
Durability
50
Spawns on
Chernarus, Livonia, Sakhal

Characteristics

Weight when full
1.05 kg
Holds
1 000 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 Chernarus, Livonia, Sakhal: Police, Medical, Farm, Coast.

ChernarusLivoniaSakhal
Nominal 100 50 30
Minimum 85 30 25
Lifetime 4 h 4 h 4 h
Restock 0 0 0
Quantity 20–70% 20–70% 20–70%
Loot category · · ·
Places · · Police Medical Farm Coast Town Village Hunting
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.

types.xml · Chernarus
<type name="WaterBottle">
    <nominal>100</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>85</min>
    <quantmin>20</quantmin>
    <quantmax>70</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 · Livonia
<type name="WaterBottle">
    <nominal>50</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>30</min>
    <quantmin>20</quantmin>
    <quantmax>70</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="WaterBottle">
    <nominal>30</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>25</min>
    <quantmin>20</quantmin>
    <quantmax>70</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"/>
    <usage name="Police"/>
    <usage name="Medic"/>
    <usage name="Farm"/>
    <usage name="Coast"/>
    <usage name="Town"/>
    <usage name="Village"/>
    <usage name="Hunting"/>
</type>
cfgspawnabletypes.xml · Chernarus, Livonia, Sakhal
<type name="WaterBottle"/>

Crafting

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

Config

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