Server ToolsLauncherServer ListWiki Sign in Discord chat Download
Wiki menu

Potato

An ordinary, garden variety potato. Can be re-planted to grow even more potatoes. It tastes the best when peeled.

Classname PotatoSeed
Section
Food
Inventory size
2×1 2 slots
Durability
5
Spawns on
Chernarus, Livonia, Sakhal

Characteristics

Weight when full
1 g
Quantity
1 g

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

ChernarusLivoniaSakhal
Nominal 32 35 30
Minimum 28 25 20
Lifetime 4 h 4 h 4 h
Restock 0 0 10 min
Quantity · · ·
Loot category Food Food Food
Places Farm Village Farm Town Village Farm
Tiers Tier 1 Tier 2 Tier 3 Tier 1 Tier 2 ·

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="PotatoSeed">
    <nominal>32</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>28</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="0" deloot="0"/>
    <category name="food"/>
    <tag name="shelves"/>
    <usage name="Farm"/>
    <usage name="Village"/>
    <value name="Tier1"/>
    <value name="Tier2"/>
    <value name="Tier3"/>
</type>
types.xml · Livonia
<type name="PotatoSeed">
    <nominal>35</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>25</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="0" deloot="0"/>
    <category name="food"/>
    <tag name="shelves"/>
    <usage name="Farm"/>
    <usage name="Town"/>
    <usage name="Village"/>
    <value name="Tier1"/>
    <value name="Tier2"/>
</type>
types.xml · Sakhal
<type name="PotatoSeed">
    <nominal>30</nominal>
    <lifetime>14400</lifetime>
    <restock>600</restock>
    <min>20</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="0" deloot="0"/>
    <category name="food"/>
    <tag name="shelves"/>
    <usage name="Farm"/>
</type>

Crafting

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

Config

Classname
PotatoSeed
Config class
CfgVehicles
Inherits from
SeedBase › Inventory_Base › Static › All
Model
\dz\gear\food\potato.p3d
Defined in
Addons/gear_cultivation.pbo::config.bin
Inventory slots
SeedBase_1, SeedBase_2, SeedBase_3, SeedBase_4, SeedBase_5, SeedBase_6, SeedBase_7, SeedBase_8, SeedBase_9, SeedBase_10, SeedBase_11, SeedBase_12, SeedBase_13, Trap_Bait_2