code/__DEFINES/actions.dm ![code/__DEFINES/actions.dm0](git.png)
AB_CHECK_HANDS_BLOCKED | Action button checks if hands are unusable |
---|---|
AB_CHECK_IMMOBILE | Action button checks if user is immobile |
AB_CHECK_LYING | Action button checks if user is resting |
AB_CHECK_CONSCIOUS | Action button checks if user is conscious |
AB_CHECK_INCAPACITATED | Action button checks if user is incapacitated |
AB_CHECK_PHASED | Action button checks if user is jaunting |
AB_CHECK_OPEN_TURF | Action button checks if user is not on an open turf |
TRIGGER_SECONDARY_ACTION | Action button triggered with right click |
TRIGGER_FORCE_AVAILABLE | Action triggered to ignore any availability checks |
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. |
PANEL_DISPLAY_NAME | The name shown in the stat panel. |
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. |
Define Details
AB_CHECK_CONSCIOUS ![code/__DEFINES/actions.dm 8](git.png)
Action button checks if user is conscious
AB_CHECK_HANDS_BLOCKED ![code/__DEFINES/actions.dm 2](git.png)
Action button checks if hands are unusable
AB_CHECK_IMMOBILE ![code/__DEFINES/actions.dm 4](git.png)
Action button checks if user is immobile
AB_CHECK_INCAPACITATED ![code/__DEFINES/actions.dm 10](git.png)
Action button checks if user is incapacitated
AB_CHECK_LYING ![code/__DEFINES/actions.dm 6](git.png)
Action button checks if user is resting
AB_CHECK_OPEN_TURF ![code/__DEFINES/actions.dm 14](git.png)
Action button checks if user is not on an open turf
AB_CHECK_PHASED ![code/__DEFINES/actions.dm 12](git.png)
Action button checks if user is jaunting
GRANT_ACTION ![code/__DEFINES/actions.dm 50](git.png)
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 ![code/__DEFINES/actions.dm 38](git.png)
The name shown in the stat panel.
PANEL_DISPLAY_PANEL ![code/__DEFINES/actions.dm 33](git.png)
The stat panel the action is displayed in.
PANEL_DISPLAY_STATUS ![code/__DEFINES/actions.dm 36](git.png)
The status shown in the stat panel. Can be stuff like "ready", "on cooldown", "active", "charges", "charge cost", etc.
TRIGGER_FORCE_AVAILABLE ![code/__DEFINES/actions.dm 29](git.png)
Action triggered to ignore any availability checks
TRIGGER_SECONDARY_ACTION ![code/__DEFINES/actions.dm 27](git.png)
Action button triggered with right click