Server ToolsLauncherServer ListWiki Sign in Discord chat Download
Wiki menu

Elderberries

Sweet, tart and earthy-tasting berries. Can be eaten, may leave blue-colored juice all over.

Classname SambucusBerry
Section
Food
Inventory size
1×1 1 slots
Durability
10
Spawns on
Not in vanilla loot

Characteristics

Weight when full
50 g
Quantity
50 g

Nutrition

State Energy Water Stomach load Toxicity
Raw 50 60 2.5 0
Baked 90 36 1.8 0
Boiled 90 96 1.5 0
Dried 90 12 0.8 0
Burned 37.5 0 2 0
Rotten 37.5 24 2 0

Values from the config for each state of the food.

Compatibility

Attaches to

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 15 min 15 min 15 min
Restock 0 0 0
Quantity · · ·
Loot category Tools Tools ·
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.

Dynamic events

Map Event Nominal Min and max Lifetime Active
Chernarus TrajectorySambucus 140 2–4 3 min no

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="SambucusBerry">
    <nominal>0</nominal>
    <lifetime>900</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="tools"/>
</type>
types.xml · Sakhal
<type name="SambucusBerry">
    <nominal>0</nominal>
    <lifetime>900</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>

Config

Classname
SambucusBerry
Config class
CfgVehicles
Inherits from
Edible_Base › Inventory_Base › Static › All
Model
\dz\gear\food\Sambucus_nigra.p3d
Defined in
Addons/gear_food.pbo::config.bin
Inventory slots
Ingredient, BerryB