/tg/ Station 13 - Modules - TypesDefine Details

code/__DEFINES/actions.dm

AB_CHECK_HANDS_BLOCKEDAction button checks if hands are unusable
AB_CHECK_IMMOBILEAction button checks if user is immobile
AB_CHECK_LYINGAction button checks if user is resting
AB_CHECK_CONSCIOUSAction button checks if user is conscious
AB_CHECK_INCAPACITATEDAction button checks if user is incapacitated
AB_CHECK_PHASEDAction button checks if user is jaunting
TRIGGER_SECONDARY_ACTIONAction button triggered with right click
TRIGGER_FORCE_AVAILABLEAction triggered to ignore any availability checks
PANEL_DISPLAY_PANELThe stat panel the action is displayed in.
PANEL_DISPLAY_STATUSThe status shown in the stat panel. Can be stuff like "ready", "on cooldown", "active", "charges", "charge cost", etc.
PANEL_DISPLAY_NAMEThe name shown in the stat panel.
GRANT_ACTIONTakes in a typepath of a /datum/action and adds it to src. Only useful if you want to add the action and never desire to reference it again ever.

Define Details

AB_CHECK_CONSCIOUS

Action button checks if user is conscious

AB_CHECK_HANDS_BLOCKED

Action button checks if hands are unusable

AB_CHECK_IMMOBILE

Action button checks if user is immobile

AB_CHECK_INCAPACITATED

Action button checks if user is incapacitated

AB_CHECK_LYING

Action button checks if user is resting

AB_CHECK_PHASED

Action button checks if user is jaunting

GRANT_ACTION

Takes in a typepath of a /datum/action and adds it to src. Only useful if you want to add the action and never desire to reference it again ever.

PANEL_DISPLAY_NAME

The name shown in the stat panel.

PANEL_DISPLAY_PANEL

The stat panel the action is displayed in.

PANEL_DISPLAY_STATUS

The status shown in the stat panel. Can be stuff like "ready", "on cooldown", "active", "charges", "charge cost", etc.

TRIGGER_FORCE_AVAILABLE

Action triggered to ignore any availability checks

TRIGGER_SECONDARY_ACTION

Action button triggered with right click