global_vars

Vars | |
GPS_list | Global GPS_list. All GPS components get saved in here for easy reference. |
---|---|
WALLITEMS_INTERIOR | Checks if that loc and dir has an item on the wall |
acid_overlay | ACID |
active_lifts_by_type | associative list of the form: list(lift_id = list(all lift_master datums attached to lifts of that type)) |
adamantine_recipes | Others |
admin_state | tgui state: admin_state |
ai_employers | employers for malfunctioning ais. they do not have sides, unlike traitors. |
air_alarm_modes | Keys are /datum/air_alarm_mode paths Values are their respective instances. |
alive_player_list | All alive mobs with clients. |
all_ongoing_hallucinations | A global list of all ongoing hallucinations, primarily for easy access to be able to stop (delete) hallucinations. |
all_voice_of_god_triggers | Used to stop listeners with silly or clown-esque (first) names such as "Honk" or "Flip" from screwing up certain commands. |
always_state | tgui state: always_state |
animatable_blacklist | Mimics can't be made out of these objects |
announcer_keys | Global list of all of our announcer keys. |
areas | Just a list of all the area objects in the game Note, areas can have duplicate types |
areas_by_type | An association from typepath to area instance. Only includes areas with unique set. |
armor_by_type | Assosciative list of type -> armor. Used to ensure we always hold a reference to default armor datums |
bluespace_senders | All bluespace gas senders |
bsa_unlock | BSA unlocked by head ID swipes |
cached_storage_typecaches | Almost 100% of the time the lists passed into set_holdable are reused for each instance Just fucking cache it 4head Yes I could generalize this, but I don't want anyone else using it. in fact, DO NOT COPY THIS If you find yourself needing this pattern, you're likely better off using static typecaches I'm not because I do not trust implementers of the storage component to use them, BUT IF I FIND YOU USING THIS PATTERN IN YOUR CODE I WILL BREAK YOU ACROSS MY KNEES ~Lemon |
cardboard_cutouts | Global list of all cardboard cutout datums, cached by name to instance. |
cell_line_tables | These global lists exist to allow our element to have weight tables without having to be separate instances. Assoc list of cell line define | assoc list of datum | cell_line |
cell_virus_tables | Assoc list of cell virus define | assoc list of datum | cell_virus |
chasm_storage | List of weakrefs to containers for things which have fallen into chasms |
chemical_name_list | names of reagents used by plumbing UI. |
conscious_state | tgui state: conscious_state |
contained_state | tgui state: contained_state |
cult_narsie | The global Nar'sie that the cult's summoned |
current_anonymous_theme | global reference to the current theme, if there is one. |
current_living_antags | All alive antags with clients. |
current_observers_list | All observers with clients that joined as observers. |
dead_player_list | All dead mobs with clients. Does not include observers. |
deep_inventory_state | tgui state: deep_inventory_state |
default_state | tgui state: default_state |
department_order_cooldowns | cooldown for each department, assoc type 2 cooldown. global, so rebuilding the console doesn't refresh the cd |
drone_machine_blacklist_enabled | If drones are blacklisted from certain sensitive machines |
dug_up_basalt | Used by ashstorms to replenish basalt tiles that have been dug up without going through all of them. |
duplicate_forbidden_vars | List of all vars that will not be copied over when using duplicate_object() |
dynamic_human_icons | Global list of all dynamically generated icons, for caching, so we don't have to generate multiple times. |
editable_sign_types | This is a global list of all signs you can change an existing sign or new sign backing to, when using a pen on them. |
em_block_color | A globaly cached version of EM_BLOCK_COLOR for quick access. |
em_mask_matrix | A globaly cached version of EM_MASK_MATRIX for quick access. |
emissive_color | A globaly cached version of EMISSIVE_COLOR for quick access. |
exodrone_launchers | All exodrone launchers. |
exodrones | All exodrones. |
exoscanner_bands | List of scanned distances |
exploration_sites | All exploration site instances |
explorer_drone_adventure_db_entries | All possible adventures in raw form |
features_block_lengths | The same rules of the above also apply here, with the exception that this is for the unique_features string variable (commonly abbreviated with uf) and its blocks. Both ui and uf have a standard block length of 3 ASCII characters. |
features_by_species | An assoc list of species types to their features (from get_features()) |
fileaccess_timer | For FTP requests. (i.e. downloading runtime logs.) |
fire_appearances | Global list that containes cached fire overlays for mobs |
fishing_property_cache | Cached fish list properties so we don't have to initalize fish every time, init deffered |
floor_designs | all designs supported by the RTD |
focused_tests | A list of every test that is currently focused. Use the PERFORM_ALL_TESTS macro instead. |
fullbright_overlays | List of plane offset + 1 -> mutable appearance to use Fills with offsets as they are generated |
fun_state | tgui state: fun_state |
gas_id_to_canister | List of all the gases, used in labelling the canisters |
gas_recipe_meta | Global list of recipes for atmospheric machines to use |
gateway_destinations | List of possible gateway destinations. |
glass_style_singletons | Global list of all glass style singletons created. See /proc/create_glass_styles for list format. |
glide_size_multiplier | Compensating for time dilation |
global_funny_embedding | set this to a new instance of a SUBTYPE of global_funny_embedding. The main type is a prototype and will runtime really hard |
gravity_generators | We will keep track of this by adding new gravity generators to the list, and keying it with the z level. |
hands_state | tgui state: hands_state |
has_antagonist_huds | All active /datum/atom_hud/alternate_appearance/basic/has_antagonist instances |
heretic_sacrifice_landmarks | A global assoc list of all landmarks that denote a heretic sacrifice location. [string heretic path] = [landmark]. |
heretic_start_knowledge | Global list of all heretic knowledge that have route = PATH_START. List of PATHS. |
hfr_fuels_list | Global list of recipes for atmospheric machines to use |
hijack_employers | employers who hire agents to do the hijack |
holidays | HOLIDAYS |
huds_by_category | gets filled by each /datum/atom_hud/New(). associative list of the form: list(hud category = list(all global atom huds that use that category)) |
human_adjacent_state | tgui state: human_adjacent_state |
human_heights_to_offsets | Assoc list of all heights, cast to strings, to """"tuples""""" The first """tuple""" index is the upper body offset The second """tuple""" index is the lower body offset |
ice_cream_flavours | ICE CREAM FLAVOUR DATUM STUFF |
identity_block_lengths | Some identity blocks (basically pieces of the unique_identity string variable of the dna datum, commonly abbreviated with ui) may have a length that differ from standard length of 3 ASCII characters. This list is necessary for these non-standard blocks to work, as well as the entire unique identity string. Should you add a new ui block which size differ from the standard (again, 3 ASCII characters), like for example, a color, please do not forget to also include it in this list in the following format: "[dna block number]" = dna block size, Failure to do that may result in bugs. Thanks. |
infuser_entries | A list of all infuser entries |
integrated_circuits | A list of all integrated circuits |
intento_players | All people who have used an Intento this round along with their high scores. |
inventory_state | tgui state: inventory_state |
language_menu_state | tgui state: language_menu_state |
lastsignalers | Keeps last 100 signals here in format: "[src] used [REF(src)] @ location [src.loc]: [freq]/[code]" |
lawchanges | Stores who uploaded laws to which silicon-based lifeform, and what the law was |
layers_to_offset | Used for human height overlay adjustments Certain standing overlay layers shouldn't have a filter applied and should instead just offset by a pixel y This list contains all the layers that must offset, with its value being whether it's a part of the upper half of the body (TRUE) or not (FALSE) |
mafia_bad_signup | list of ghosts who want to play mafia that have since disconnected. They are kept in the lobby, but not counted for starting a game. |
mafia_game | the current global mafia game running. |
mafia_signup | list of ghosts who want to play mafia, every time someone enters the list it checks to see if enough are in |
magicarp_spell_colours | Associative list of magicarp spells to colours, expand this list if you expand the other lists |
magicarp_spell_types | A list of spells magicarp can use and a corresponding name prefix to apply |
map_delamination_counters | List of delamination counter signs on the map. Required as persistence subsystem loads after the ones present at mapload, and to reset to 0 upon explosion. |
map_reports | Global list of map report datums |
marker_beacon_colors | Marker Beacons |
megafauna_spawn_list | Global list of megafauna spawns on cave gen |
message_modes_stat_limits | Whitelist of saymodes or radio extensions that can be spoken through even if not fully conscious. Associated values are their maximum allowed mob stats. |
mod_themes | Global list of all /datum/mod_theme |
nanotrasen_employers | employers that are from nanotrasen |
narcd_underages | underages who have been reported to security for trying to buy things they shouldn't, so they can't spam |
nearsighted_glasses | Lists related to quirk selection Types of glasses that can be selected at character selection with the Nearsighted quirk |
never_state | tgui state: never_state |
new_player_state | tgui state: new_player_state |
normal_employers | employers who hire agents to do a task and escape... or martyrdom. whatever |
not_incapacitated_state | tgui state: not_incapacitated_state |
not_incapacitated_turf_state | tgui state: not_incapacitated_turf_state |
notcontained_state | tgui state: notcontained_state |
objects_by_id_tag | A list of all /obj by their id_tag |
observer_state | tgui state: observer_state |
oilfry_blacklisted_items | Global typecache of things which should never be fried. |
order_console_products | List of all items that can be found in the different types of order consoles, to purchase. |
organ_process_order | Defines how a mob's internal_organs_slot is ordered Exists so Life()'s organ process order is consistent |
orion_events | assoc list, [datum singleton] = weight |
phobia_types | Phobia types that can be pulled randomly for brain traumas. Also determines what phobias you can choose as your preference with the quirk. |
physical_obscured_state | tgui state: physical_obscured_state |
physical_state | tgui state: physical_state |
picture_log_directory | Picture logging |
pillars_by_z | List of z pillars (datums placed in the bottom left of XbyX squares that control transparency in that space) The pillars are stored in triple depth lists indexed by (world_size % pillar_size) + 1 They are created at transparent turf request, and deleted when no turfs remain |
pipe_color_name | Names shown in the examine for every colored atmos component |
pipe_colors_ordered | List that sorts the colors and is used for setting up the pipes layer so that they overlap correctly |
pipe_paint_colors | These are generally cheaper than looping contents so they go first All colors available to pipes and atmos components |
pirate_gangs | global list of all pirate gangs that can show up today. these will be taken out of the global list as spawned so dupes cannot spawn. |
player_details | assoc list of ckey -> /datum/player_details |
plumbing_layer_names | Reverse of plumbing_layers, as "[bitflag]" => name |
plumbing_layers | List of plumbing layers as name => bitflag |
poll_options | All poll option datums of running polls |
polls | All currently running polls held as datums |
power_failure_message_cooldown | Prevents power_failure message spam if a traitor purchases repeatedly. |
preference_entries | An assoc list list of types to instantiated /datum/preference instances |
preference_entries_by_key | An assoc list of preference entries by their savefile_key |
preset_fish_sources | Keyed list of preset sources to configuration instance |
pride_pin_reskins | Reskins for the pride pin accessory, mapped by display name to icon state |
prisoner_crimes | Types of Crimes Prisoners will have on their record roundstart. (They also can choose Random, which picks from these options... randomly!) |
random_hallucination_weighted_list | Global weighted list of all hallucinations that can show up randomly. |
reality_smash_track | We want reality_smash_tracker to exist only once and be accessible from anywhere. |
req_console_assistance | Requests Console |
reverse_contained_state | tgui state: reverse_contained_state |
rpgloot_controller | Holds the global datum for rpgloot, so anywhere may check for its existence (it signals into whatever it needs to modify, so it shouldn't require fetching) |
rpgtitle_controller | Holds the global datum for rpgtitle, so anywhere may check for its existence (it signals into whatever it needs to modify, so it shouldn't require fetching) |
rune_types | Assoc list of every rune that can be drawn by ritual daggers. [rune_name] = [typepath] |
sacrificed | list of weakrefs to mobs OR minds that have been sacrificed |
scan_conditions | Scan condition instances |
security_officer_distribution | The department distribution of the security officers. |
see_through_maps | global statics for the see_through_component coordinate maps For ease of use, include a comment in the shape of the coordinate map, where O is nothing, X is a hidden tile and A is the object List-coordinate layout is list(relative_x, relative_y, relative_z) Turf finding algorithm needs the z and you can totally use it, but I can't think of any reason to ever do it Also it'd be really cool if you could keep the list-coordinates in here represent their actual relative coords, dont use tabs though since their spacing can differ |
self_state | tgui state: self_state |
sm_delam_list | Priority is top to bottom. |
sm_gas_behavior | Assoc of sm_gas_behavior/datum/gas (path) = datum/sm_gas (instance) |
sortedAreas | Used by jump-to-area etc. Updated by area/updateName() If this is null, it needs to be recalculated. Use get_sorted_areas() as a getter please |
special_roles | This defines the antagonists you can operate with in the settings. Keys are the antagonist, values are the number of days since the player's first connection in order to play. |
species_list | An assoc list of species IDs to type paths |
station_goals | List of available station goals for the crew to be working on |
station_nuke_source | The source of the last nuke that went off |
station_was_nuked | Whether the station has been nuked itself. TRUE only if the station was actually hit by the nuke, otherwise FALSE |
stock_part_datums | Map of stock part type to their singleton |
stock_part_datums_per_object | Map of physical stock part types to their /datum/stock_part |
syndicate_employers | employers that are from the syndicate |
tcgcard_health_bar_radial_choices | Global list containing all options used for the TGC health button. |
tcgcard_mana_bar_radial_choices | Global list containing all options used for the TGC mana button. |
teleport_runes | List of all teleport runes |
teleportlocs | A list of teleport locations |
the_gateway | Station home gateway |
time_last_changed_position | The time since the last job opening was created |
timezoneOffset | The difference betwen midnight (of the host computer) and 0 world.ticks. |
total_uf_len_by_block | Ditto but for unique features. Used by the datum/dna/set_uni_feature_block and datum/dna/get_uni_feature_block procs. |
total_ui_len_by_block | A list of numbers that keeps track of where ui blocks start in the unique_identity string variable of the dna datum. Commonly used by the datum/dna/set_uni_identity_block and datum/dna/get_uni_identity_block procs. |
trait_name_map | value -> trait name, generated on use from trait_by_type global |
triple_ai_controller | global reference to the current theme, if there is one. |
typecache_elevated_structures | A typecache listing structures that are considered to have surfaces that you can place items on that are higher than the floor. This, of course, should be restricted to /atom/movables. This is primarily used for food decomposition code. |
typecache_general_bad_hostile_attack_targets | A typecache of objects that player controlled, easily accessible, hostile mobs should not be able to attack |
typecache_general_bad_things_to_easily_move | A typecache of objects that player controlled, easily accessible, hostile mobs should not be able to move around easily |
typecache_holodeck_linked_floorcheck_ok | typecache for turfs that should be considered ok during floorchecks. A linked turf being anything not in this typecache will cause the holodeck to perform an emergency shutdown. |
unit_test_mapping_logs | When unit testing, all logs sent to log_mapping are stored here and retrieved in log_mapping unit test. |
vampire_houses | list that stores a vampire house name for each department |
voice_of_god_commands | List of all voice of god commands |
vr_spawnpoints | Away missions |
wiremod_basic_types | The basic player-facing types that don't have any super special behaviour. |
wiremod_fundamental_types | The fundamental datatypes of the byond game engine. |
wizard_spellbook_purchases_by_key | Global assoc list. [ckey] = [spellbook entry type] |
world_suspicious_login_log | Log associated with [/proc/log_suspicious_login()] Intended to hold all logins that failed due to suspicious circumstances such as ban detection, CID randomisation etc. |
xeno_sample_colors | List of all possible sample colors |
xenobiology_magicarp_spell_types | A reduced list of spells for magicarp spawned in xenobiology, less disruptive |
z_state | tgui state: z_state |
Var Details
GPS_list

Global GPS_list. All GPS components get saved in here for easy reference.
WALLITEMS_INTERIOR

Checks if that loc and dir has an item on the wall
acid_overlay

ACID
active_lifts_by_type

associative list of the form: list(lift_id = list(all lift_master datums attached to lifts of that type))
adamantine_recipes

Others
admin_state

tgui state: admin_state
Checks that the user is an admin, end-of-story.
ai_employers

employers for malfunctioning ais. they do not have sides, unlike traitors.
air_alarm_modes

Keys are /datum/air_alarm_mode paths Values are their respective instances.
alive_player_list

All alive mobs with clients.
all_ongoing_hallucinations

A global list of all ongoing hallucinations, primarily for easy access to be able to stop (delete) hallucinations.
all_voice_of_god_triggers

Used to stop listeners with silly or clown-esque (first) names such as "Honk" or "Flip" from screwing up certain commands.
always_state

tgui state: always_state
Always grants the user UI_INTERACTIVE. Period.
animatable_blacklist

Mimics can't be made out of these objects
announcer_keys

Global list of all of our announcer keys.
areas

Just a list of all the area objects in the game Note, areas can have duplicate types
areas_by_type

An association from typepath to area instance. Only includes areas with unique
set.
armor_by_type

Assosciative list of type -> armor. Used to ensure we always hold a reference to default armor datums
bluespace_senders

All bluespace gas senders
bsa_unlock

BSA unlocked by head ID swipes
cached_storage_typecaches

Almost 100% of the time the lists passed into set_holdable are reused for each instance Just fucking cache it 4head Yes I could generalize this, but I don't want anyone else using it. in fact, DO NOT COPY THIS If you find yourself needing this pattern, you're likely better off using static typecaches I'm not because I do not trust implementers of the storage component to use them, BUT IF I FIND YOU USING THIS PATTERN IN YOUR CODE I WILL BREAK YOU ACROSS MY KNEES ~Lemon
cardboard_cutouts

Global list of all cardboard cutout datums, cached by name to instance.
cell_line_tables

These global lists exist to allow our element to have weight tables without having to be separate instances. Assoc list of cell line define | assoc list of datum | cell_line
cell_virus_tables

Assoc list of cell virus define | assoc list of datum | cell_virus
chasm_storage

List of weakrefs to containers for things which have fallen into chasms
chemical_name_list

names of reagents used by plumbing UI.
conscious_state

tgui state: conscious_state
Only checks if the user is conscious.
contained_state

tgui state: contained_state
Checks that the user is inside the src_object.
cult_narsie

The global Nar'sie that the cult's summoned
current_anonymous_theme

global reference to the current theme, if there is one.
current_living_antags

All alive antags with clients.
current_observers_list

All observers with clients that joined as observers.
dead_player_list

All dead mobs with clients. Does not include observers.
deep_inventory_state

tgui state: deep_inventory_state
Checks that the src_object is in the user's deep (backpack, box, toolbox, etc) inventory.
default_state

tgui state: default_state
Checks a number of things -- mostly physical distance for humans and view for robots.
department_order_cooldowns

cooldown for each department, assoc type 2 cooldown. global, so rebuilding the console doesn't refresh the cd
drone_machine_blacklist_enabled

If drones are blacklisted from certain sensitive machines
dug_up_basalt

Used by ashstorms to replenish basalt tiles that have been dug up without going through all of them.
duplicate_forbidden_vars

List of all vars that will not be copied over when using duplicate_object()
dynamic_human_icons

Global list of all dynamically generated icons, for caching, so we don't have to generate multiple times.
editable_sign_types

This is a global list of all signs you can change an existing sign or new sign backing to, when using a pen on them.
em_block_color

A globaly cached version of EM_BLOCK_COLOR for quick access.
em_mask_matrix

A globaly cached version of EM_MASK_MATRIX for quick access.
emissive_color

A globaly cached version of EMISSIVE_COLOR for quick access.
exodrone_launchers

All exodrone launchers.
exodrones

All exodrones.
exoscanner_bands

List of scanned distances
exploration_sites

All exploration site instances
explorer_drone_adventure_db_entries

All possible adventures in raw form
features_block_lengths

The same rules of the above also apply here, with the exception that this is for the unique_features string variable (commonly abbreviated with uf) and its blocks. Both ui and uf have a standard block length of 3 ASCII characters.
features_by_species

An assoc list of species types to their features (from get_features())
fileaccess_timer

For FTP requests. (i.e. downloading runtime logs.)
However it'd be ok to use for accessing attack logs and such too, which are even laggier.
fire_appearances

Global list that containes cached fire overlays for mobs
fishing_property_cache

Cached fish list properties so we don't have to initalize fish every time, init deffered
floor_designs

all designs supported by the RTD
focused_tests

A list of every test that is currently focused. Use the PERFORM_ALL_TESTS macro instead.
fullbright_overlays

List of plane offset + 1 -> mutable appearance to use Fills with offsets as they are generated
fun_state

tgui state: fun_state
Checks that the user has the fun privilige.
gas_id_to_canister

List of all the gases, used in labelling the canisters
gas_recipe_meta

Global list of recipes for atmospheric machines to use
gateway_destinations

List of possible gateway destinations.
glass_style_singletons

Global list of all glass style singletons created. See /proc/create_glass_styles for list format.
glide_size_multiplier

Compensating for time dilation
global_funny_embedding

set this to a new instance of a SUBTYPE of global_funny_embedding. The main type is a prototype and will runtime really hard
gravity_generators

We will keep track of this by adding new gravity generators to the list, and keying it with the z level.
hands_state

tgui state: hands_state
Checks that the src_object is in the user's hands.
has_antagonist_huds

All active /datum/atom_hud/alternate_appearance/basic/has_antagonist instances
heretic_sacrifice_landmarks

A global assoc list of all landmarks that denote a heretic sacrifice location. [string heretic path] = [landmark].
heretic_start_knowledge

Global list of all heretic knowledge that have route = PATH_START. List of PATHS.
hfr_fuels_list

Global list of recipes for atmospheric machines to use
hijack_employers

employers who hire agents to do the hijack
holidays

HOLIDAYS
Uncommenting ALLOW_HOLIDAYS in config.txt will enable holidays
It's easy to add stuff. Just add a holiday datum in code/modules/holiday/holidays.dm You can then check if it's a special day in any code in the game by calling check_holidays("Groundhog Day")
You can also make holiday random events easily thanks to Pete/Gia's system. simply make a random event normally, then assign it a holidayID string which matches the holiday's name. Anything with a holidayID, which isn't in the holidays list, will never occur.
Please, Don't spam stuff up with stupid stuff (key example being april-fools Pooh/ERP/etc), and don't forget: CHECK YOUR CODE!!!! We don't want any zero-day bugs which happen only on holidays and never get found/fixed!
huds_by_category

gets filled by each /datum/atom_hud/New(). associative list of the form: list(hud category = list(all global atom huds that use that category))
human_adjacent_state

tgui state: human_adjacent_state
In addition to default checks, only allows interaction for a human adjacent user.
human_heights_to_offsets

Assoc list of all heights, cast to strings, to """"tuples""""" The first """tuple""" index is the upper body offset The second """tuple""" index is the lower body offset
ice_cream_flavours

ICE CREAM FLAVOUR DATUM STUFF
identity_block_lengths

Some identity blocks (basically pieces of the unique_identity string variable of the dna datum, commonly abbreviated with ui) may have a length that differ from standard length of 3 ASCII characters. This list is necessary for these non-standard blocks to work, as well as the entire unique identity string. Should you add a new ui block which size differ from the standard (again, 3 ASCII characters), like for example, a color, please do not forget to also include it in this list in the following format: "[dna block number]" = dna block size, Failure to do that may result in bugs. Thanks.
infuser_entries

A list of all infuser entries
integrated_circuits

A list of all integrated circuits
intento_players

All people who have used an Intento this round along with their high scores.
inventory_state

tgui state: inventory_state
Checks that the src_object is in the user's top-level (hand, ear, pocket, belt, etc) inventory.
language_menu_state

tgui state: language_menu_state
lastsignalers

Keeps last 100 signals here in format: "[src] used [REF(src)] @ location [src.loc]: [freq]/[code]"
lawchanges

Stores who uploaded laws to which silicon-based lifeform, and what the law was
layers_to_offset

Used for human height overlay adjustments Certain standing overlay layers shouldn't have a filter applied and should instead just offset by a pixel y This list contains all the layers that must offset, with its value being whether it's a part of the upper half of the body (TRUE) or not (FALSE)
mafia_bad_signup

list of ghosts who want to play mafia that have since disconnected. They are kept in the lobby, but not counted for starting a game.
mafia_game

the current global mafia game running.
mafia_signup

list of ghosts who want to play mafia, every time someone enters the list it checks to see if enough are in
magicarp_spell_colours

Associative list of magicarp spells to colours, expand this list if you expand the other lists
magicarp_spell_types

A list of spells magicarp can use and a corresponding name prefix to apply
map_delamination_counters

List of delamination counter signs on the map. Required as persistence subsystem loads after the ones present at mapload, and to reset to 0 upon explosion.
map_reports

Global list of map report datums
marker_beacon_colors

Marker Beacons
megafauna_spawn_list

Global list of megafauna spawns on cave gen
message_modes_stat_limits

Whitelist of saymodes or radio extensions that can be spoken through even if not fully conscious. Associated values are their maximum allowed mob stats.
mod_themes

Global list of all /datum/mod_theme
nanotrasen_employers

employers that are from nanotrasen
narcd_underages

underages who have been reported to security for trying to buy things they shouldn't, so they can't spam
nearsighted_glasses

Lists related to quirk selection Types of glasses that can be selected at character selection with the Nearsighted quirk
never_state

tgui state: never_state
Always closes the UI, no matter what. See the ui_state in religious_tool.dm to see an example
new_player_state

tgui state: new_player_state
Checks that the user is a /mob/dead/new_player
normal_employers

employers who hire agents to do a task and escape... or martyrdom. whatever
not_incapacitated_state

tgui state: not_incapacitated_state
Checks that the user isn't incapacitated
not_incapacitated_turf_state

tgui state: not_incapacitated_turf_state
Checks that the user isn't incapacitated and that their loc is a turf
notcontained_state

tgui state: notcontained_state
Checks that the user is not inside src_object, and then makes the default checks.
objects_by_id_tag

A list of all /obj by their id_tag
observer_state

tgui state: observer_state
Checks that the user is an observer/ghost.
oilfry_blacklisted_items

Global typecache of things which should never be fried.
order_console_products

List of all items that can be found in the different types of order consoles, to purchase.
organ_process_order

Defines how a mob's internal_organs_slot is ordered Exists so Life()'s organ process order is consistent
orion_events

assoc list, [datum singleton] = weight
phobia_types

Phobia types that can be pulled randomly for brain traumas. Also determines what phobias you can choose as your preference with the quirk.
physical_obscured_state

tgui state: physical_obscured_state
Short-circuits the default state to only check physical distance, being in view doesn't matter
physical_state

tgui state: physical_state
Short-circuits the default state to only check physical distance.
picture_log_directory

Picture logging
pillars_by_z

List of z pillars (datums placed in the bottom left of XbyX squares that control transparency in that space) The pillars are stored in triple depth lists indexed by (world_size % pillar_size) + 1 They are created at transparent turf request, and deleted when no turfs remain
pipe_color_name

Names shown in the examine for every colored atmos component
pipe_colors_ordered

List that sorts the colors and is used for setting up the pipes layer so that they overlap correctly
pipe_paint_colors

These are generally cheaper than looping contents so they go first All colors available to pipes and atmos components
pirate_gangs

global list of all pirate gangs that can show up today. these will be taken out of the global list as spawned so dupes cannot spawn.
player_details

assoc list of ckey -> /datum/player_details
plumbing_layer_names

Reverse of plumbing_layers, as "[bitflag]" => name
plumbing_layers

List of plumbing layers as name => bitflag
poll_options

All poll option datums of running polls
polls

All currently running polls held as datums
power_failure_message_cooldown

Prevents power_failure message spam if a traitor purchases repeatedly.
preference_entries

An assoc list list of types to instantiated /datum/preference
instances
preference_entries_by_key

An assoc list of preference entries by their savefile_key
preset_fish_sources

Keyed list of preset sources to configuration instance
pride_pin_reskins

Reskins for the pride pin accessory, mapped by display name to icon state
prisoner_crimes

Types of Crimes Prisoners will have on their record roundstart. (They also can choose Random, which picks from these options... randomly!)
random_hallucination_weighted_list

Global weighted list of all hallucinations that can show up randomly.
reality_smash_track

We want reality_smash_tracker to exist only once and be accessible from anywhere.
req_console_assistance

Requests Console
Originally written by errorage, updated by: Carn, needs more work though. I just added some security fixes
reverse_contained_state

tgui state: reverse_contained_state
Checks if src_object is inside of user.
rpgloot_controller

Holds the global datum for rpgloot, so anywhere may check for its existence (it signals into whatever it needs to modify, so it shouldn't require fetching)
rpgtitle_controller

Holds the global datum for rpgtitle, so anywhere may check for its existence (it signals into whatever it needs to modify, so it shouldn't require fetching)
rune_types

Assoc list of every rune that can be drawn by ritual daggers. [rune_name] = [typepath]
sacrificed

list of weakrefs to mobs OR minds that have been sacrificed
scan_conditions

Scan condition instances
security_officer_distribution

The department distribution of the security officers.
Keys are refs of the security officer mobs. This is to preserve the list's structure even if the mob gets deleted. This is also safe, as mobs are guaranteed to have a unique ref, as per /mob/GenerateTag().
see_through_maps

global statics for the see_through_component coordinate maps For ease of use, include a comment in the shape of the coordinate map, where O is nothing, X is a hidden tile and A is the object List-coordinate layout is list(relative_x, relative_y, relative_z) Turf finding algorithm needs the z and you can totally use it, but I can't think of any reason to ever do it Also it'd be really cool if you could keep the list-coordinates in here represent their actual relative coords, dont use tabs though since their spacing can differ
self_state

tgui state: self_state
Only checks that the user and src_object are the same.
sm_delam_list

Priority is top to bottom.
sm_gas_behavior

Assoc of sm_gas_behavior/datum/gas (path) = datum/sm_gas (instance)
sortedAreas

Used by jump-to-area etc. Updated by area/updateName() If this is null, it needs to be recalculated. Use get_sorted_areas() as a getter please
special_roles

This defines the antagonists you can operate with in the settings. Keys are the antagonist, values are the number of days since the player's first connection in order to play.
species_list

An assoc list of species IDs to type paths
station_goals

List of available station goals for the crew to be working on
station_nuke_source

The source of the last nuke that went off
station_was_nuked

Whether the station has been nuked itself. TRUE only if the station was actually hit by the nuke, otherwise FALSE
stock_part_datums

Map of stock part type to their singleton
stock_part_datums_per_object

Map of physical stock part types to their /datum/stock_part
syndicate_employers

employers that are from the syndicate
tcgcard_health_bar_radial_choices

Global list containing all options used for the TGC health button.
tcgcard_mana_bar_radial_choices

Global list containing all options used for the TGC mana button.
teleport_runes

List of all teleport runes
teleportlocs

A list of teleport locations
Adding a wizard area teleport list because motherfucking lag -- Urist I am far too lazy to make it a proper list of areas so I'll just make it run the usual telepot routine at the start of the game
the_gateway

Station home gateway
time_last_changed_position

The time since the last job opening was created
timezoneOffset

The difference betwen midnight (of the host computer) and 0 world.ticks.
total_uf_len_by_block

Ditto but for unique features. Used by the datum/dna/set_uni_feature_block and datum/dna/get_uni_feature_block procs.
total_ui_len_by_block

A list of numbers that keeps track of where ui blocks start in the unique_identity string variable of the dna datum. Commonly used by the datum/dna/set_uni_identity_block and datum/dna/get_uni_identity_block procs.
trait_name_map

value -> trait name, generated on use from trait_by_type global
triple_ai_controller

global reference to the current theme, if there is one.
typecache_elevated_structures

A typecache listing structures that are considered to have surfaces that you can place items on that are higher than the floor. This, of course, should be restricted to /atom/movables. This is primarily used for food decomposition code.
typecache_general_bad_hostile_attack_targets

A typecache of objects that player controlled, easily accessible, hostile mobs should not be able to attack
typecache_general_bad_things_to_easily_move

A typecache of objects that player controlled, easily accessible, hostile mobs should not be able to move around easily
typecache_holodeck_linked_floorcheck_ok

typecache for turfs that should be considered ok during floorchecks. A linked turf being anything not in this typecache will cause the holodeck to perform an emergency shutdown.
unit_test_mapping_logs

When unit testing, all logs sent to log_mapping are stored here and retrieved in log_mapping unit test.
vampire_houses

list that stores a vampire house name for each department
voice_of_god_commands

List of all voice of god commands
vr_spawnpoints

Away missions
wiremod_basic_types

The basic player-facing types that don't have any super special behaviour.
wiremod_fundamental_types

The fundamental datatypes of the byond game engine.
wizard_spellbook_purchases_by_key

Global assoc list. [ckey] = [spellbook entry type]
world_suspicious_login_log

Log associated with [/proc/log_suspicious_login()] Intended to hold all logins that failed due to suspicious circumstances such as ban detection, CID randomisation etc.
xeno_sample_colors

List of all possible sample colors
xenobiology_magicarp_spell_types

A reduced list of spells for magicarp spawned in xenobiology, less disruptive
z_state

tgui state: z_state
Only checks that the Z-level of the user and src_object are the same.