/tg/ Station 13 - Modules - TypesDefine Details

code/__DEFINES/dcs/signals.dm

COMSIG_GLOB_NEW_Zfrom base of datum/controller/subsystem/mapping/proc/add_new_zlevel(): (list/args)
COMSIG_GLOB_VAR_EDITcalled after a successful var edit somewhere in the world: (list/args)
COMSIG_GLOB_EXPLOSIONcalled after an explosion happened : (epicenter, devastation_range, heavy_impact_range, light_impact_range, took, orig_dev_range, orig_heavy_range, orig_light_range)
COMSIG_GLOB_MOB_CREATEDmob was created somewhere : (mob)
COMSIG_GLOB_MOB_DEATHmob died somewhere : (mob , gibbed)
COMSIG_GLOB_LIVING_SAY_SPECIALglobal living say plug - use sparingly: (mob/speaker , message)
COMSIG_GLOB_PLAY_CINEMATICcalled by datum/cinematic/play() : (datum/cinematic/new_cinematic)
COMSIG_GLOB_BUTTON_PRESSEDingame button pressed (/obj/machinery/button/button)
COMSIG_SUN_MOVEDfrom SSsun when the sun changes position : (azimuth)
COMSIG_COMPONENT_ADDEDwhen a component is added to a datum: (/datum/component)
COMSIG_COMPONENT_REMOVINGbefore a component is removed from a datum because of RemoveComponent: (/datum/component)
COMSIG_PARENT_PREQDELETEDbefore a datum's Destroy() is called: (force), returning a nonzero value will cancel the qdel operation
COMSIG_PARENT_QDELETINGjust before a datum's Destroy() is called: (force), at this point none of the other components chose to interrupt qdel and Destroy will be called
COMSIG_TOPICgeneric topic handler (usr, href_list)
COMSIG_ELEMENT_ATTACHfires on the target datum when an element is attached to it (/datum/element)
COMSIG_ELEMENT_DETACHfires on the target datum when an element is attached to it (/datum/element)
COMSIG_ATOM_CREATEDfrom base of atom/proc/Initialize(): sent any time a new atom is created
COMSIG_PARENT_ATTACKBYfrom base of atom/attackby(): (/obj/item, /mob/living, params)
COMSIG_ATOM_HULK_ATTACKfrom base of atom/attack_hulk(): (/mob/living/carbon/human)
COMSIG_ATOM_ATTACK_ANIMALfrom base of atom/animal_attack(): (/mob/user)
COMSIG_PARENT_EXAMINEfrom base of atom/examine(): (/mob)
COMSIG_ATOM_GET_EXAMINE_NAMEfrom base of atom/get_examine_name(): (/mob, list/overrides)
COMSIG_ATOM_UPDATE_ICONfrom base of atom/update_icon(): ()
COMSIG_ATOM_UPDATE_OVERLAYSfrom base of atom/update_overlays(): (list/new_overlays)
COMSIG_ATOM_UPDATED_ICONfrom base of atom/update_icon(): (signalOut, did_anything)
COMSIG_ATOM_ENTEREDfrom base of atom/Entered(): (atom/movable/entering, /atom)
COMSIG_ATOM_EXITfrom base of atom/Exit(): (/atom/movable/exiting, /atom/newloc)
COMSIG_ATOM_EXITEDfrom base of atom/Exited(): (atom/movable/exiting, atom/newloc)
COMSIG_ATOM_BUMPEDfrom base of atom/Bumped(): (/atom/movable)
COMSIG_ATOM_EX_ACTfrom base of atom/ex_act(): (severity, target)
COMSIG_ATOM_EMP_ACTfrom base of atom/emp_act(): (severity)
COMSIG_ATOM_FIRE_ACTfrom base of atom/fire_act(): (exposed_temperature, exposed_volume)
COMSIG_ATOM_BULLET_ACTfrom base of atom/bullet_act(): (/obj/projectile, def_zone)
COMSIG_ATOM_BLOB_ACTfrom base of atom/blob_act(): (/obj/structure/blob)
COMSIG_ATOM_ACID_ACTfrom base of atom/acid_act(): (acidpwr, acid_volume)
COMSIG_ATOM_EMAG_ACTfrom base of atom/emag_act(): (/mob/user)
COMSIG_ATOM_RAD_ACTfrom base of atom/rad_act(intensity)
COMSIG_ATOM_NARSIE_ACTfrom base of atom/narsie_act(): ()
COMSIG_ATOM_RCD_ACTfrom base of atom/rcd_act(): (/mob, /obj/item/construction/rcd, passed_mode)
COMSIG_ATOM_SING_PULLfrom base of atom/singularity_pull(): (S, current_size)
COMSIG_ATOM_BSA_BEAMfrom obj/machinery/bsa/full/proc/fire(): ()
COMSIG_ATOM_SET_LIGHTfrom base of atom/set_light(): (l_range, l_power, l_color)
COMSIG_ATOM_DIR_CHANGEfrom base of atom/setDir(): (old_dir, new_dir)
COMSIG_ATOM_CONTENTS_DELfrom base of atom/handle_atom_del(): (atom/deleted)
COMSIG_ATOM_HAS_GRAVITYfrom base of atom/has_gravity(): (turf/location, list/forced_gravities)
COMSIG_ATOM_RAD_PROBEfrom proc/get_rad_contents(): ()
COMSIG_ATOM_RAD_CONTAMINATINGfrom base of datum/radiation_wave/radiate(): (strength)
COMSIG_ATOM_RAD_WAVE_PASSINGfrom base of datum/radiation_wave/check_obstructions(): (datum/radiation_wave, width)
COMSIG_ATOM_CANREACHfrom internal loop in atom/movable/proc/CanReach(): (list/next)
COMSIG_ATOM_SCREWDRIVER_ACTfrom base of atom/screwdriver_act(): (mob/living/user, obj/item/I)
COMSIG_ATOM_WRENCH_ACTfrom base of atom/wrench_act(): (mob/living/user, obj/item/I)
COMSIG_ATOM_MULTITOOL_ACTfrom base of atom/multitool_act(): (mob/living/user, obj/item/I)
COMSIG_ATOM_WELDER_ACTfrom base of atom/welder_act(): (mob/living/user, obj/item/I)
COMSIG_ATOM_WIRECUTTER_ACTfrom base of atom/wirecutter_act(): (mob/living/user, obj/item/I)
COMSIG_ATOM_CROWBAR_ACTfrom base of atom/crowbar_act(): (mob/living/user, obj/item/I)
COMSIG_ATOM_ANALYSER_ACTfrom base of atom/analyser_act(): (mob/living/user, obj/item/I)
COMSIG_ATOM_INTERCEPT_TELEPORTcalled when teleporting into a protected turf: (channel, turf/origin)
COMSIG_ATOM_HEARER_IN_VIEWcalled when an atom is added to the hearers on get_hearers_in_view(): (list/processing_list, list/hearers)
COMSIG_ATOM_ORBIT_BEGINcalled when an atom starts orbiting another atom: (atom)
COMSIG_ATOM_ORBIT_STOPcalled when an atom stops orbiting another atom: (atom)
COMSIG_ATOM_ATTACK_GHOSTfrom base of atom/attack_ghost(): (mob/dead/observer/ghost)
COMSIG_ATOM_ATTACK_HANDfrom base of atom/attack_hand(): (mob/user)
COMSIG_ATOM_ATTACK_PAWfrom base of atom/attack_paw(): (mob/user)
COMSIG_ATOM_INTERCEPT_Z_FALLcalled for each movable in a turf contents on /turf/zImpact(): (atom/movable/A, levels)
COMSIG_ATOM_START_PULLcalled on a movable (NOT living) when someone starts pulling it (atom/movable/puller, state, force)
COMSIG_LIVING_START_PULLcalled on /living when someone starts pulling it (atom/movable/puller, state, force)
COMSIG_TURF_HAS_GRAVITYfrom base of atom/has_gravity(): (atom/asker, list/forced_gravities)
COMSIG_MOVABLE_PRE_MOVEfrom base of atom/movable/Moved(): (/atom)
COMSIG_MOVABLE_MOVEDfrom base of atom/movable/Moved(): (/atom, dir)
COMSIG_MOVABLE_CROSSfrom base of atom/movable/Cross(): (/atom/movable)
COMSIG_MOVABLE_CROSSEDfrom base of atom/movable/Crossed(): (/atom/movable)
COMSIG_MOVABLE_UNCROSSfrom base of atom/movable/Uncross(): (/atom/movable)
COMSIG_MOVABLE_UNCROSSEDfrom base of atom/movable/Uncrossed(): (/atom/movable)
COMSIG_MOVABLE_BUMPfrom base of atom/movable/Bump(): (/atom)
COMSIG_MOVABLE_IMPACTfrom base of atom/movable/throw_impact(): (/atom/hit_atom, /datum/thrownthing/throwingdatum)
COMPONENT_MOVABLE_IMPACT_FLIP_HITPUSHif true, flip if the impact will push what it hits
COMPONENT_MOVABLE_IMPACT_NEVERMINDreturn true if you destroyed whatever it was you're impacting and there won't be anything for hitby() to run on
COMSIG_MOVABLE_IMPACT_ZONEfrom base of mob/living/hitby(): (mob/living/target, hit_zone)
COMSIG_MOVABLE_BUCKLEfrom base of atom/movable/buckle_mob(): (mob, force)
COMSIG_MOVABLE_UNBUCKLEfrom base of atom/movable/unbuckle_mob(): (mob, force)
COMSIG_MOVABLE_PRE_THROWfrom base of atom/movable/throw_at(): (list/args)
COMSIG_MOVABLE_POST_THROWfrom base of atom/movable/throw_at(): (datum/thrownthing, spin)
COMSIG_MOVABLE_Z_CHANGEDfrom base of atom/movable/onTransitZ(): (old_z, new_z)
COMSIG_MOVABLE_SECLUDED_LOCATIONcalled when the movable is placed in an unaccessible area, used for stationloving: ()
COMSIG_MOVABLE_HEARfrom base of atom/movable/Hear(): (proc args list(message, atom/movable/speaker, message_language, raw_message, radio_freq, list/spans, message_mode))
COMSIG_TOOL_IN_USEfrom base of /obj/item/proc/tool_check_callback: (mob/living/user)
COMSIG_TOOL_START_USEfrom base of /obj/item/proc/tool_start_check: (mob/living/user)
COMSIG_TURF_IS_WETComponent Specific Signals

Define Details

COMPONENT_MOVABLE_IMPACT_FLIP_HITPUSH

if true, flip if the impact will push what it hits

COMPONENT_MOVABLE_IMPACT_NEVERMIND

return true if you destroyed whatever it was you're impacting and there won't be anything for hitby() to run on

COMSIG_ATOM_ACID_ACT

from base of atom/acid_act(): (acidpwr, acid_volume)

COMSIG_ATOM_ANALYSER_ACT

from base of atom/analyser_act(): (mob/living/user, obj/item/I)

COMSIG_ATOM_ATTACK_ANIMAL

from base of atom/animal_attack(): (/mob/user)

COMSIG_ATOM_ATTACK_GHOST

from base of atom/attack_ghost(): (mob/dead/observer/ghost)

COMSIG_ATOM_ATTACK_HAND

from base of atom/attack_hand(): (mob/user)

COMSIG_ATOM_ATTACK_PAW

from base of atom/attack_paw(): (mob/user)

COMSIG_ATOM_BLOB_ACT

from base of atom/blob_act(): (/obj/structure/blob)

COMSIG_ATOM_BSA_BEAM

from obj/machinery/bsa/full/proc/fire(): ()

COMSIG_ATOM_BULLET_ACT

from base of atom/bullet_act(): (/obj/projectile, def_zone)

COMSIG_ATOM_BUMPED

from base of atom/Bumped(): (/atom/movable)

COMSIG_ATOM_CANREACH

from internal loop in atom/movable/proc/CanReach(): (list/next)

COMSIG_ATOM_CONTENTS_DEL

from base of atom/handle_atom_del(): (atom/deleted)

COMSIG_ATOM_CREATED

from base of atom/proc/Initialize(): sent any time a new atom is created

COMSIG_ATOM_CROWBAR_ACT

from base of atom/crowbar_act(): (mob/living/user, obj/item/I)

COMSIG_ATOM_DIR_CHANGE

from base of atom/setDir(): (old_dir, new_dir)

COMSIG_ATOM_EMAG_ACT

from base of atom/emag_act(): (/mob/user)

COMSIG_ATOM_EMP_ACT

from base of atom/emp_act(): (severity)

COMSIG_ATOM_ENTERED

from base of atom/Entered(): (atom/movable/entering, /atom)

COMSIG_ATOM_EXIT

from base of atom/Exit(): (/atom/movable/exiting, /atom/newloc)

COMSIG_ATOM_EXITED

from base of atom/Exited(): (atom/movable/exiting, atom/newloc)

COMSIG_ATOM_EX_ACT

from base of atom/ex_act(): (severity, target)

COMSIG_ATOM_FIRE_ACT

from base of atom/fire_act(): (exposed_temperature, exposed_volume)

COMSIG_ATOM_GET_EXAMINE_NAME

from base of atom/get_examine_name(): (/mob, list/overrides)

COMSIG_ATOM_HAS_GRAVITY

from base of atom/has_gravity(): (turf/location, list/forced_gravities)

COMSIG_ATOM_HEARER_IN_VIEW

called when an atom is added to the hearers on get_hearers_in_view(): (list/processing_list, list/hearers)

COMSIG_ATOM_HULK_ATTACK

from base of atom/attack_hulk(): (/mob/living/carbon/human)

COMSIG_ATOM_INTERCEPT_TELEPORT

called when teleporting into a protected turf: (channel, turf/origin)

COMSIG_ATOM_INTERCEPT_Z_FALL

called for each movable in a turf contents on /turf/zImpact(): (atom/movable/A, levels)

COMSIG_ATOM_MULTITOOL_ACT

from base of atom/multitool_act(): (mob/living/user, obj/item/I)

COMSIG_ATOM_NARSIE_ACT

from base of atom/narsie_act(): ()

COMSIG_ATOM_ORBIT_BEGIN

called when an atom starts orbiting another atom: (atom)

COMSIG_ATOM_ORBIT_STOP

called when an atom stops orbiting another atom: (atom)

COMSIG_ATOM_RAD_ACT

from base of atom/rad_act(intensity)

COMSIG_ATOM_RAD_CONTAMINATING

from base of datum/radiation_wave/radiate(): (strength)

COMSIG_ATOM_RAD_PROBE

from proc/get_rad_contents(): ()

COMSIG_ATOM_RAD_WAVE_PASSING

from base of datum/radiation_wave/check_obstructions(): (datum/radiation_wave, width)

COMSIG_ATOM_RCD_ACT

from base of atom/rcd_act(): (/mob, /obj/item/construction/rcd, passed_mode)

COMSIG_ATOM_SCREWDRIVER_ACT

from base of atom/screwdriver_act(): (mob/living/user, obj/item/I)

COMSIG_ATOM_SET_LIGHT

from base of atom/set_light(): (l_range, l_power, l_color)

COMSIG_ATOM_SING_PULL

from base of atom/singularity_pull(): (S, current_size)

COMSIG_ATOM_START_PULL

called on a movable (NOT living) when someone starts pulling it (atom/movable/puller, state, force)

COMSIG_ATOM_UPDATED_ICON

from base of atom/update_icon(): (signalOut, did_anything)

COMSIG_ATOM_UPDATE_ICON

from base of atom/update_icon(): ()

COMSIG_ATOM_UPDATE_OVERLAYS

from base of atom/update_overlays(): (list/new_overlays)

COMSIG_ATOM_WELDER_ACT

from base of atom/welder_act(): (mob/living/user, obj/item/I)

COMSIG_ATOM_WIRECUTTER_ACT

from base of atom/wirecutter_act(): (mob/living/user, obj/item/I)

COMSIG_ATOM_WRENCH_ACT

from base of atom/wrench_act(): (mob/living/user, obj/item/I)

COMSIG_COMPONENT_ADDED

when a component is added to a datum: (/datum/component)

COMSIG_COMPONENT_REMOVING

before a component is removed from a datum because of RemoveComponent: (/datum/component)

COMSIG_ELEMENT_ATTACH

fires on the target datum when an element is attached to it (/datum/element)

COMSIG_ELEMENT_DETACH

fires on the target datum when an element is attached to it (/datum/element)

COMSIG_GLOB_BUTTON_PRESSED

ingame button pressed (/obj/machinery/button/button)

COMSIG_GLOB_EXPLOSION

called after an explosion happened : (epicenter, devastation_range, heavy_impact_range, light_impact_range, took, orig_dev_range, orig_heavy_range, orig_light_range)

COMSIG_GLOB_LIVING_SAY_SPECIAL

global living say plug - use sparingly: (mob/speaker , message)

COMSIG_GLOB_MOB_CREATED

mob was created somewhere : (mob)

COMSIG_GLOB_MOB_DEATH

mob died somewhere : (mob , gibbed)

COMSIG_GLOB_NEW_Z

from base of datum/controller/subsystem/mapping/proc/add_new_zlevel(): (list/args)

COMSIG_GLOB_PLAY_CINEMATIC

called by datum/cinematic/play() : (datum/cinematic/new_cinematic)

COMSIG_GLOB_VAR_EDIT

called after a successful var edit somewhere in the world: (list/args)

COMSIG_LIVING_START_PULL

called on /living when someone starts pulling it (atom/movable/puller, state, force)

COMSIG_MOVABLE_BUCKLE

from base of atom/movable/buckle_mob(): (mob, force)

COMSIG_MOVABLE_BUMP

from base of atom/movable/Bump(): (/atom)

COMSIG_MOVABLE_CROSS

from base of atom/movable/Cross(): (/atom/movable)

COMSIG_MOVABLE_CROSSED

from base of atom/movable/Crossed(): (/atom/movable)

COMSIG_MOVABLE_HEAR

from base of atom/movable/Hear(): (proc args list(message, atom/movable/speaker, message_language, raw_message, radio_freq, list/spans, message_mode))

COMSIG_MOVABLE_IMPACT

from base of atom/movable/throw_impact(): (/atom/hit_atom, /datum/thrownthing/throwingdatum)

COMSIG_MOVABLE_IMPACT_ZONE

from base of mob/living/hitby(): (mob/living/target, hit_zone)

COMSIG_MOVABLE_MOVED

from base of atom/movable/Moved(): (/atom, dir)

COMSIG_MOVABLE_POST_THROW

from base of atom/movable/throw_at(): (datum/thrownthing, spin)

COMSIG_MOVABLE_PRE_MOVE

from base of atom/movable/Moved(): (/atom)

COMSIG_MOVABLE_PRE_THROW

from base of atom/movable/throw_at(): (list/args)

COMSIG_MOVABLE_SECLUDED_LOCATION

called when the movable is placed in an unaccessible area, used for stationloving: ()

COMSIG_MOVABLE_UNBUCKLE

from base of atom/movable/unbuckle_mob(): (mob, force)

COMSIG_MOVABLE_UNCROSS

from base of atom/movable/Uncross(): (/atom/movable)

COMSIG_MOVABLE_UNCROSSED

from base of atom/movable/Uncrossed(): (/atom/movable)

COMSIG_MOVABLE_Z_CHANGED

from base of atom/movable/onTransitZ(): (old_z, new_z)

COMSIG_PARENT_ATTACKBY

from base of atom/attackby(): (/obj/item, /mob/living, params)

COMSIG_PARENT_EXAMINE

from base of atom/examine(): (/mob)

COMSIG_PARENT_PREQDELETED

before a datum's Destroy() is called: (force), returning a nonzero value will cancel the qdel operation

COMSIG_PARENT_QDELETING

just before a datum's Destroy() is called: (force), at this point none of the other components chose to interrupt qdel and Destroy will be called

COMSIG_SUN_MOVED

from SSsun when the sun changes position : (azimuth)

COMSIG_TOOL_IN_USE

from base of /obj/item/proc/tool_check_callback: (mob/living/user)

COMSIG_TOOL_START_USE

from base of /obj/item/proc/tool_start_check: (mob/living/user)

COMSIG_TOPIC

generic topic handler (usr, href_list)

COMSIG_TURF_HAS_GRAVITY

from base of atom/has_gravity(): (atom/asker, list/forced_gravities)

COMSIG_TURF_IS_WET

Component Specific Signals