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

communications

Vars

alert_level_tickHow many times the alert level has been changed Used to clear the modal to change alert level
authorize_accessThe access that the card had on login
authorize_nameThe name of the user who logged in
battlecruiser_calledIf the battlecruiser has been called
cyborg_stateThe current state of the UI for AIs
important_action_cooldownCooldown for important actions, such as messaging CentCom or other sectors
last_status_displayThe last lines used for changing the status display
last_toggledwhen was emergency access last toggled
messagesThe messages this console has been sent
send_cross_comms_message_timerThe timer ID for sending the next cross-comms message
stateThe current state of the UI
syndicateWhether syndicate mode is enabled or not.
toggle_max_useshow many uses can you toggle emergency access with before cooldowns start occuring BOTH ENABLE/DISABLE
toggle_useshow many uses the console has done of toggling the emergency access

Procs

authenticatedAre we a silicon, OR logged in?
authenticated_as_non_silicon_captainAre we NOT a silicon, AND we're logged in as the captain?
authenticated_as_silicon_or_captainAre we a silicon, OR we're logged in as the captain?
can_buy_shuttlesReturns TRUE if the user can buy shuttles. If they cannot, returns FALSE or a string detailing why.
can_hackChecks if this console is hackable. Used as a callback during try_hack_console's doafter as well.
can_purchase_this_shuttleReturns whether we are authorized to buy this specific shuttle. Does not handle prerequisite checks, as those should still show.
hack_consoleThe communications console hack, called by certain antagonist actions.
has_communicationReturns whether or not the communications console can communicate with the station
override_cooldownOverride the cooldown for special actions Used in places such as CentCom messaging back so that the crew can answer right away
try_hack_consoleBegin the process of hacking into the comms console to call in a threat.

Var Details

alert_level_tick

How many times the alert level has been changed Used to clear the modal to change alert level

authorize_access

The access that the card had on login

authorize_name

The name of the user who logged in

battlecruiser_called

If the battlecruiser has been called

cyborg_state

The current state of the UI for AIs

important_action_cooldown

Cooldown for important actions, such as messaging CentCom or other sectors

last_status_display

The last lines used for changing the status display

last_toggled

when was emergency access last toggled

messages

The messages this console has been sent

send_cross_comms_message_timer

The timer ID for sending the next cross-comms message

state

The current state of the UI

syndicate

Whether syndicate mode is enabled or not.

toggle_max_uses

how many uses can you toggle emergency access with before cooldowns start occuring BOTH ENABLE/DISABLE

toggle_uses

how many uses the console has done of toggling the emergency access

Proc Details

authenticated

Are we a silicon, OR logged in?

authenticated_as_non_silicon_captain

Are we NOT a silicon, AND we're logged in as the captain?

authenticated_as_silicon_or_captain

Are we a silicon, OR we're logged in as the captain?

can_buy_shuttles

Returns TRUE if the user can buy shuttles. If they cannot, returns FALSE or a string detailing why.

can_hack

Checks if this console is hackable. Used as a callback during try_hack_console's doafter as well.

can_purchase_this_shuttle

Returns whether we are authorized to buy this specific shuttle. Does not handle prerequisite checks, as those should still show.

hack_console

The communications console hack, called by certain antagonist actions.

Brings in additional threats to the round.

hacker - the mob that caused the hack

has_communication

Returns whether or not the communications console can communicate with the station

override_cooldown

Override the cooldown for special actions Used in places such as CentCom messaging back so that the crew can answer right away

try_hack_console

Begin the process of hacking into the comms console to call in a threat.