Yogstation 13 - Modules - TypesDefine Details

code/__DEFINES/dcs/signals/signals_global.dm

COMSIG_AREA_CREATEDcalled after a successful area creation by a mob: (area/created_area, area/old_area, mob/creator)
COMSIG_GLOB_NEW_Zfrom base of datum/controller/subsystem/mapping/proc/add_new_zlevel(): (list/args)
COMSIG_GLOB_EXPANDED_WORLD_BOUNDSsent after world.maxx and/or world.maxy are expanded: (has_exapnded_world_maxx, has_expanded_world_maxy)
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_CREATEDCalled from base of /mob/Initialise : (mob)
COMSIG_GLOB_MOB_DEATHmob died somewhere : (mob/living, 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_GLOB_JOB_AFTER_SPAWNjob subsystem has spawned and equipped a new mob
COMSIG_GLOB_JOB_AFTER_LATEJOIN_SPAWNjob datum has been called to deal with the aftermath of a latejoin spawn
COMSIG_GLOB_CREWMEMBER_JOINEDcrewmember joined the game (mob/living, rank)
COMSIG_GLOB_PRE_RANDOM_EVENTRandom event is trying to roll. (/datum/round_event_control/random_event) Called by (/datum/round_event_control/preRunEvent).
CANCEL_PRE_RANDOM_EVENTDo not allow this random event to continue.
COMSIG_GLOB_RANDOM_EVENTCalled by (/datum/round_event_control/RunEvent).
CANCEL_RANDOM_EVENTDo not allow this random event to continue.
COMSIG_GLOB_CARBON_THROW_THINGa person somewhere has thrown something : (mob/living/carbon/carbon_thrower, target)
COMSIG_GLOB_TRAPDOOR_LINKa trapdoor remote has sent out a signal to link with a trapdoor
LINKED_UPsuccessfully linked to a trapdoor!
COMSIG_GLOB_NEW_ITEMan obj/item is created! (obj/item/created_item)
COMSIG_GLOB_ATOM_AFTER_POST_INITcalled post /obj/item initialize (obj/item/created_item)
COMSIG_GLOB_NEW_MACHINEan obj/machinery is created! (obj/machinery/created_machine)
COMSIG_GLOB_CLIENT_CONNECTa client (re)connected, after all /client/New() checks have passed : (client/connected_client)
COMSIG_WEATHER_TELEGRAPHa weather event of some kind occured
COMSIG_GLOB_ALARM_FIREAn alarm of some form was sent (datum/alarm_handler/source, alarm_type, area/source_area)
COMSIG_GLOB_ALARM_CLEARAn alarm of some form was cleared (datum/alarm_handler/source, alarm_type, area/source_area)
COMSIG_GLOB_MOB_LOGGED_INglobal mob logged in signal! (/mob/added_player)
COMSIG_GLOB_NUKE_DEVICE_ARMEDglobal signal sent when a nuclear device is armed (/obj/machinery/nuclearbomb/nuke/exploding_nuke)
COMSIG_GLOB_NUKE_DEVICE_DISARMEDglobal signal sent when a nuclear device is disarmed (/obj/machinery/nuclearbomb/nuke/disarmed_nuke)
COMSIG_GLOB_LIGHT_MECHANISM_COMPLETEDGlobal signal sent when a light mechanism is completed (try_id)
COMSIG_GLOB_REVOLUTION_VICTORYGlobal Signal sent when the crew wins the revolution (No arguments).
COMSIG_NARSIE_SUMMON_UPDATEGlobal signal sent when narsie summon count is updated: (new count)
COMSIG_STARLIGHT_COLOR_CHANGEDGlobal signal when starlight color is changed (old_star, new_star)
COMSIG_DARKSPAWN_ASCENSIONGlobal signal sent when darkspawns ascend: (No arguments)

Define Details

CANCEL_PRE_RANDOM_EVENT

Do not allow this random event to continue.

CANCEL_RANDOM_EVENT

Do not allow this random event to continue.

COMSIG_AREA_CREATED

called after a successful area creation by a mob: (area/created_area, area/old_area, mob/creator)

COMSIG_DARKSPAWN_ASCENSION

Global signal sent when darkspawns ascend: (No arguments)

COMSIG_GLOB_ALARM_CLEAR

An alarm of some form was cleared (datum/alarm_handler/source, alarm_type, area/source_area)

COMSIG_GLOB_ALARM_FIRE

An alarm of some form was sent (datum/alarm_handler/source, alarm_type, area/source_area)

COMSIG_GLOB_ATOM_AFTER_POST_INIT

called post /obj/item initialize (obj/item/created_item)

COMSIG_GLOB_BUTTON_PRESSED

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

COMSIG_GLOB_CARBON_THROW_THING

a person somewhere has thrown something : (mob/living/carbon/carbon_thrower, target)

COMSIG_GLOB_CLIENT_CONNECT

a client (re)connected, after all /client/New() checks have passed : (client/connected_client)

COMSIG_GLOB_CREWMEMBER_JOINED

crewmember joined the game (mob/living, rank)

COMSIG_GLOB_EXPANDED_WORLD_BOUNDS

sent after world.maxx and/or world.maxy are expanded: (has_exapnded_world_maxx, has_expanded_world_maxy)

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_JOB_AFTER_LATEJOIN_SPAWN

job datum has been called to deal with the aftermath of a latejoin spawn

COMSIG_GLOB_JOB_AFTER_SPAWN

job subsystem has spawned and equipped a new mob

COMSIG_GLOB_LIGHT_MECHANISM_COMPLETED

Global signal sent when a light mechanism is completed (try_id)

COMSIG_GLOB_LIVING_SAY_SPECIAL

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

COMSIG_GLOB_MOB_CREATED

Called from base of /mob/Initialise : (mob)

COMSIG_GLOB_MOB_DEATH

mob died somewhere : (mob/living, gibbed)

COMSIG_GLOB_MOB_LOGGED_IN

global mob logged in signal! (/mob/added_player)

COMSIG_GLOB_NEW_ITEM

an obj/item is created! (obj/item/created_item)

COMSIG_GLOB_NEW_MACHINE

an obj/machinery is created! (obj/machinery/created_machine)

COMSIG_GLOB_NEW_Z

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

COMSIG_GLOB_NUKE_DEVICE_ARMED

global signal sent when a nuclear device is armed (/obj/machinery/nuclearbomb/nuke/exploding_nuke)

COMSIG_GLOB_NUKE_DEVICE_DISARMED

global signal sent when a nuclear device is disarmed (/obj/machinery/nuclearbomb/nuke/disarmed_nuke)

COMSIG_GLOB_PLAY_CINEMATIC

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

COMSIG_GLOB_PRE_RANDOM_EVENT

Random event is trying to roll. (/datum/round_event_control/random_event) Called by (/datum/round_event_control/preRunEvent).

COMSIG_GLOB_RANDOM_EVENT

Called by (/datum/round_event_control/RunEvent).

COMSIG_GLOB_REVOLUTION_VICTORY

Global Signal sent when the crew wins the revolution (No arguments).

a trapdoor remote has sent out a signal to link with a trapdoor

COMSIG_GLOB_VAR_EDIT

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

COMSIG_NARSIE_SUMMON_UPDATE

Global signal sent when narsie summon count is updated: (new count)

COMSIG_STARLIGHT_COLOR_CHANGED

Global signal when starlight color is changed (old_star, new_star)

COMSIG_WEATHER_TELEGRAPH

a weather event of some kind occured

LINKED_UP

successfully linked to a trapdoor!