/tg/ Station 13 - Modules - TypesVar Details - Proc Details

pdapainter

Basic machine used to paint PDAs and re-trim ID cards.

Vars

card_trimsA list of the card trims that this machine can currently imprint onto a card.
pda_type_blacklistA blacklist of PDA types that we should not be able to paint.
pda_typesA list of the PDA types that this machine can currently paint.
stored_id_cardCurrent ID card inserted into the machine.
stored_pdaCurrent PDA inserted into the machine.
target_deptSet to a region define (REGION_SECURITY for example) to create a departmental variant, limited to departmental options. If null, this is unrestricted.

Procs

eject_id_cardEject the stored ID card into the user's hands if possible, otherwise on the floor.
eject_pdaEject the stored PDA into the user's hands if possible, otherwise on the floor.
insert_id_cardInsert an ID card into the machine.
insert_pdaInsert a PDA into the machine.

Var Details

card_trims

A list of the card trims that this machine can currently imprint onto a card.

pda_type_blacklist

A blacklist of PDA types that we should not be able to paint.

pda_types

A list of the PDA types that this machine can currently paint.

stored_id_card

Current ID card inserted into the machine.

stored_pda

Current PDA inserted into the machine.

target_dept

Set to a region define (REGION_SECURITY for example) to create a departmental variant, limited to departmental options. If null, this is unrestricted.

Proc Details

eject_id_card

Eject the stored ID card into the user's hands if possible, otherwise on the floor.

Arguments:

eject_pda

Eject the stored PDA into the user's hands if possible, otherwise on the floor.

Arguments:

insert_id_card

Insert an ID card into the machine.

Will swap ID cards if one is already inside. Attempts to put the card into the user's hands if possible. Returns TRUE on success, FALSE otherwise. Arguments:

insert_pda

Insert a PDA into the machine.

Will swap PDAs if one is already inside. Attempts to put the PDA into the user's hands if possible. Returns TRUE on success, FALSE otherwise. Arguments: