Server ToolsLauncherServer ListWiki Sign in Discord chat Download
Wiki menu

Gas Lamp

A portable, gas-powered lamp suitable for camping. It provides enough light to brighten dark nights wherever you are.

Classname PortableGasLamp
Section
Equipment
Weight
330 g
Inventory size
4×3 12 slots
Durability
100
Spawns on
Chernarus, Livonia, Sakhal

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: Industrial, Hunting.

ChernarusLivoniaSakhal
Nominal 40 25 12
Minimum 30 10 7
Lifetime 8 h 8 h 8 h
Restock 0 0 0
Quantity · · ·
Loot category Tools Tools Tools
Places Industrial Hunting Hunting 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.

types.xml · Chernarus
<type name="PortableGasLamp">
    <nominal>40</nominal>
    <lifetime>28800</lifetime>
    <restock>0</restock>
    <min>30</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="tools"/>
    <usage name="Industrial"/>
    <usage name="Hunting"/>
</type>
types.xml · Livonia
<type name="PortableGasLamp">
    <nominal>25</nominal>
    <lifetime>28800</lifetime>
    <restock>0</restock>
    <min>10</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="tools"/>
    <usage name="Hunting"/>
</type>
types.xml · Sakhal
<type name="PortableGasLamp">
    <nominal>12</nominal>
    <lifetime>28800</lifetime>
    <restock>0</restock>
    <min>7</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="tools"/>
    <usage name="Hunting"/>
</type>

Config

Classname
PortableGasLamp
Config class
CfgVehicles
Inherits from
Inventory_Base › Static › All
Model
\dz\gear\cooking\GasLight.p3d
Defined in
Addons/gear_cooking.pbo::config.bin