SS1984 - Modules - Types — Define Details

code/__DEFINES/tools.dm

ITEM_INTERACT_SUCCESSReturn when an item interaction is successful. This cancels the rest of the chain entirely and indicates success.
ITEM_INTERACT_BLOCKINGReturn to prevent the rest of the attack chain from being executed / preventing the item user from thwacking the target. Similar to ITEM_INTERACT_SUCCESS, but does not necessarily indicate success.
ITEM_INTERACT_FAILUREOnly for people who get confused by the naming scheme
ITEM_INTERACT_SKIP_TO_ATTACKReturn to skip the rest of the interaction chain, going straight to attack.
ITEM_INTERACT_ANY_BLOCKERCombination flag for any item interaction that blocks the rest of the attack chain
DECAL_INFO_ICON_STATEIcon state to paint
DECAL_INFO_COLORColor to paint the decal with
DECAL_INFO_DIRDir of the decal sprite
DECAL_INFO_ALPHAAlpha of the decal

Define Details

DECAL_INFO_ALPHA

Alpha of the decal

DECAL_INFO_COLOR

Color to paint the decal with

DECAL_INFO_DIR

Dir of the decal sprite

DECAL_INFO_ICON_STATE

Icon state to paint

ITEM_INTERACT_ANY_BLOCKER

Combination flag for any item interaction that blocks the rest of the attack chain

ITEM_INTERACT_BLOCKING

Return to prevent the rest of the attack chain from being executed / preventing the item user from thwacking the target. Similar to ITEM_INTERACT_SUCCESS, but does not necessarily indicate success.

ITEM_INTERACT_FAILURE

Only for people who get confused by the naming scheme

ITEM_INTERACT_SKIP_TO_ATTACK

Return to skip the rest of the interaction chain, going straight to attack.

ITEM_INTERACT_SUCCESS

Return when an item interaction is successful. This cancels the rest of the chain entirely and indicates success.