Server ToolsLauncherServer ListWiki Sign in Discord chat Download
Wiki menu

Punched Card

A thick sheet of paper in which some holes have been punched. Their pattern looks to be instructions or data for an input device of some kind.

Classname PunchedCard
Section
Equipment
Weight
10 g
Inventory size
2×1 2 slots
Durability
15
Spawns on
Livonia

Compatibility

Matched by config slots and lists. Game scripts block a few combinations on top of this.

Where it spawns

Spawns as loot on Livonia: Contaminated zone. Also spawns on or inside other items: ZmbM_usSoldier_Officer_Convoy.

ChernarusLivoniaSakhal
Nominal · 5 0
Minimum · 3 0
Lifetime · 4 h 4 h
Restock · 0 0
Quantity · · ·
Loot category · Tools Tools
Places · Contaminated zone ·
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.

Spawns on or inside

From cfgspawnabletypes.xml of the vanilla maps: the item can spawn attached to these items or in their cargo, with the chance set there.

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 · Livonia
<type name="PunchedCard">
    <nominal>5</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>3</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="tools"/>
    <usage name="ContaminatedArea"/>
</type>
types.xml · Sakhal
<type name="PunchedCard">
    <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="0" deloot="0"/>
    <category name="tools"/>
</type>

Crafting

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

Config

Classname
PunchedCard
Config class
CfgVehicles
Inherits from
Paper › Inventory_Base › Static › All
Model
\dz\gear\consumables\PunchedCard.p3d
Defined in
Addons/gear_consumables.pbo::config.bin
Inventory slots
Paper