White Sands - 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_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_SET_MACHINEMACHINES HAVE THIS BY DEFAULT, SOMEONE SHOULD RUN THROUGH MACHINES AND REMOVE IT FROM THINGS LIKE LIGHT SWITCHES WHEN POSSIBLE!!-------------------------- This flag determines if a machine set_machine's the user when the user uses it, making updateUsrDialog make the user re-call interact() on it. THIS FLAG IS ON ALL MACHINES BY DEFAULT, NEEDS TO BE RE-EVALUATED LATER!!

Define Details

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_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_SILICON

must be silicon to interact

INTERACT_MACHINE_SET_MACHINE

MACHINES HAVE THIS BY DEFAULT, SOMEONE SHOULD RUN THROUGH MACHINES AND REMOVE IT FROM THINGS LIKE LIGHT SWITCHES WHEN POSSIBLE!!-------------------------- This flag determines if a machine set_machine's the user when the user uses it, making updateUsrDialog make the user re-call interact() on it. THIS FLAG IS ON ALL MACHINES BY DEFAULT, NEEDS TO BE RE-EVALUATED LATER!!

INTERACT_MACHINE_WIRES_IF_OPEN

try to interact with wires if open