Space Station 13 - Modules - TypesVar Details

action_button

Vars

actiontooltipstyleThe style of tool-tip.
active_overlay_icon_stateThe icon state of our active overlay, used to prevent re-applying identical overlays
active_underlay_icon_stateThe icon state of our active underlay, used to prevent re-applying identical underlays
button_overlayThe overlay we have overtop our button
idA unique bitflag, combined with the name of our linked action this lets us persistently remember any user changes to our position
last_hovered_refUID of the last thing we hovered over. Used for managing action button dragging.
linked_actionThe action triggered by this button.
linked_keybindThe keybind that will trigger this action button.
locationWhere we are currently placed on the hud. SCRN_OBJ_DEFAULT asks the linked action what it thinks
lockedWhether or not this button is locked, preventing it from being dragged.
our_hudThe HUD this action button belongs to
shown_to_observersWhether or not this should be shown to observers
unavailable_imageOverlay for displaying the availability of the button

Var Details

actiontooltipstyle

The style of tool-tip.

active_overlay_icon_state

The icon state of our active overlay, used to prevent re-applying identical overlays

active_underlay_icon_state

The icon state of our active underlay, used to prevent re-applying identical underlays

button_overlay

The overlay we have overtop our button

id

A unique bitflag, combined with the name of our linked action this lets us persistently remember any user changes to our position

last_hovered_ref

UID of the last thing we hovered over. Used for managing action button dragging.

linked_action

The action triggered by this button.

linked_keybind

The keybind that will trigger this action button.

location

Where we are currently placed on the hud. SCRN_OBJ_DEFAULT asks the linked action what it thinks

locked

Whether or not this button is locked, preventing it from being dragged.

our_hud

The HUD this action button belongs to

shown_to_observers

Whether or not this should be shown to observers

unavailable_image

Overlay for displaying the availability of the button