Weyland-Yutani punch card 
Vars | |
| 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 |
Procs | |
| 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). |
| punch_data_item | Internal proc for punch_data() |
| randomfill | Resets 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:
- new_data - The new data to set (negative values or values larger than encoding will be ignored)
- encoding - How large the data value could be (16 aka hex for example will use two rows since they accomodate up to 20)
punch_data_item
Internal proc for punch_data()
randomfill
Resets data with random data with 1 punch per row (doesn't perform punch_data())