SS1984 - Modules - TypesDefine Details

code/__DEFINES/dcs/signals/signals_datum.dm

COMSIG_COMPONENT_ADDEDwhen a component is added to a datum: (/datum/component)
COMSIG_COMPONENT_REMOVINGbefore a component is removed from a datum because of ClearFromParent(): (/datum/component)
COMSIG_PREQDELETEDbefore a datum's Destroy() is called: (force), returning a nonzero value will cancel the qdel operation
COMSIG_ADMIN_DELETINGCalled whenever an admin manually deletes an object, via the "Delete" verb, before qdel() is called: (client/deleting_admin)
COMSIG_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_VV_TOPIChandler for vv_do_topic (usr, href_list)
COMSIG_EQUIP_HOODForces you to equip a hood
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_SPECIES_GAINfrom datum/species/on_species_gain(): (datum/species/new_species, datum/species/old_species)
COMSIG_SPECIES_LOSSfrom datum/species/on_species_loss(): (datum/species/lost_species)
COMSIG_ACTION_TRIGGERfrom base of datum/action/proc/Trigger(): (datum/action)
COMSIG_ACTION_GRANTEDFrom /datum/action/Grant(): (mob/grant_to)
COMSIG_MOB_GRANTED_ACTIONFrom /datum/action/Grant(): (datum/action)
COMSIG_ACTION_REMOVEDFrom /datum/action/Remove(): (mob/removed_from)
COMSIG_MOB_REMOVED_ACTIONFrom /datum/action/Remove(): (datum/action)
COMSIG_ACTION_OVERLAY_APPLYFrom /datum/action/apply_button_overlay()
COMSIG_ACTION_SET_STATPANELFrom base of /datum/action/cooldown/proc/set_statpanel_format(): (list/stat_panel_data)
COMSIG_BORER_REPRODUCEFrom /datum/action/innate/borer/make_larvae/Activate (turf/turf)
COMSIG_ARMGUARD_ACTION_TOGGLEfrom /datum/action/armguard_hidden_blade/Trigger(): ()
COMSIG_MOB_STATUS_EFFECT_ENDEDfrom base of /datum/status_effect/Destroy() : (effect_type)
COMSIG_OBJECTIVE_TARGET_FOUNDfrom datum/objective/proc/find_target()
COMSIG_OBJECTIVE_CHECK_VALID_TARGETfrom datum/objective/is_invalid_target()
SIGNAL_DIABLERIE_LEVEL_GAINFrom /datum/diablerie_level/proc/gain()
SIGNAL_DIABLERIE_LEVEL_REMOVEFrom /datum/diablerie_level/proc/remove()
COMSIG_CONTAINS_STORAGE() - returns bool.
COMSIG_TRY_STORAGE_INSERT(obj/item/inserting, mob/user, silent, force) - returns bool
COMSIG_TRY_STORAGE_SHOW(mob/show_to, force) - returns bool.
COMSIG_TRY_STORAGE_HIDE_FROM(mob/hide_from) - returns bool
COMSIG_TRY_STORAGE_HIDE_ALLreturns bool
COMSIG_TRY_STORAGE_SET_LOCKSTATE(newstate)
COMSIG_IS_STORAGE_LOCKED() - returns bool. MUST CHECK IF STORAGE IS THERE FIRST!
COMSIG_TRY_STORAGE_TAKE_TYPE(type, atom/destination, amount = INFINITY, check_adjacent, force, mob/user, list/inserted) - returns bool - type can be a list of types.
COMSIG_TRY_STORAGE_FILL_TYPE(type, amount = INFINITY, force = FALSE). Force will ignore max_items, and amount is normally clamped to max_items.
COMSIG_TRY_STORAGE_TAKE(obj, new_loc, force = FALSE) - returns bool
COMSIG_TRY_STORAGE_QUICK_EMPTY(loc) - returns bool - if loc is null it will dump at parent location.
COMSIG_TRY_STORAGE_RETURN_INVENTORY(list/list_to_inject_results_into, recursively_search_inside_storages = TRUE)
COMSIG_TRY_STORAGE_CAN_INSERT(obj/item/insertion_candidate, mob/user, silent) - returns bool
COMSIG_TWOHANDED_WIELDfrom base of datum/component/two_handed/proc/wield(mob/living/carbon/user): (/mob/user)
COMSIG_TWOHANDED_UNWIELDfrom base of datum/component/two_handed/proc/unwield(mob/living/carbon/user): (/mob/user)
COMSIG_GET_BUBBLE_ICONfrom /datum/component/bubble_icon_override/get_bubble_icon(): (list/holder)
COMSIG_SCANNING_RIFTSfrom scanner's process() : (seconds, emagged)
COMPONENT_SCANNED_NOTHINGNo rifts within the scanner's range
COMPONENT_SCANNED_NORMALThere are some rifts within the scanner's range
COMPONENT_SCANNED_CRITICALThe scanner is within critical range of a rift
COMPONENT_SCANNED_NO_SERVERSThere are no servers available
COMSIG_COMPONENT_NTNET_RECEIVEcalled on an object by its NTNET connection component on receive. (sending_id(number), sending_netname(text), data(datum/netdata))
COMSIG_ATOM_USED_IN_CRAFTfrom base of atom/CheckParts(): (atom/movable/new_craft) - The atom has just been used in a crafting recipe and has been moved inside new_craft.
COMSIG_RITUAL_ENDEDSource: /datum/component/ritual_object/proc/pre_ritual_check (status_bitflag, mob/living/carbon/human, list/invokers, list/used_things)
COMSIG_POSSESSED_MOVEMENTSource: /datum/component/object_possession/proc/on_move (mob/mob, new_loc, direct)
COMSIG_LUNGE_DUAL_STRIKESource: /datum/component/lunge_attack/Detach (obj/item/target)
COMSIG_IS_GHOST_CONTROLABLEfrom /datum/spawners_menu/ui_act(): (mob/user)
COMPONENT_GHOST_CONTROLABLEReturn this to signal that the mob can be controlled by ghosts
COMSIG_REAGENT_INJECTEDdatum/element/reagent_attack Source: /datum/element/reagent_attack/proc/inject (datum/element/reagent_attack, mob/living/carbon/target, reagent_id, reagent_amount, target_zone)
COMSIG_MOVETYPE_FLAG_ENABLEDFrom base of datum/element/movetype_handler/on_movement_type_trait_gain: (flag, old_movement_type)
COMSIG_MOVETYPE_FLAG_DISABLEDFrom base of datum/element/movetype_handler/on_movement_type_trait_loss: (flag, old_movement_type)
COMSIG_ITEM_REGISTER_AFTERATTACKfrom base of /datum/element/after_attack/Attach(): (datum/sender, proc_ref)
COMSIG_ITEM_UNREGISTER_AFTERATTACKfrom base of /datum/element/after_attack/Detach(): (proc_ref)
COMSIG_CAMERANET_CAMERA_ADDEDSent after addind a camera to the cameranet datum (/datum/cameranet/proc/addCamera(obj/machinery/camera/c))
COMSIG_CAMERANET_CAMERA_REMOVEDSent after removing a camera from the cameranet datum (/datum/cameranet/proc/removeCamera(obj/machinery/camera/c))

Define Details

COMPONENT_GHOST_CONTROLABLE

Return this to signal that the mob can be controlled by ghosts

COMPONENT_SCANNED_CRITICAL

The scanner is within critical range of a rift

COMPONENT_SCANNED_NORMAL

There are some rifts within the scanner's range

COMPONENT_SCANNED_NOTHING

No rifts within the scanner's range

COMPONENT_SCANNED_NO_SERVERS

There are no servers available

COMSIG_ACTION_GRANTED

From /datum/action/Grant(): (mob/grant_to)

COMSIG_ACTION_OVERLAY_APPLY

From /datum/action/apply_button_overlay()

COMSIG_ACTION_REMOVED

From /datum/action/Remove(): (mob/removed_from)

COMSIG_ACTION_SET_STATPANEL

From base of /datum/action/cooldown/proc/set_statpanel_format(): (list/stat_panel_data)

COMSIG_ACTION_TRIGGER

from base of datum/action/proc/Trigger(): (datum/action)

COMSIG_ADMIN_DELETING

Called whenever an admin manually deletes an object, via the "Delete" verb, before qdel() is called: (client/deleting_admin)

COMSIG_ARMGUARD_ACTION_TOGGLE

from /datum/action/armguard_hidden_blade/Trigger(): ()

COMSIG_ATOM_USED_IN_CRAFT

from base of atom/CheckParts(): (atom/movable/new_craft) - The atom has just been used in a crafting recipe and has been moved inside new_craft.

COMSIG_BORER_REPRODUCE

From /datum/action/innate/borer/make_larvae/Activate (turf/turf)

COMSIG_CAMERANET_CAMERA_ADDED

Sent after addind a camera to the cameranet datum (/datum/cameranet/proc/addCamera(obj/machinery/camera/c))

COMSIG_CAMERANET_CAMERA_REMOVED

Sent after removing a camera from the cameranet datum (/datum/cameranet/proc/removeCamera(obj/machinery/camera/c))

COMSIG_COMPONENT_ADDED

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

COMSIG_COMPONENT_NTNET_RECEIVE

called on an object by its NTNET connection component on receive. (sending_id(number), sending_netname(text), data(datum/netdata))

COMSIG_COMPONENT_REMOVING

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

COMSIG_CONTAINS_STORAGE

() - returns bool.

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_EQUIP_HOOD

Forces you to equip a hood

COMSIG_GET_BUBBLE_ICON

from /datum/component/bubble_icon_override/get_bubble_icon(): (list/holder)

COMSIG_IS_GHOST_CONTROLABLE

from /datum/spawners_menu/ui_act(): (mob/user)

COMSIG_IS_STORAGE_LOCKED

() - returns bool. MUST CHECK IF STORAGE IS THERE FIRST!

COMSIG_ITEM_REGISTER_AFTERATTACK

from base of /datum/element/after_attack/Attach(): (datum/sender, proc_ref)

COMSIG_ITEM_UNREGISTER_AFTERATTACK

from base of /datum/element/after_attack/Detach(): (proc_ref)

COMSIG_LUNGE_DUAL_STRIKE

Source: /datum/component/lunge_attack/Detach (obj/item/target)

COMSIG_MOB_GRANTED_ACTION

From /datum/action/Grant(): (datum/action)

COMSIG_MOB_REMOVED_ACTION

From /datum/action/Remove(): (datum/action)

COMSIG_MOB_STATUS_EFFECT_ENDED

from base of /datum/status_effect/Destroy() : (effect_type)

COMSIG_MOVETYPE_FLAG_DISABLED

From base of datum/element/movetype_handler/on_movement_type_trait_loss: (flag, old_movement_type)

COMSIG_MOVETYPE_FLAG_ENABLED

From base of datum/element/movetype_handler/on_movement_type_trait_gain: (flag, old_movement_type)

COMSIG_OBJECTIVE_CHECK_VALID_TARGET

from datum/objective/is_invalid_target()

COMSIG_OBJECTIVE_TARGET_FOUND

from datum/objective/proc/find_target()

COMSIG_POSSESSED_MOVEMENT

Source: /datum/component/object_possession/proc/on_move (mob/mob, new_loc, direct)

COMSIG_PREQDELETED

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

COMSIG_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_REAGENT_INJECTED

datum/element/reagent_attack Source: /datum/element/reagent_attack/proc/inject (datum/element/reagent_attack, mob/living/carbon/target, reagent_id, reagent_amount, target_zone)

COMSIG_RITUAL_ENDED

Source: /datum/component/ritual_object/proc/pre_ritual_check (status_bitflag, mob/living/carbon/human, list/invokers, list/used_things)

COMSIG_SCANNING_RIFTS

from scanner's process() : (seconds, emagged)

COMSIG_SPECIES_GAIN

from datum/species/on_species_gain(): (datum/species/new_species, datum/species/old_species)

COMSIG_SPECIES_LOSS

from datum/species/on_species_loss(): (datum/species/lost_species)

COMSIG_TOPIC

generic topic handler (usr, href_list)

COMSIG_TRY_STORAGE_CAN_INSERT

(obj/item/insertion_candidate, mob/user, silent) - returns bool

COMSIG_TRY_STORAGE_FILL_TYPE

(type, amount = INFINITY, force = FALSE). Force will ignore max_items, and amount is normally clamped to max_items.

COMSIG_TRY_STORAGE_HIDE_ALL

returns bool

COMSIG_TRY_STORAGE_HIDE_FROM

(mob/hide_from) - returns bool

COMSIG_TRY_STORAGE_INSERT

(obj/item/inserting, mob/user, silent, force) - returns bool

COMSIG_TRY_STORAGE_QUICK_EMPTY

(loc) - returns bool - if loc is null it will dump at parent location.

COMSIG_TRY_STORAGE_RETURN_INVENTORY

(list/list_to_inject_results_into, recursively_search_inside_storages = TRUE)

COMSIG_TRY_STORAGE_SET_LOCKSTATE

(newstate)

COMSIG_TRY_STORAGE_SHOW

(mob/show_to, force) - returns bool.

COMSIG_TRY_STORAGE_TAKE

(obj, new_loc, force = FALSE) - returns bool

COMSIG_TRY_STORAGE_TAKE_TYPE

(type, atom/destination, amount = INFINITY, check_adjacent, force, mob/user, list/inserted) - returns bool - type can be a list of types.

COMSIG_TWOHANDED_UNWIELD

from base of datum/component/two_handed/proc/unwield(mob/living/carbon/user): (/mob/user)

COMSIG_TWOHANDED_WIELD

from base of datum/component/two_handed/proc/wield(mob/living/carbon/user): (/mob/user)

COMSIG_VV_TOPIC

handler for vv_do_topic (usr, href_list)

SIGNAL_DIABLERIE_LEVEL_GAIN

From /datum/diablerie_level/proc/gain()

SIGNAL_DIABLERIE_LEVEL_REMOVE

From /datum/diablerie_level/proc/remove()