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

pda

Vars

account_idaccount id of the ID held
background_colorThe currently selected background color.
cartridgeCurrent cartridge
default_cartridgeAccess level defined by cartridge
font_indexThis int tells DM which font is currently selected and lets DM know when the last font has been selected so that it can cycle back to the first font when "toggle font" is pressed again.
font_modeThe currently selected font.
icon_alertIcon to be overlayed for message alerts. Taken from the pda icon file.
icon_inactive_paiSame as above but for an inactive pAI.
icon_paiIcon to be overlayed when an active pAI is slotted in.
ownerString name of owner
ui_modeControls what menu the PDA will display. 0 is hub; the rest are either built in or based on cartridge.

Procs

explodeCalled when someone replies to a rigged PDA message. It explodes. from_message_menu : whether it's caused by the target opening the message menu too early.
on_light_eaterSpecial light eater handling
send_messagePrompts the user to input and send a message to another PDA. the everyone arg is used for mass messaging from lawyer and captain carts. rigged for PDA bombs. fakename and fakejob for forged messages (also PDA bombs).

Var Details

account_id

account id of the ID held

background_color

The currently selected background color.

cartridge

Current cartridge

default_cartridge

Access level defined by cartridge

font_index

This int tells DM which font is currently selected and lets DM know when the last font has been selected so that it can cycle back to the first font when "toggle font" is pressed again.

font_mode

The currently selected font.

icon_alert

Icon to be overlayed for message alerts. Taken from the pda icon file.

icon_inactive_pai

Same as above but for an inactive pAI.

icon_pai

Icon to be overlayed when an active pAI is slotted in.

owner

String name of owner

ui_mode

Controls what menu the PDA will display. 0 is hub; the rest are either built in or based on cartridge.

Proc Details

explode

Called when someone replies to a rigged PDA message. It explodes. from_message_menu : whether it's caused by the target opening the message menu too early.

on_light_eater

Special light eater handling

send_message

Prompts the user to input and send a message to another PDA. the everyone arg is used for mass messaging from lawyer and captain carts. rigged for PDA bombs. fakename and fakejob for forged messages (also PDA bombs).