/tg/ Station 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, list/area/old_areas, 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/run_event).
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 occurred
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_NUKE_DEVICE_DETONATINGglobal signal sent when a nuclear device is detonating (/obj/machinery/nuclearbomb/nuke/exploding_nuke)
COMSIG_GLOB_PUZZLE_COMPLETEDGlobal signal sent when a puzzle piece is completed (light mechanism, etc.) (try_id)
COMSIG_GLOB_STATION_NAME_CHANGEDGlobal signal called after the station changes its name. (new_name, old_name)
COMSIG_GLOB_PRE_JOBS_ASSIGNEDGlobal signal sent before we decide what job everyone has
COMSIG_GLOB_NULLROD_PICKEDglobal signal when a global nullrod type is picked
COMSIG_LIGHT_DEBUG_DISABLEDGlobal signal when light debugging is canceled
COMSIG_STARLIGHT_COLOR_CHANGEDGlobal signal when starlight color is changed (old_star, new_star)
COMSIG_RELIGIOUS_SECT_CHANGEDGlobal signal sent when a religious sect is chosen
COMSIG_RELIGIOUS_SECT_RESETGlobal signal sent when a religious sect is reset
COMSIG_NARSIE_SUMMON_UPDATEGlobal signal sent when narsie summon count is updated: (new count)
COMSIG_RULESET_BODY_GENERATED_FROM_GHOSTSGlobal signal sent when a mob is spawned from a ghost in a dynamic ruleset (mob/spawned_mob)

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, list/area/old_areas, mob/creator)

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

global signal sent when a nuclear device is detonating (/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_NULLROD_PICKED

global signal when a global nullrod type is picked

COMSIG_GLOB_PLAY_CINEMATIC

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

COMSIG_GLOB_PRE_JOBS_ASSIGNED

Global signal sent before we decide what job everyone has

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_PUZZLE_COMPLETED

Global signal sent when a puzzle piece is completed (light mechanism, etc.) (try_id)

COMSIG_GLOB_RANDOM_EVENT

Called by (/datum/round_event_control/run_event).

COMSIG_GLOB_STATION_NAME_CHANGED

Global signal called after the station changes its name. (new_name, old_name)

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_LIGHT_DEBUG_DISABLED

Global signal when light debugging is canceled

COMSIG_NARSIE_SUMMON_UPDATE

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

COMSIG_RELIGIOUS_SECT_CHANGED

Global signal sent when a religious sect is chosen

COMSIG_RELIGIOUS_SECT_RESET

Global signal sent when a religious sect is reset

COMSIG_RULESET_BODY_GENERATED_FROM_GHOSTS

Global signal sent when a mob is spawned from a ghost in a dynamic ruleset (mob/spawned_mob)

COMSIG_STARLIGHT_COLOR_CHANGED

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

COMSIG_WEATHER_TELEGRAPH

a weather event of some kind occurred

LINKED_UP

successfully linked to a trapdoor!