Server ToolsLauncherServer ListWiki Sign in Discord chat Download
Wiki menu

Apple

An ordinary ripe apple. It is still firm, delicious, and worm-free.

Classname Apple
Section
Food
Inventory size
1×1 1 slots
Durability
10
Spawns on
Chernarus

Characteristics

Weight when full
125 g
Quantity
125 g

Nutrition

State Energy Water Stomach load Toxicity
Raw 100 40 1 0
Baked 250 24 1 0
Boiled 200 64 1 0
Dried 200 8 1 0
Burned 100 0 5 0
Rotten 75 16 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

Spawns through map events on Chernarus.

ChernarusLivoniaSakhal
Nominal 0 0 0
Minimum 0 0 1
Lifetime 15 min 15 min 15 min
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.

Dynamic events

Map Event Nominal Min and max Lifetime Active
Chernarus TrajectoryApple 140 2–4 3 min yes

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="Apple">
    <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="food"/>
</type>
types.xml · Sakhal
<type name="Apple">
    <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
Apple
Config class
CfgVehicles
Inherits from
Edible_Base › Inventory_Base › Static › All
Model
\dz\gear\food\apple.p3d
Defined in
Addons/gear_food.pbo::config.bin
Inventory slots
Ingredient, DirectCookingA, DirectCookingB, DirectCookingC, SmokingA, SmokingB, SmokingC, SmokingD, Trap_Bait, Trap_Bait_2

Data from the DayZ 1.29.0.163709 game files, Steam build 24689949.