Server ToolsLauncherServer ListWiki Sign in Discord chat Download
Wiki menu

Disinfectant Spray

A spray bottle of disinfectant. Is supposed to kill viruses and bacteria, eliminate germs and undesirable odors.

Classname DisinfectantSpray
Section
Medical
Weight
50 g
Inventory size
1×3 3 slots
Durability
50
Spawns on
Chernarus, Livonia, Sakhal

Characteristics

Weight when full
550 g
Quantity
500 ml

Nutrition

Energy
-10
Water
1
Stomach load
1
Toxicity
0.3

Values from the config for each state of the food.

Where it spawns

Spawns as loot on Chernarus, Livonia, Sakhal: Medical, Town, Village.

ChernarusLivoniaSakhal
Nominal 30 30 17
Minimum 20 20 12
Lifetime 4 h 4 h 4 h
Restock 0 0 0
Quantity 10–50% 10–50% 10–50%
Loot category Tools Tools Tools
Places Medical Town Village Medical Village Medical Village
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="DisinfectantSpray">
    <nominal>30</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>20</min>
    <quantmin>10</quantmin>
    <quantmax>50</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"/>
    <tag name="shelves"/>
    <usage name="Medic"/>
    <usage name="Town"/>
    <usage name="Village"/>
</type>
types.xml · Livonia
<type name="DisinfectantSpray">
    <nominal>30</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>20</min>
    <quantmin>10</quantmin>
    <quantmax>50</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"/>
    <tag name="shelves"/>
    <usage name="Medic"/>
    <usage name="Village"/>
</type>
types.xml · Sakhal
<type name="DisinfectantSpray">
    <nominal>17</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>12</min>
    <quantmin>10</quantmin>
    <quantmax>50</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"/>
    <tag name="shelves"/>
    <usage name="Medic"/>
    <usage name="Village"/>
</type>

Crafting

Disinfect partial

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

Config

Classname
DisinfectantSpray
Config class
CfgVehicles
Inherits from
Edible_Base › Inventory_Base › Static › All
Model
\dz\gear\medical\DisinfectantSpray.p3d
Defined in
Addons/gear_medical.pbo::config.bin
Inventory slots
Disinfectant