code/__DEFINES/interaction_flags.dm
INTERACT_ATOM_REQUIRES_ANCHORED | whether can_interact() checks for anchored. only works on movables. |
---|---|
INTERACT_ATOM_ATTACK_HAND | calls try_interact() on attack_hand() and returns that. |
INTERACT_ATOM_UI_INTERACT | automatically calls and returns ui_interact() on interact(). |
INTERACT_ATOM_REQUIRES_DEXTERITY | user must be dextrous |
INTERACT_ATOM_IGNORE_INCAPACITATED | ignores incapacitated check |
INTERACT_ATOM_IGNORE_RESTRAINED | incapacitated check ignores restrained |
INTERACT_ATOM_CHECK_GRAB | incapacitated check checks grab |
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_ALLOW_USER_LOCATION | allows this atom to skip the adjacency check |
INTERACT_ATOM_IGNORE_MOBILITY | ignores mobility check |
INTERACT_ATOM_MOUSEDROP_IGNORE_USABILITY | Bypass all can_perform_action checks for mouse drop |
INTERACT_ATOM_MOUSEDROP_IGNORE_CHECKS | Bypass all adjacency and other checks for mouse drop |
INTERACT_ATOM_ATTACK_PAW | calls try_interact() on attack_paw() and returns that. |
INTERACT_ITEM_ATTACK_HAND_PICKUP | attempt pickup on attack_hand for items |
INTERACT_MACHINE_OPEN | can_interact() while open |
INTERACT_MACHINE_OFFLINE | can_interact() while offline |
INTERACT_MACHINE_WIRES_IF_OPEN | try to interact with wires if open |
INTERACT_MACHINE_ALLOW_SILICON | let silicons interact |
INTERACT_MACHINE_OPEN_SILICON | let silicons interact while open |
INTERACT_MACHINE_REQUIRES_SILICON | must be silicon to interact |
INTERACT_MACHINE_REQUIRES_SIGHT | the user must have vision to interact (blind people need not apply) |
INTERACT_MACHINE_REQUIRES_LITERACY | the user must be able to read to interact |
INTERACT_MACHINE_REQUIRES_STANDING | user must be standing up in order 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_ATTACK_PAW
calls try_interact() on attack_paw() 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_MOUSEDROP_IGNORE_CHECKS
Bypass all adjacency and other checks for mouse drop
INTERACT_ATOM_MOUSEDROP_IGNORE_USABILITY
Bypass all can_perform_action checks for mouse drop
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_REQUIRES_STANDING
user must be standing up in order to interact
INTERACT_MACHINE_WIRES_IF_OPEN
try to interact with wires if open