Wiki menu
Small Gift Box
A gift box. Usually used to wrap presents, but they have been known to contain loot.
Classname
GiftBox_Small_2
- Section
- Containers and tents
- Weight
- 100 g
- Inventory size
- 2×2 4 slots
- Capacity
- 2×2 4 slots
- Durability
- 30
- Spawns on
- Not in vanilla loot
Where it spawns
No vanilla source in the game files: no loot entry, map event, recipe or item that spawns it.
| Chernarus | Livonia | Sakhal | |
|---|---|---|---|
| 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_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_Small_2">
<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_Small_2">
<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_Small_2">
<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_Small_2- Config class
CfgVehicles- Inherits from
GiftBox_Small›GiftBox_Base›Container_Base›Inventory_Base›Static›All- Model
\DZ\gear\containers\ChristmasBox1.p3d- Defined in
Addons/gear_containers.pbo::config.bin





