byond - Modules - TypesVar Details - Proc Details

Weyland-Yutani punch card

Vars

base_typeThe base type of this punch_card for printers to know what type is loaded even when handling subtypes
dataThe punched out numbers on this card, though if null can be used for restocking
punch_card_assetThe asset in /datum/asset/simple/paper for the punch card visuals corresponding to the company that produced it

Procs

add_instructionsAdds to first field some instructions
prefillSets data with random data with 1 punch per row (doesn't perform punch_data())
punch_dataSets data and updates info to actually punch the card (doesn't unpunch a card).
punch_data_itemInternal proc for punch_data()
randomfillResets data with random data with 1 punch per row (doesn't perform punch_data())

Var Details

base_type

The base type of this punch_card for printers to know what type is loaded even when handling subtypes

data

The punched out numbers on this card, though if null can be used for restocking

punch_card_asset

The asset in /datum/asset/simple/paper for the punch card visuals corresponding to the company that produced it

Proc Details

add_instructions

Adds to first field some instructions

prefill

Sets data with random data with 1 punch per row (doesn't perform punch_data())

punch_data

Sets data and updates info to actually punch the card (doesn't unpunch a card).

Arguments:

punch_data_item

Internal proc for punch_data()

randomfill

Resets data with random data with 1 punch per row (doesn't perform punch_data())