Space Station 13 - Modules - TypesVar Details

globals

Vars

alive_mobsList of all mob/living currently alive
cable_default_colorsAssociative list of colors. Default colors that a cable coil or length of cable can be. Used for multitool interactions.
cable_listAll /obj/structure/cable, managed by instances
ccw_dirccw_dir[dir] = counter-clockwise 4-rotation of dir. Unlike reverse_dir, UP remains UP & DOWN remains DOWN.
ccw_dir_8ccw_dir_8[dir] = counter-clockwise 8-rotation of dir. Ignores invalid dir combinations.
cw_dircw_dir[dir] = clockwise 4-rotation of dir. Unlike reverse_dir, UP remains UP & DOWN remains DOWN.
cw_dir_8cw_dir_8[dir] = clockwise 8-rotation of dir. Ignores invalid dir combinations.
dead_mobsList of all mob/living currently dead
em_block_colorA globaly cached version of EM_BLOCK_COLOR for quick access.
em_mask_matrixA globally cached version of EM_MASK_MATRIX for quick access.
emissive_colorA globaly cached version of EMISSIVE_COLOR for quick access.
empd_eventDismembered Handling
flip_dirflip_dir[dir] = 180 degree rotation of dir. Unlike reverse_dir, UP remains UP & DOWN remains DOWN.
free_deepmaint_laddersFor the sake of dungeon generator being modular and not tied exclusively to deepmaint, most of the objects and modifications required exclusively for it will be kept here.
ghost_mobsList of all observer/ghost mobs
human_mobsList of all carbon/human* mobs
iconCacheFor the main html chat area Cache of icons for the browser output
living_playersList of all living mobs with clients currently attached
mannequinsAll character setup mannequins
maximum_safe_teleport_distanceMaximum distance (on the overmap) a teleporter can target with a less than 100% chance of getting an Interlude.
mil_branchesDatums for military branches and ranks
minimum_safe_teleport_distanceMinimum distance (on the overmap) a teleporter can send people to without risking a stop in the Interlude.
module_deactivated_eventModule Activated Handling
module_deselected_eventModule Deactivated Handling
module_selected_eventModule Selected Handling
moved_eventModule Selected Handling
player_listList of all mobs with clients currently attached
pronouns_from_genderList (string|/datum/gender => /datum/pronouns). Map of genders to pronouns. Derived from each gender datum's default_pronouns. Accepts both string or a gender datum as a key.
responsive_carriers_to_findsList (path or string -> string). Map of possible response carriers to strings for archaeological finds.
reverse_dirreverse_dir[dir] = reverse of dir
side_effectsAll medical side effects
sight_set_eventShuttle Moved/Pre Move Handling
silicon_mobsList of all silicon* mobs
terminal_commandsTo cut down on unneeded creation/deletion, these are global.
zombie_messagesZombie Globals

Var Details

alive_mobs

List of all mob/living currently alive

cable_default_colors

Associative list of colors. Default colors that a cable coil or length of cable can be. Used for multitool interactions.

cable_list

All /obj/structure/cable, managed by instances

ccw_dir

ccw_dir[dir] = counter-clockwise 4-rotation of dir. Unlike reverse_dir, UP remains UP & DOWN remains DOWN.

ccw_dir_8

ccw_dir_8[dir] = counter-clockwise 8-rotation of dir. Ignores invalid dir combinations.

cw_dir

cw_dir[dir] = clockwise 4-rotation of dir. Unlike reverse_dir, UP remains UP & DOWN remains DOWN.

cw_dir_8

cw_dir_8[dir] = clockwise 8-rotation of dir. Ignores invalid dir combinations.

dead_mobs

List of all mob/living currently dead

em_block_color

A globaly cached version of EM_BLOCK_COLOR for quick access.

em_mask_matrix

A globally cached version of EM_MASK_MATRIX for quick access.

emissive_color

A globaly cached version of EMISSIVE_COLOR for quick access.

empd_event

Dismembered Handling

flip_dir

flip_dir[dir] = 180 degree rotation of dir. Unlike reverse_dir, UP remains UP & DOWN remains DOWN.

free_deepmaint_ladders

For the sake of dungeon generator being modular and not tied exclusively to deepmaint, most of the objects and modifications required exclusively for it will be kept here.

ghost_mobs

List of all observer/ghost mobs

human_mobs

List of all carbon/human* mobs

iconCache

For the main html chat area Cache of icons for the browser output

living_players

List of all living mobs with clients currently attached

mannequins

All character setup mannequins

maximum_safe_teleport_distance

Maximum distance (on the overmap) a teleporter can target with a less than 100% chance of getting an Interlude.

mil_branches

Datums for military branches and ranks

Map datums can optionally specify a list of /datum/mil_branch paths. These paths are used to initialize the global mil_branches object, which contains a list of branch objects the map uses. Each branch definition specifies a list of /datum/mil_rank paths, which are ranks available to that branch.

Which branches and ranks can be selected for spawning is specifed in GLOB.using_map and each branch datum definition, respectively.

minimum_safe_teleport_distance

Minimum distance (on the overmap) a teleporter can send people to without risking a stop in the Interlude.

module_deactivated_event

Module Activated Handling

module_deselected_event

Module Deactivated Handling

module_selected_event

Module Selected Handling

moved_event

Module Selected Handling

player_list

List of all mobs with clients currently attached

pronouns_from_gender

List (string|/datum/gender => /datum/pronouns). Map of genders to pronouns. Derived from each gender datum's default_pronouns. Accepts both string or a gender datum as a key.

responsive_carriers_to_finds

List (path or string -> string). Map of possible response carriers to strings for archaeological finds.

reverse_dir

reverse_dir[dir] = reverse of dir

side_effects

All medical side effects

sight_set_event

Shuttle Moved/Pre Move Handling

silicon_mobs

List of all silicon* mobs

terminal_commands

To cut down on unneeded creation/deletion, these are global.

zombie_messages

Zombie Globals