Server ToolsLauncherServer ListWiki Sign in Discord chat Download
Wiki menu

Canteen

A reusable plastic bottle used by military and campers. Can be filled with various liquids.

Classname Canteen
Section
Drinks
Weight
250 g
Inventory size
2×2 4 slots
Durability
100
Spawns on
Chernarus, Livonia, Sakhal

Characteristics

Weight when full
1.25 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: Military, Hunting.

ChernarusLivoniaSakhal
Nominal 20 20 13
Minimum 10 10 8
Lifetime 4 h 4 h 4 h
Restock 0 0 0
Quantity 10–90% 10–90% 10–90%
Loot category Food Food Food
Places Military Hunting Military Military
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="Canteen">
    <nominal>20</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>10</min>
    <quantmin>10</quantmin>
    <quantmax>90</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="food"/>
    <usage name="Military"/>
    <usage name="Hunting"/>
</type>
types.xml · Livonia
<type name="Canteen">
    <nominal>20</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>10</min>
    <quantmin>10</quantmin>
    <quantmax>90</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="food"/>
    <usage name="Military"/>
</type>
types.xml · Sakhal
<type name="Canteen">
    <nominal>13</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>8</min>
    <quantmin>10</quantmin>
    <quantmax>90</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="food"/>
    <tag name="floor"/>
    <tag name="shelves"/>
    <usage name="Military"/>
</type>
cfgspawnabletypes.xml · Chernarus, Livonia, Sakhal
<type name="Canteen"/>

Crafting

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

Config

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

Data from the DayZ 1.29.0.163709 game files, Steam build 24689949.