Server ToolsLauncherServer ListWiki Sign in Discord chat Download
Wiki menu

Barrel

Oil barrel for storing stuff and various liquids in large volumes. Used to catch water or craft things over time.

Classname Barrel_Yellow
Weight
10 kg
Inventory size
10×15 150 slots
Capacity
10×15 150 slots
Durability
1 300
Spawns on
Chernarus, Livonia, Sakhal
4 variants

Characteristics

Weight when full
210 kg
Holds
200 000 ml
Repaired with

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, Farm.

ChernarusLivoniaSakhal
Nominal 40 40 23
Minimum 20 20 18
Lifetime 45 days 45 days 45 days
Restock 0 0 0
Quantity · · ·
Loot category Tools Containers Containers
Places Industrial Farm Industrial Farm Industrial Farm
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="Barrel_Yellow">
    <nominal>40</nominal>
    <lifetime>3888000</lifetime>
    <restock>0</restock>
    <min>20</min>
    <quantmin>-1</quantmin>
    <quantmax>-1</quantmax>
    <cost>100</cost>
    <flags count_in_cargo="1" count_in_hoarder="0" count_in_map="1" count_in_player="1" crafted="0" deloot="0"/>
    <category name="tools"/>
    <tag name="floor"/>
    <usage name="Industrial"/>
    <usage name="Farm"/>
</type>
types.xml · Livonia
<type name="Barrel_Yellow">
    <nominal>40</nominal>
    <lifetime>3888000</lifetime>
    <restock>0</restock>
    <min>20</min>
    <quantmin>-1</quantmin>
    <quantmax>-1</quantmax>
    <cost>100</cost>
    <flags count_in_cargo="1" count_in_hoarder="0" count_in_map="1" count_in_player="1" crafted="0" deloot="0"/>
    <category name="containers"/>
    <tag name="ground"/>
    <usage name="Industrial"/>
    <usage name="Farm"/>
</type>
types.xml · Sakhal
<type name="Barrel_Yellow">
    <nominal>23</nominal>
    <lifetime>3888000</lifetime>
    <restock>0</restock>
    <min>18</min>
    <quantmin>-1</quantmin>
    <quantmax>-1</quantmax>
    <cost>100</cost>
    <flags count_in_cargo="1" count_in_hoarder="0" count_in_map="1" count_in_player="1" crafted="0" deloot="0"/>
    <category name="containers"/>
    <tag name="ground"/>
    <usage name="Industrial"/>
    <usage name="Farm"/>
</type>
cfgspawnabletypes.xml · Chernarus, Livonia, Sakhal
<type name="Barrel_Yellow">
    <hoarder/>
</type>

Crafting

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

Variants

The same item in other colors or versions. Each one has its own classname and loot settings.

Config

Classname
Barrel_Yellow
Config class
CfgVehicles
Inherits from
Barrel_ColorBase › Container_Base › Inventory_Base › Static › All
Model
\dz\gear\containers\55galDrum.p3d
Defined in
Addons/gear_containers.pbo::config.bin
Inventory slots
Truck_01_Barrel1, Truck_01_Barrel2, Truck_01_Barrel3, Truck_01_Barrel4