/tg/ Station 13 - Modules - TypesDefine Details

code/__DEFINES/interaction_flags.dm

INTERACT_ATOM_REQUIRES_ANCHOREDwhether can_interact() checks for anchored. only works on movables.
INTERACT_ATOM_ATTACK_HANDcalls try_interact() on attack_hand() and returns that.
INTERACT_ATOM_UI_INTERACTautomatically calls and returns ui_interact() on interact().
INTERACT_ATOM_REQUIRES_DEXTERITYuser must be dextrous
INTERACT_ATOM_IGNORE_INCAPACITATEDignores incapacitated check
INTERACT_ATOM_IGNORE_RESTRAINEDincapacitated check ignores restrained
INTERACT_ATOM_CHECK_GRABincapacitated check checks grab
INTERACT_ATOM_NO_FINGERPRINT_ATTACK_HANDprevents leaving fingerprints automatically on attack_hand
INTERACT_ATOM_NO_FINGERPRINT_INTERACTadds hiddenprints instead of fingerprints on interact
INTERACT_ATOM_ALLOW_USER_LOCATIONallows this atom to skip the adjacency check
INTERACT_ATOM_IGNORE_MOBILITYignores mobility check
INTERACT_ITEM_ATTACK_HAND_PICKUPattempt pickup on attack_hand for items
INTERACT_MACHINE_OPENcan_interact() while open
INTERACT_MACHINE_OFFLINEcan_interact() while offline
INTERACT_MACHINE_WIRES_IF_OPENtry to interact with wires if open
INTERACT_MACHINE_ALLOW_SILICONlet silicons interact
INTERACT_MACHINE_OPEN_SILICONlet silicons interact while open
INTERACT_MACHINE_REQUIRES_SILICONmust be silicon to interact
INTERACT_MACHINE_REQUIRES_SIGHTthe user must have vision to interact (blind people need not apply)
INTERACT_MACHINE_REQUIRES_LITERACYthe user must be able to read to interact

Define Details

INTERACT_ATOM_ALLOW_USER_LOCATION

allows this atom to skip the adjacency check

INTERACT_ATOM_ATTACK_HAND

calls try_interact() on attack_hand() and returns that.

INTERACT_ATOM_CHECK_GRAB

incapacitated check checks grab

INTERACT_ATOM_IGNORE_INCAPACITATED

ignores incapacitated check

INTERACT_ATOM_IGNORE_MOBILITY

ignores mobility check

INTERACT_ATOM_IGNORE_RESTRAINED

incapacitated check ignores restrained

INTERACT_ATOM_NO_FINGERPRINT_ATTACK_HAND

prevents leaving fingerprints automatically on attack_hand

INTERACT_ATOM_NO_FINGERPRINT_INTERACT

adds hiddenprints instead of fingerprints on interact

INTERACT_ATOM_REQUIRES_ANCHORED

whether can_interact() checks for anchored. only works on movables.

INTERACT_ATOM_REQUIRES_DEXTERITY

user must be dextrous

INTERACT_ATOM_UI_INTERACT

automatically calls and returns ui_interact() on interact().

INTERACT_ITEM_ATTACK_HAND_PICKUP

attempt pickup on attack_hand for items

INTERACT_MACHINE_ALLOW_SILICON

let silicons interact

INTERACT_MACHINE_OFFLINE

can_interact() while offline

INTERACT_MACHINE_OPEN

can_interact() while open

INTERACT_MACHINE_OPEN_SILICON

let silicons interact while open

INTERACT_MACHINE_REQUIRES_LITERACY

the user must be able to read to interact

INTERACT_MACHINE_REQUIRES_SIGHT

the user must have vision to interact (blind people need not apply)

INTERACT_MACHINE_REQUIRES_SILICON

must be silicon to interact

INTERACT_MACHINE_WIRES_IF_OPEN

try to interact with wires if open