Server ToolsLauncherServer ListWiki Sign in Discord chat Download
Wiki menu

Medium Gift Box

A gift box. Usually used to wrap presents, but they have been known to contain loot.

Classname GiftBox_Medium_1
Weight
300 g
Inventory size
4×4 16 slots
Capacity
4×4 16 slots
Durability
35
Spawns on
Not in vanilla loot
4 variants

Where it spawns

No vanilla source in the game files: no loot entry, map event, recipe or item that spawns it.

ChernarusLivoniaSakhal
Nominal 0 0 0
Minimum 0 0 0
Lifetime 2 h 2 h 2 h
Restock 0 0 0
Quantity · · ·
Loot category Containers Containers Containers
Places Town Village Seasonal event Town Village Seasonal event Town Village Seasonal event
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.

Spawns with

In cargo
Xmas_Clothes_Medium
In cargo
Xmas_Weapons_Medium
In cargo
Xmas_Optics_Medium
In cargo
Xmas_Fillers_Medium
In cargo
Xmas_Repairs_Medium
In cargo
Xmas_Food_Medium
In cargo
Xmas_Clothes_Small
In cargo
Xmas_Lights_Small
In cargo
Xmas_Weapons_Small
In cargo
Xmas_Fillers_Small
In cargo
Xmas_AmmoBoxes_Small
In cargo
Xmas_Mags_Small
In cargo
Xmas_Ammo_Small
In cargo
Xmas_Repairs_Small
In cargo
Xmas_Food_Small
In cargo
Xmas_Chemlights_Small

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="GiftBox_Medium_1">
    <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"/>
    <category name="containers"/>
    <tag name="floor"/>
    <tag name="shelves"/>
    <usage name="Town"/>
    <usage name="Village"/>
    <usage name="SeasonalEvent"/>
</type>
types.xml · Livonia, Sakhal
<type name="GiftBox_Medium_1">
    <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"/>
    <category name="containers"/>
    <usage name="Town"/>
    <usage name="Village"/>
    <usage name="SeasonalEvent"/>
</type>
cfgspawnabletypes.xml · Chernarus, Livonia, Sakhal
<type name="GiftBox_Medium_1">
    <cargo preset="Xmas_Clothes_Medium"/>
    <cargo preset="Xmas_Weapons_Medium"/>
    <cargo preset="Xmas_Optics_Medium"/>
    <cargo preset="Xmas_Fillers_Medium"/>
    <cargo preset="Xmas_Repairs_Medium"/>
    <cargo preset="Xmas_Food_Medium"/>
    <cargo preset="Xmas_Clothes_Small"/>
    <cargo preset="Xmas_Lights_Small"/>
    <cargo preset="Xmas_Weapons_Small"/>
    <cargo preset="Xmas_Fillers_Small"/>
    <cargo preset="Xmas_AmmoBoxes_Small"/>
    <cargo preset="Xmas_Mags_Small"/>
    <cargo preset="Xmas_Ammo_Small"/>
    <cargo preset="Xmas_Repairs_Small"/>
    <cargo preset="Xmas_Food_Small"/>
    <cargo preset="Xmas_Chemlights_Small"/>
</type>

Variants

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

Config

Classname
GiftBox_Medium_1
Config class
CfgVehicles
Inherits from
GiftBox_Medium › GiftBox_Base › Container_Base › Inventory_Base › Static › All
Model
\DZ\gear\containers\ChristmasBox2.p3d
Defined in
Addons/gear_containers.pbo::config.bin