/tg/ Station 13 - Modules - TypesVar Details

global_vars

Vars

GPS_listGlobal GPS_list. All GPS components get saved in here for easy reference.
acid_overlayACID
adamantine_recipesOthers
admin_statetgui state: admin_state
always_statetgui state: always_state
areas_by_typeAn association from typepath to area instance. Only includes areas with unique set.
cell_line_tablesThese global lists exist to allow our element to have weight tables without having to be seperate instances. Assoc list of cell line define | assoc list of datum | cell_line
cell_virus_tablesAssoc list of cell virus define | assoc list of datum | cell_virus
conscious_statetgui state: conscious_state
contained_statetgui state: contained_state
crystal_invasion_wavesGlobal list that stores the 4 kinds of waves the crystal invasion can have and the portals each one can spawn
crystal_portalsGlobal list that stores the all the instantiated portals around the station, used when stabilizing the crystal
deep_inventory_statetgui state: deep_inventory_state
default_statetgui state: default_state
editable_sign_typesThis is a global list of all signs you can change an existing sign or new sign backing to, when using a pen on them.
gateway_destinationsList of possible gateway destinations.
glide_size_multiplierCompensating for time dialation
hands_statetgui state: hands_state
huge_crystal_portalsGlobal list that store the huge portals that spawn at the start of the event
human_adjacent_statetgui state: human_adjacent_state
inventory_statetgui state: inventory_state
language_menu_statetgui state: language_menu_state
mafia_bad_signuplist 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_gamethe current global mafia game running.
mafia_signuplist of ghosts who want to play mafia, every time someone enters the list it checks to see if enough are in
marker_beacon_colorsMarker Beacons
megafauna_spawn_listGlobal list of megafauna spawns on cave gen
message_modes_stat_limitsWhitelist of saymodes or radio extensions that can be spoken through even if not fully conscious. Associated values are their maximum allowed mob stats.
narcd_underagesunderages who have been reported to security for trying to buy things they shouldn't, so they can't spam
new_player_statetgui state: new_player_state
not_incapacitated_statetgui state: not_incapacitated_state
not_incapacitated_turf_statetgui state: not_incapacitated_turf_state
notcontained_statetgui state: notcontained_state
observer_statetgui state: observer_state
organ_process_orderOrgan slot processing order for life proc
physical_obscured_statetgui state: physical_obscured_state
physical_statetgui state: physical_state
picture_log_directoryPicture logging
poll_optionsAll poll option datums of running polls
pollsAll currently running polls held as datums
reality_smash_trackWe want reality_smash_tracker to exist only once and be accesable from anywhere.
req_console_assistanceRequests Console
self_statetgui state: self_state
stat_panel_verbsBare minimum required verbs for stat panel operation
teleportlocsA list of teleport locations
the_gatewayStation home gateway
time_last_changed_positionThe time since the last job opening was created
trait_name_mapvalue -> trait name, generated on use from trait_by_type global
xeno_sample_colorsList of all possible sample colors
z_statetgui state: z_state

Var Details

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

Checks that the user is an admin, end-of-story.

always_state

tgui state: always_state

Always grants the user UI_INTERACTIVE. Period.

areas_by_type

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

cell_line_tables

These global lists exist to allow our element to have weight tables without having to be seperate 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

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.

crystal_invasion_waves

Global list that stores the 4 kinds of waves the crystal invasion can have and the portals each one can spawn

crystal_portals

Global list that stores the all the instantiated portals around the station, used when stabilizing the crystal

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.

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.

gateway_destinations

List of possible gateway destinations.

glide_size_multiplier

Compensating for time dialation

hands_state

tgui state: hands_state

Checks that the src_object is in the user's hands.

huge_crystal_portals

Global list that store the huge portals that spawn at the start of the event

human_adjacent_state

tgui state: human_adjacent_state

In addition to default checks, only allows interaction for a human adjacent user.

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

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

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.

narcd_underages

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

new_player_state

tgui state: new_player_state

Checks that the user is a new_player, or if user is an admin

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.

observer_state

tgui state: observer_state

Checks that the user is an observer/ghost.

organ_process_order

Organ slot processing order for life proc

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

poll_options

All poll option datums of running polls

polls

All currently running polls held as datums

reality_smash_track

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

req_console_assistance

Requests Console

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

self_state

tgui state: self_state

Only checks that the user and src_object are the same.

stat_panel_verbs

Bare minimum required verbs for stat panel operation

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

trait_name_map

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

xeno_sample_colors

List of all possible sample colors

z_state

tgui state: z_state

Only checks that the Z-level of the user and src_object are the same.