global_vars ![code/controllers/globals.dm 3](git.png)
Vars | |
GPS_list | Global GPS_list. All GPS components get saved in here for easy reference. |
---|---|
acid_overlay | ACID |
adamantine_recipes | Others |
admin_state | tgui state: admin_state |
admin_verbs_permissions | BLUEMOON EDIT BEGIN - Player Rank Manager - ORIGINAL: GLOBAL_LIST_INIT(admin_verbs_permissions, list(/client/proc/edit_admin_permissions)) |
always_state | tgui state: always_state |
announcer_keys | Global list of all of our announcer keys. |
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 |
conscious_state | tgui state: conscious_state |
contained_state | tgui state: contained_state |
current_living_antags | All alive antags with clients. |
current_observers_list | All observers with clients that joined as observers. |
deep_inventory_state | tgui state: deep_inventory_state |
default_state | tgui state: default_state |
dummySave | Save file used in icon2base64. Used for converting icons to base64. |
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. |
families_override_theme | Forces the Families theme to be the one in this variable via variable editing. Used for debugging. |
focused_tests | A list of every test that is currently focused. Use the PERFORM_ALL_TESTS macro instead. |
force_eng_override | Manual override for when it's not orange alert. |
fun_state | tgui state: fun_state |
gateway_destinations | List of possible gateway destinations. |
genital_fluids_list | obj/machinery/vending/wardrobe/sec_wardrobe/Initialize(mapload) |
glide_size_multiplier | Compensating for time dialation |
hands_state | tgui state: hands_state |
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 |
inventory_state | tgui state: inventory_state |
language_menu_state | tgui state: language_menu_state |
living_heart_cache | Heretics -- |
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 |
marker_beacon_colors | Marker Beacons |
medals_view_tgui | datum/map_template/ruin/lavaland/bluemoon datum/map_template/ruin/lavaland/bluemoon/syndicate_base |
megafauna_spawn_list | Global list of megafauna spawns on cave gen |
midround_recorded | Механика, введённая для того, чтобы краши сервера не вызывали бесконечные форсы одного и того же режима и карты. Теперь при первом голосовании за шаттл, вне зависимости от результата, карта и режим будут записаны в SSPersistence. |
mod_themes | Global list of all /datum/mod_theme |
never_state | tgui state: never_state |
new_player_state | tgui state: new_player_state |
next_unique_datum_id | The next UID to be used (Increments by 1 for each UID) |
not_incapacitated_state | tgui state: not_incapacitated_state |
not_incapacitated_turf_state | tgui state: not_incapacitated_turf_state |
notcontained_state | tgui state: notcontained_state |
observer_state | tgui state: observer_state |
paper_blanks | Paper blanks (form templates, basically). Loaded from config/blanks.json .
If invalid or not found, set to null. |
physical_obscured_state | tgui state: physical_obscured_state |
physical_state | tgui state: physical_state |
picture_log_directory | Picture logging |
random_zlevels_generated | Away missions, VR, random z levels stuff. |
reality_smash_track | We want reality_smash_tracker to exist only once and be accesable from anywhere. |
req_console_assistance | Requests Console |
screentip_context_icons | Stores the cursor hint icons for screentip context. |
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 |
slavers_ransom_values | Price table for when trying to set slave prices automatically |
subsystem_log | cit logging |
teleportlocs | A list of teleport locations |
the_gateway | Station home gateway |
trait_name_map | value -> trait name, generated on use from trait_by_type global |
typing_indicator_overlays | state = overlay/image/object/type/whatever add_overlay will accept |
ui_logins | tgui login |
ui_modals | ui modals |
ui_vorepanel_state | tgui state: vorepanel_state |
uid_log | Log of all UIDs created in the round. Assoc list with type as key and amount as value |
unit_test_mapping_logs | When unit testing, all logs sent to log_mapping are stored here and retrieved in log_mapping unit test. |
vending_machines_to_restock | List of vending machines that players can restock, so only vending machines that are on station or don't have a unique condition. |
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. |
z_state | tgui state: z_state |
Procs | |
InitGlobaladmin_verbs_permissions | BLUEMOON EDIT END |
Var Details
GPS_list ![code/datums/components/gps.dm 2](git.png)
Global GPS_list. All GPS components get saved in here for easy reference.
acid_overlay ![code/game/objects/obj_defense.dm 186](git.png)
ACID
adamantine_recipes ![code/game/objects/items/stacks/sheets/mineral.dm 357](git.png)
Others
admin_state ![code/modules/tgui/states/admin.dm 12](git.png)
tgui state: admin_state
Checks that the user is an admin, end-of-story.
admin_verbs_permissions ![code/modules/admin/admin_verbs.dm 228](git.png)
BLUEMOON EDIT BEGIN - Player Rank Manager - ORIGINAL: GLOBAL_LIST_INIT(admin_verbs_permissions, list(/client/proc/edit_admin_permissions))
always_state ![code/modules/tgui/states/always.dm 12](git.png)
tgui state: always_state
Always grants the user UI_INTERACTIVE. Period.
announcer_keys ![code/__DEFINES/sound.dm 231](git.png)
Global list of all of our announcer keys.
areas_by_type ![code/_globalvars/lists/mapping.dm 56](git.png)
An association from typepath to area instance. Only includes areas with unique
set.
armor_by_type ![code/datums/armor.dm 26](git.png)
Assosciative list of type -> armor. Used to ensure we always hold a reference to default armor datums
conscious_state ![code/modules/tgui/states/conscious.dm 12](git.png)
tgui state: conscious_state
Only checks if the user is conscious.
contained_state ![code/modules/tgui/states/contained.dm 12](git.png)
tgui state: contained_state
Checks that the user is inside the src_object.
current_living_antags ![code/_globalvars/lists/mobs.dm 57](git.png)
All alive antags with clients.
current_observers_list ![code/_globalvars/lists/mobs.dm 60](git.png)
All observers with clients that joined as observers.
deep_inventory_state ![code/modules/tgui/states/deep_inventory.dm 13](git.png)
tgui state: deep_inventory_state
Checks that the src_object is in the user's deep (backpack, box, toolbox, etc) inventory.
default_state ![code/modules/tgui/states/default.dm 13](git.png)
tgui state: default_state
Checks a number of things -- mostly physical distance for humans and view for robots.
dummySave ![code/__HELPERS/icons.dm 1105](git.png)
Save file used in icon2base64. Used for converting icons to base64.
editable_sign_types ![code/_globalvars/lists/objects.dm 44](git.png)
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 ![code/__DEFINES/lighting.dm 75](git.png)
A globaly cached version of EM_BLOCK_COLOR for quick access.
em_mask_matrix ![code/__DEFINES/lighting.dm 79](git.png)
A globaly cached version of EM_MASK_MATRIX for quick access.
emissive_color ![code/__DEFINES/lighting.dm 71](git.png)
A globaly cached version of EMISSIVE_COLOR for quick access.
families_override_theme ![code/modules/antagonists/gang/handler.dm 19](git.png)
Forces the Families theme to be the one in this variable via variable editing. Used for debugging.
focused_tests ![code/modules/unit_tests/unit_test.dm 25](git.png)
A list of every test that is currently focused. Use the PERFORM_ALL_TESTS macro instead.
force_eng_override ![code/game/machinery/doors/airlock_override.dm 216](git.png)
Manual override for when it's not orange alert.
fun_state ![code/modules/tgui/states/fun.dm 12](git.png)
tgui state: fun_state
Checks that the user has the fun privilige.
gateway_destinations ![code/modules/awaymissions/gateway.dm 4](git.png)
List of possible gateway destinations.
genital_fluids_list ![modular_splurt/code/__HELPERS/_cit_helpers.dm 2](git.png)
obj/machinery/vending/wardrobe/sec_wardrobe/Initialize(mapload)
glide_size_multiplier ![code/__DEFINES/movement.dm 8](git.png)
Compensating for time dialation
hands_state ![code/modules/tgui/states/hands.dm 12](git.png)
tgui state: hands_state
Checks that the src_object is in the user's hands.
huds_by_category ![code/datums/hud.dm 3](git.png)
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 ![code/modules/tgui/states/human_adjacent.dm 13](git.png)
tgui state: human_adjacent_state
In addition to default checks, only allows interaction for a human adjacent user.
inventory_state ![code/modules/tgui/states/inventory.dm 13](git.png)
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 ![code/modules/tgui/states/language_menu.dm 10](git.png)
tgui state: language_menu_state
living_heart_cache ![code/__DEFINES/antagonists.dm 72](git.png)
Heretics --
mafia_bad_signup ![code/modules/mafia/_defines.dm 79](git.png)
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 ![code/modules/mafia/_defines.dm 81](git.png)
the current global mafia game running.
mafia_signup ![code/modules/mafia/_defines.dm 77](git.png)
list of ghosts who want to play mafia, every time someone enters the list it checks to see if enough are in
marker_beacon_colors ![code/modules/mining/equipment/marker_beacons.dm 2](git.png)
Marker Beacons
medals_view_tgui ![modular_bluemoon/SmiLeY/code/medals.dm 1](git.png)
datum/map_template/ruin/lavaland/bluemoon datum/map_template/ruin/lavaland/bluemoon/syndicate_base
megafauna_spawn_list ![code/_globalvars/lists/mapping.dm 61](git.png)
Global list of megafauna spawns on cave gen
midround_recorded ![modular_bluemoon/vlad0s_staff/code/midround_record.dm 6](git.png)
Механика, введённая для того, чтобы краши сервера не вызывали бесконечные форсы одного и того же режима и карты. Теперь при первом голосовании за шаттл, вне зависимости от результата, карта и режим будут записаны в SSPersistence.
mod_themes ![code/__DEFINES/mod.dm 40](git.png)
Global list of all /datum/mod_theme
never_state ![code/modules/tgui/states/never.dm 12](git.png)
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 ![code/modules/tgui/states/new_player.dm 7](git.png)
tgui state: new_player_state
Checks that the user is a new_player, or if user is an admin
next_unique_datum_id ![code/__HELPERS/unique_ids.dm 18](git.png)
The next UID to be used (Increments by 1 for each UID)
not_incapacitated_state ![code/modules/tgui/states/not_incapacitated.dm 12](git.png)
tgui state: not_incapacitated_state
Checks that the user isn't incapacitated
not_incapacitated_turf_state ![code/modules/tgui/states/not_incapacitated.dm 20](git.png)
tgui state: not_incapacitated_turf_state
Checks that the user isn't incapacitated and that their loc is a turf
notcontained_state ![code/modules/tgui/states/notcontained.dm 13](git.png)
tgui state: notcontained_state
Checks that the user is not inside src_object, and then makes the default checks.
observer_state ![code/modules/tgui/states/observer.dm 12](git.png)
tgui state: observer_state
Checks that the user is an observer/ghost.
paper_blanks ![code/modules/paperwork/photocopier.dm 41](git.png)
Paper blanks (form templates, basically). Loaded from config/blanks.json
.
If invalid or not found, set to null.
physical_obscured_state ![code/modules/tgui/states/physical.dm 38](git.png)
tgui state: physical_obscured_state
Short-circuits the default state to only check physical distance, being in view doesn't matter
physical_state ![code/modules/tgui/states/physical.dm 12](git.png)
tgui state: physical_state
Short-circuits the default state to only check physical distance.
picture_log_directory ![code/_globalvars/logging.dm 82](git.png)
Picture logging
random_zlevels_generated ![code/_globalvars/lists/mapping.dm 66](git.png)
Away missions, VR, random z levels stuff.
reality_smash_track ![code/_globalvars/game_modes.dm 16](git.png)
We want reality_smash_tracker to exist only once and be accesable from anywhere.
req_console_assistance ![code/game/machinery/requests_console.dm 4](git.png)
Requests Console
Originally written by errorage, updated by: Carn, needs more work though. I just added some security fixes
screentip_context_icons ![code/datums/screentips/screentips.dm 4](git.png)
Stores the cursor hint icons for screentip context.
see_through_maps ![code/__HELPERS/see_through_maps.dm 25](git.png)
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 ![code/modules/tgui/states/self.dm 12](git.png)
tgui state: self_state
Only checks that the user and src_object are the same.
slavers_ransom_values ![modular_splurt/code/modules/antagonists/slaver/slaver.dm 10](git.png)
Price table for when trying to set slave prices automatically
subsystem_log ![code/_globalvars/logging.dm 97](git.png)
cit logging
teleportlocs ![code/game/area/areas.dm 167](git.png)
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 ![code/modules/awaymissions/gateway.dm 2](git.png)
Station home gateway
trait_name_map ![code/_globalvars/traits.dm 163](git.png)
value -> trait name, generated on use from trait_by_type global
typing_indicator_overlays ![code/modules/mob/typing_indicator.dm 2](git.png)
state = overlay/image/object/type/whatever add_overlay will accept
ui_logins ![code/modules/tgui/plugins/login.dm 19](git.png)
tgui login
Allows the handling of logins using IDs within tgui.
Two key procs:
- /obj/proc/ui_login_act - Call in your ui_act() proc to catch any login actions and handle them.
- /obj/proc/ui_login_data - Call in your ui_data() proc to pass login info.
How to use (DM side):
- Call /obj/proc/ui_login_act at the start of your ui_act() proc
- Call /obj/proc/ui_login_data in your ui_data() proc while passing the data list
- In your object, call /obj/proc/ui_login_get to get the current login state.
- Optional: call /obj/proc/ui_login_attackby in your attackby() to make the login process easier.
How to use (JS side): Use the
ui_modals ![code/modules/tgui/plugins/modal.dm 7](git.png)
ui modals
Allows creation of modals within tgui.
ui_vorepanel_state ![code/modules/tgui/states/vorepanel.dm 7](git.png)
tgui state: vorepanel_state
Only checks that the user and src_object are the same.
uid_log ![code/__HELPERS/unique_ids.dm 20](git.png)
Log of all UIDs created in the round. Assoc list with type as key and amount as value
unit_test_mapping_logs ![code/modules/unit_tests/unit_test.dm 20](git.png)
When unit testing, all logs sent to log_mapping are stored here and retrieved in log_mapping unit test.
vending_machines_to_restock ![modular_bluemoon/phoenix404/modules/vending/_vending.dm 18](git.png)
List of vending machines that players can restock, so only vending machines that are on station or don't have a unique condition.
world_suspicious_login_log ![code/_globalvars/logging.dm 6](git.png)
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.
z_state ![code/modules/tgui/states/zlevel.dm 12](git.png)
tgui state: z_state
Only checks that the Z-level of the user and src_object are the same.
Proc Details
InitGlobaladmin_verbs_permissions
BLUEMOON EDIT END