White Sands - Modules - TypesVar Details

Global Variables

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.
conscious_statetgui state: conscious_state
contained_statetgui state: contained_state
deep_inventory_statetgui state: deep_inventory_state
default_statetgui state: default_state
dummySaveSave file used in icon2base64. Used for converting icons to base64.
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
human_adjacent_statetgui state: human_adjacent_state
inventory_statetgui state: inventory_state
language_menu_statetgui state: language_menu_state
marker_beacon_colorsMarker Beacons
megafauna_spawn_listGlobal list of megafauna spawns on cave gen
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
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
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
trait_name_mapvalue -> trait name, generated on use from trait_by_type global
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.

Copyright (c) 2020 Aleksej Komarov SPDX-License-Identifier: MIT

always_state

tgui state: always_state

Always grants the user UI_INTERACTIVE. Period.

Copyright (c) 2020 Aleksej Komarov SPDX-License-Identifier: MIT

areas_by_type

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

conscious_state

tgui state: conscious_state

Only checks if the user is conscious.

Copyright (c) 2020 Aleksej Komarov SPDX-License-Identifier: MIT

contained_state

tgui state: contained_state

Checks that the user is inside the src_object.

Copyright (c) 2020 Aleksej Komarov SPDX-License-Identifier: MIT

deep_inventory_state

tgui state: deep_inventory_state

Checks that the src_object is in the user's deep (backpack, box, toolbox, etc) inventory.

Copyright (c) 2020 Aleksej Komarov SPDX-License-Identifier: MIT

default_state

tgui state: default_state

Checks a number of things -- mostly physical distance for humans and view for robots.

Copyright (c) 2020 Aleksej Komarov SPDX-License-Identifier: MIT

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.

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.

Copyright (c) 2020 Aleksej Komarov SPDX-License-Identifier: MIT

human_adjacent_state

tgui state: human_adjacent_state

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

Copyright (c) 2020 Aleksej Komarov SPDX-License-Identifier: MIT

inventory_state

tgui state: inventory_state

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

Copyright (c) 2020 Aleksej Komarov SPDX-License-Identifier: MIT

language_menu_state

tgui state: language_menu_state

Copyright (c) 2020 Aleksej Komarov SPDX-License-Identifier: MIT

marker_beacon_colors

Marker Beacons

megafauna_spawn_list

Global list of megafauna spawns on cave gen

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

Copyright (c) 2020 Aleksej Komarov SPDX-License-Identifier: MIT

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.

Copyright (c) 2020 Aleksej Komarov SPDX-License-Identifier: MIT

observer_state

tgui state: observer_state

Checks that the user is an observer/ghost.

Copyright (c) 2020 Aleksej Komarov SPDX-License-Identifier: MIT

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.

Copyright (c) 2020 Aleksej Komarov SPDX-License-Identifier: MIT

picture_log_directory

Picture logging

poll_options

All poll option datums of running polls

polls

All currently running polls held as datums

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.

Copyright (c) 2020 Aleksej Komarov SPDX-License-Identifier: MIT

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

trait_name_map

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

z_state

tgui state: z_state

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

Copyright (c) 2020 Aleksej Komarov SPDX-License-Identifier: MIT