Server ToolsLauncherServer ListWiki Sign in Discord chat Download
Wiki menu

Rice

A bag of long-grained rice, usually consumed when cooked with water. Conveniently packaged for easier preparation.

Classname Rice
Section
Food
Weight
60 g
Inventory size
2×3 6 slots
Durability
40
Spawns on
Chernarus, Livonia, Sakhal

Characteristics

Weight when full
560 g
Quantity
500 g

Nutrition

Energy
100
Water
0
Stomach load
3
Toxicity
0

Values from the config for each state of the food.

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: Village, Coast, Town.

ChernarusLivoniaSakhal
Nominal 20 10 4
Minimum 15 5 2
Lifetime 8 h 8 h 8 h
Restock 0 0 10 min
Quantity 10–100% 10–100% 10–100%
Loot category Food Food Food
Places Village Coast Town Town
Tiers Tier 1 Tier 2 Tier 1 Tier 3

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="Rice">
    <nominal>20</nominal>
    <lifetime>28800</lifetime>
    <restock>0</restock>
    <min>15</min>
    <quantmin>10</quantmin>
    <quantmax>100</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="shelves"/>
    <usage name="Village"/>
    <value name="Tier1"/>
    <value name="Tier2"/>
</type>
types.xml · Livonia
<type name="Rice">
    <nominal>10</nominal>
    <lifetime>28800</lifetime>
    <restock>0</restock>
    <min>5</min>
    <quantmin>10</quantmin>
    <quantmax>100</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="shelves"/>
    <usage name="Coast"/>
    <usage name="Town"/>
    <value name="Tier1"/>
</type>
types.xml · Sakhal
<type name="Rice">
    <nominal>4</nominal>
    <lifetime>28800</lifetime>
    <restock>600</restock>
    <min>2</min>
    <quantmin>10</quantmin>
    <quantmax>100</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="shelves"/>
    <usage name="Town"/>
    <value name="Tier3"/>
</type>

Config

Classname
Rice
Config class
CfgVehicles
Inherits from
Edible_Base › Inventory_Base › Static › All
Model
\dz\gear\food\Rice.p3d
Defined in
Addons/gear_food.pbo::config.bin
Inventory slots
DirectCookingA, DirectCookingB, DirectCookingC