Space Station 13 - Modules - TypesVar Details - Proc Details

hud

Vars

floating_actionsA list of action buttons which aren't owned by any action group, and are just floating somewhere on the hud.
hotkey_ui_hiddenThis is to hide the buttons that can be used via hotkeys. (hotkeybuttons list of buttons)
hotkeybuttonsthe buttons that can be used via hotkeys
hud_shownUsed for the HUD toggle (F12)
hud_versionCurrent displayed version of the HUD
inv_slotsatom/movable/screen/inventory objects, ordered by their slot ID.
inventory_shownWhether or not their toggleable inventory
listed_actionsaction group for expanded actions, the normal action set
palette_actionsthe groups of actions, such as palette (previously normal) actions
plane_master_controllersAssoc list of controller groups, associated with key string group name with value of the plane master controller ref
screentip_textUI for screentips that appear when you mouse over things
toggleable_inventorythe screen objects which can be hidden (your human items on the left)

Procs

build_action_groupsGenerates and fills new action groups with our mob's current actions
generate_landingsGenerates visual landings for all groups that the button is not a memeber of
get_action_buttons_iconsThis is a silly proc used in hud code code to determine what icon and icon state we should be using for hud elements (such as action buttons) that don't have their own icon and icon state set.
hide_actionRemoves the passed in action from its current position on the screen
hide_landingsClears all currently visible landings
view_audit_buttonsEnsures all of our buttons are properly within the bounds of our client's view, moves them if they're not

Var Details

floating_actions

A list of action buttons which aren't owned by any action group, and are just floating somewhere on the hud.

hotkey_ui_hidden

This is to hide the buttons that can be used via hotkeys. (hotkeybuttons list of buttons)

hotkeybuttons

the buttons that can be used via hotkeys

hud_shown

Used for the HUD toggle (F12)

hud_version

Current displayed version of the HUD

inv_slots

atom/movable/screen/inventory objects, ordered by their slot ID.

inventory_shown

Whether or not their toggleable inventory

listed_actions

action group for expanded actions, the normal action set

palette_actions

the groups of actions, such as palette (previously normal) actions

plane_master_controllers

Assoc list of controller groups, associated with key string group name with value of the plane master controller ref

screentip_text

UI for screentips that appear when you mouse over things

toggleable_inventory

the screen objects which can be hidden (your human items on the left)

Proc Details

build_action_groups

Generates and fills new action groups with our mob's current actions

generate_landings

Generates visual landings for all groups that the button is not a memeber of

get_action_buttons_icons

This is a silly proc used in hud code code to determine what icon and icon state we should be using for hud elements (such as action buttons) that don't have their own icon and icon state set.

It returns a list, which is pretty much just a struct of info

hide_action

Removes the passed in action from its current position on the screen

hide_landings

Clears all currently visible landings

view_audit_buttons

Ensures all of our buttons are properly within the bounds of our client's view, moves them if they're not