communications console

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_name | The name of the user who logged in |
| 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 |
| messages | The messages this console has been sent |
| state | The current state of the UI |
| unlocked | Allows use off station z-level |
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_non_silicon_head | Are we NOT a silicon, AND we're logged in as a head |
| 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. |
| 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_name

The name of the user who logged in
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
messages

The messages this console has been sent
state

The current state of the UI
unlocked

Allows use off station z-level
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_non_silicon_head
Are we NOT a silicon, AND we're logged in as a head
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.
override_cooldown
Override the cooldown for special actions Used in places such as CentCom messaging back so that the crew can answer right away