Wiki menu
Glass Bottle
Reusable bottle made out of glass that can contain any type of liquid.
GlassBottle
- Section
- Drinks
- Weight
- 550 g
- Inventory size
- 1×3 3 slots
- Durability
- 100
- Spawns on
- Chernarus, Livonia, Sakhal
Characteristics
- Weight when full
- 1.3 kg
- Holds
- 750 ml
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: Police, Medical, Farm, Coast.
| Chernarus | Livonia | Sakhal | |
|---|---|---|---|
| Nominal | 80 | 50 | 30 |
| Minimum | 70 | 43 | 15 |
| Lifetime | 4 h | 4 h | 4 h |
| Restock | 0 | 0 | 0 |
| Quantity | 0–0% | 0–0% | 0–0% |
| Loot category | · | Containers | · |
| 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.
<type name="GlassBottle">
<nominal>80</nominal>
<lifetime>14400</lifetime>
<restock>0</restock>
<min>70</min>
<quantmin>0</quantmin>
<quantmax>0</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>
<type name="GlassBottle">
<nominal>50</nominal>
<lifetime>14400</lifetime>
<restock>0</restock>
<min>43</min>
<quantmin>0</quantmin>
<quantmax>0</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="containers"/>
</type>
<type name="GlassBottle">
<nominal>30</nominal>
<lifetime>14400</lifetime>
<restock>0</restock>
<min>15</min>
<quantmin>0</quantmin>
<quantmax>0</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>
Crafting
Chelate water partial
Extinguish partial
Refuel partial
Purify partial
Soak torch with fuel partial
Recipes are read from the game scripts. Some have extra conditions in code, those are marked partial.
Config
- Classname
GlassBottle- Config class
CfgVehicles- Inherits from
Bottle_Base›Edible_Base›Inventory_Base›Static›All- Model
\dz\gear\drinks\VodkaBottles.p3d- Defined in
Addons/gear_drinks.pbo::config.bin- Inventory slots
DirectCookingA, DirectCookingB, DirectCookingC

