Space Station 13 - Modules - TypesVar Details - Proc Details

observer

Vars

alive_runechat_colorThe "color" their runechat would have had
data_hud_seenDefines from __DEFINES/hud.dm go here based on which huds the ghost has activated.
gas_scantoggle for ghost gas analyzer
mob_observedUID of the mob which we are currently observing
plant_analyzertoggle for ghost plant analyzer

Procs

check_ahud_rejoin_eligibilityCheck if a player has antag-hudded, and if so, if they can rejoin. Returns TRUE if the player can rejoin, and FALSE if the player is ineligible to rejoin. If allow_roundstart_observers is FALSE (TRUE by default), then any observers who were able to ahud due to joining roundstart will be excluded as well.
cleanup_observeClean up observing
toggle_all_huds_offToggles off all HUDs for the ghost player.
toggle_all_huds_onToggles on all HUDs for the ghost player.

Var Details

alive_runechat_color

The "color" their runechat would have had

data_hud_seen

Defines from __DEFINES/hud.dm go here based on which huds the ghost has activated.

gas_scan

toggle for ghost gas analyzer

mob_observed

UID of the mob which we are currently observing

plant_analyzer

toggle for ghost plant analyzer

Proc Details

check_ahud_rejoin_eligibility

Check if a player has antag-hudded, and if so, if they can rejoin. Returns TRUE if the player can rejoin, and FALSE if the player is ineligible to rejoin. If allow_roundstart_observers is FALSE (TRUE by default), then any observers who were able to ahud due to joining roundstart will be excluded as well.

cleanup_observe

Clean up observing

toggle_all_huds_off

Toggles off all HUDs for the ghost player.

toggle_all_huds_on

Toggles on all HUDs for the ghost player.

Enables antag HUD only if the ghost belongs to an admin.

Arguments: