Daedalus Dock - Modules - TypesDefine Details

code/__DEFINES/dcs/signals/signals_tools.dm

COMSIG_TOOL_ATOM_ACTED_PRIMARYCalled from /atom/proc/tool_act (atom)
COMSIG_TOOL_ATOM_ACTED_SECONDARYCalled from /atom/proc/tool_act (atom)
COMSIG_ATOM_TOOL_ACTSent from atom/proc/item_interaction, when this atom is left-clicked on by a mob with a tool of a specific tool type Args: (mob/living/user, obj/item/tool, list/recipes) Return any ITEM_INTERACT_ flags as relevant (see tools.dm)
COMSIG_ATOM_SECONDARY_TOOL_ACTSent from atom/proc/item_interaction, when this atom is right-clicked on by a mob with a tool of a specific tool type Args: (mob/living/user, obj/item/tool) Return any ITEM_INTERACT_ flags as relevant (see tools.dm)
COMSIG_ITEM_TOOL_ACTEDSent from atom/proc/item_interaction, when this atom is used as a tool and an event occurs

Define Details

COMSIG_ATOM_SECONDARY_TOOL_ACT

Sent from atom/proc/item_interaction, when this atom is right-clicked on by a mob with a tool of a specific tool type Args: (mob/living/user, obj/item/tool) Return any ITEM_INTERACT_ flags as relevant (see tools.dm)

COMSIG_ATOM_TOOL_ACT

Sent from atom/proc/item_interaction, when this atom is left-clicked on by a mob with a tool of a specific tool type Args: (mob/living/user, obj/item/tool, list/recipes) Return any ITEM_INTERACT_ flags as relevant (see tools.dm)

COMSIG_ITEM_TOOL_ACTED

Sent from atom/proc/item_interaction, when this atom is used as a tool and an event occurs

COMSIG_TOOL_ATOM_ACTED_PRIMARY

Called from /atom/proc/tool_act (atom)

COMSIG_TOOL_ATOM_ACTED_SECONDARY

Called from /atom/proc/tool_act (atom)