Server ToolsLauncherServer ListWiki Sign in Discord chat Download
Wiki menu

Fat

A chunk of fat, good for cooking purposes. It can catch fire quickly, though.

Classname Lard
Section
Food
Inventory size
2×2 4 slots
Durability
100
Spawns on
Not in vanilla loot

Characteristics

Weight when full
200 g
Quantity
200 g

Nutrition

State Energy Water Stomach load Toxicity
Raw 100 50 7 0
Baked 300 30 4 0
Boiled 250 80 4 0
Dried 250 10 5 0
Burned 100 0 7 0
Rotten 50 20 10 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

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 1
Lifetime 4 h 4 h 4 h
Restock 0 0 0
Quantity · · ·
Loot category Food Food ·
Places · · ·
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, Livonia
<type name="Lard">
    <nominal>0</nominal>
    <lifetime>14400</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="1" deloot="0"/>
    <category name="food"/>
</type>
types.xml · Sakhal
<type name="Lard">
    <nominal>0</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>1</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="1" deloot="0"/>
</type>

Crafting

Upgrade with fat partial

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

Config

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