communications
Vars | |
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_job | The name of the job of the user who logged in |
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 |
Procs | |
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_purchase_this_shuttle | Returns whether we are authorized to buy this specific shuttle. Does not handle prerequisite checks, as those should still show. |
emergency_meeting | Call an emergency meeting |
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 |
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_job
The name of the job of the user who logged in
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_purchase_this_shuttle
Returns whether we are authorized to buy this specific shuttle. Does not handle prerequisite checks, as those should still show.
emergency_meeting
Call an emergency meeting
Comm Console wrapper for the Communications subsystem wrapper for the call_emergency_meeting world proc. Checks to make sure the proc can be called, and handles relevant feedback, logging and timing. See the SScommunications proc definition for more detail, in short, teleports the entire crew to the bridge for a meetup. Should only really happen during april fools. Arguments:
- user - Mob who called the meeting
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