SS1984 - Modules - TypesDefine Details

code/__DEFINES/dcs/signals/signals_object.dm

COMSIG_ITEM_UI_ACTION_CLICKSent from obj/item/ui_action_click(): (mob/user, datum/action, leftclick)
COMPONENT_ACTION_HANDLEDReturn to prevent the default behavior (attack_selfing) from ocurring.
COMSIG_ITEM_UI_ACTION_SLOT_CHECKEDSent from obj/item/item_action_slot_check(): (slot, mob/user, datum/action)
COMPONENT_ITEM_ACTION_SLOT_INVALIDReturn to prevent the default behavior (attack_selfing) from ocurring.
COMSIG_OBJ_INTEGRITY_CHANGEDfrom base of /obj/proc/update_integrity: (old_value, new_value)
COMSIG_FIRE_CASINGsent to targets during the process_hit proc of projectiles
COMSIG_GRENADE_DETONATEcalled in /obj/item/grenade/proc/prime(): (user)
COMSIG_SUPPLYPOD_LANDEDfrom [/obj/structure/closet/supplypod/proc/preOpen]:
COMSIG_SURGERY_STEP_INITfrom /datum/surgery_step/proc/initiate() : (&time)
COMSIG_ITEM_GET_WORN_OVERLAYSCalled by /obj/item/proc/worn_overlays(list/overlays, mutable_appearance/standing, isinhands, icon_file)
COMSIG_ITEM_GET_SEPARATE_WORN_OVERLAYSCalled by /obj/item/proc/separate_worn_overlays(list/overlays, mutable_appearance/standing, mutable_appearance/draw_target, isinhands, icon_file)
COMSIG_VALVE_SET_OPENfrom /obj/machinery/atmospherics/components/binary/valve/toggle(): (on)
COMSIG_ATMOS_MACHINE_SET_ONfrom /obj/machinery/atmospherics/set_on(active): (on)
COMSIG_LIGHT_SWITCH_SETfrom /obj/machinery/light_switch/set_lights(), sent to every switch in the area: (status)
COMSIG_GUN_CHAMBER_PROCESSEDcalled in /obj/item/gun/process_chamber (src)
COMSIG_AIRLOCK_SET_BOLTfrom /obj/machinery/door/airlock/set_bolt():
COMSIG_FIREALARM_ON_TRIGGERfrom /obj/machinery/firealarm/proc/alarm()
COMSIG_FIREALARM_ON_RESETfrom /obj/machinery/firealarm/proc/reset()
COMSIG_CAMERA_IMAGE_CAPTUREDfrom /obj/item/camera/captureimage(): (atom/target, mob/user)
COMSIG_ASSEMBLY_PULSEDfrom /obj/item/assembly/proc/pulsed(mob/pulser)
COMSIG_ASSEMBLY_ATTACHEDSent from /obj/item/assembly/on_attach(): (atom/holder)
COMSIG_ASSEMBLY_DETACHEDSent from /obj/item/assembly/on_detach(): (atom/holder)
COMSIG_ASSEMBLY_ADDED_TO_BUTTONSent from /obj/machinery/button/assembly_act(obj/machinery/button/button, mob/user)
COMSIG_ASSEMBLY_REMOVED_FROM_BUTTONSent from /obj/machinery/button/remove_assembly(obj/machinery/button/button, mob/user)
COMSIG_CABLE_ADDED_TO_POWERNETSent from /datum/powernet/add_cable()
COMSIG_CABLE_REMOVED_FROM_POWERNETSent from /datum/powernet/remove_cable()
COMSIG_UPDATE_TWOHANDED_DAMAGESent from /datum/powernet/remove_cable()

Define Details

COMPONENT_ACTION_HANDLED

Return to prevent the default behavior (attack_selfing) from ocurring.

COMPONENT_ITEM_ACTION_SLOT_INVALID

Return to prevent the default behavior (attack_selfing) from ocurring.

COMSIG_AIRLOCK_SET_BOLT

from /obj/machinery/door/airlock/set_bolt():

COMSIG_ASSEMBLY_ADDED_TO_BUTTON

Sent from /obj/machinery/button/assembly_act(obj/machinery/button/button, mob/user)

COMSIG_ASSEMBLY_ATTACHED

Sent from /obj/item/assembly/on_attach(): (atom/holder)

COMSIG_ASSEMBLY_DETACHED

Sent from /obj/item/assembly/on_detach(): (atom/holder)

COMSIG_ASSEMBLY_PULSED

from /obj/item/assembly/proc/pulsed(mob/pulser)

COMSIG_ASSEMBLY_REMOVED_FROM_BUTTON

Sent from /obj/machinery/button/remove_assembly(obj/machinery/button/button, mob/user)

COMSIG_ATMOS_MACHINE_SET_ON

from /obj/machinery/atmospherics/set_on(active): (on)

COMSIG_CABLE_ADDED_TO_POWERNET

Sent from /datum/powernet/add_cable()

COMSIG_CABLE_REMOVED_FROM_POWERNET

Sent from /datum/powernet/remove_cable()

COMSIG_CAMERA_IMAGE_CAPTURED

from /obj/item/camera/captureimage(): (atom/target, mob/user)

COMSIG_FIREALARM_ON_RESET

from /obj/machinery/firealarm/proc/reset()

COMSIG_FIREALARM_ON_TRIGGER

from /obj/machinery/firealarm/proc/alarm()

COMSIG_FIRE_CASING

sent to targets during the process_hit proc of projectiles

COMSIG_GRENADE_DETONATE

called in /obj/item/grenade/proc/prime(): (user)

COMSIG_GUN_CHAMBER_PROCESSED

called in /obj/item/gun/process_chamber (src)

COMSIG_ITEM_GET_SEPARATE_WORN_OVERLAYS

Called by /obj/item/proc/separate_worn_overlays(list/overlays, mutable_appearance/standing, mutable_appearance/draw_target, isinhands, icon_file)

COMSIG_ITEM_GET_WORN_OVERLAYS

Called by /obj/item/proc/worn_overlays(list/overlays, mutable_appearance/standing, isinhands, icon_file)

COMSIG_ITEM_UI_ACTION_CLICK

Sent from obj/item/ui_action_click(): (mob/user, datum/action, leftclick)

COMSIG_ITEM_UI_ACTION_SLOT_CHECKED

Sent from obj/item/item_action_slot_check(): (slot, mob/user, datum/action)

COMSIG_LIGHT_SWITCH_SET

from /obj/machinery/light_switch/set_lights(), sent to every switch in the area: (status)

COMSIG_OBJ_INTEGRITY_CHANGED

from base of /obj/proc/update_integrity: (old_value, new_value)

COMSIG_SUPPLYPOD_LANDED

from [/obj/structure/closet/supplypod/proc/preOpen]:

COMSIG_SURGERY_STEP_INIT

from /datum/surgery_step/proc/initiate() : (&time)

COMSIG_UPDATE_TWOHANDED_DAMAGE

Sent from /datum/powernet/remove_cable()

COMSIG_VALVE_SET_OPEN

from /obj/machinery/atmospherics/components/binary/valve/toggle(): (on)