/tg/ Station 13 - Modules - TypesDefine Details

code/__DEFINES/dcs/signals/signals_mob/signals_mob_carbon.dm

COMSIG_CARBON_PRE_HELPCalled from /datum/species/proc/help : (mob/living/carbon/human/helper, datum/martial_art/helper_style)
COMPONENT_BLOCK_HELP_ACTStops the rest of the help
COMSIG_CARBON_PRE_MISC_HELPCalled from /mob/living/carbon/help_shake_act, before any hugs have ocurred. (mob/living/helper)
COMPONENT_BLOCK_MISC_HELPStops the rest of help act (hugging, etc) from occuring
COMSIG_CARBON_HELP_ACTCalled from /mob/living/carbon/help_shake_act on the person being helped, after any hugs have ocurred. (mob/living/helper)
COMSIG_CARBON_HELPEDCalled from /mob/living/carbon/help_shake_act on the helper, after any hugs have ocurred. (mob/living/helped)
COMSIG_ON_CARBON_SLIPWhen a carbon slips. Called on /turf/open/handle_slip()
COMSIG_CARBON_POST_LOSE_WOUNDCalled after limb AND victim has been unset
COMSIG_ATTEMPT_CARBON_ATTACH_LIMBfrom base of /obj/item/bodypart/proc/can_attach_limb(): (new_limb, special) allows you to fail limb attachment
COMSIG_ATTEMPT_BODYPART_ATTACH_LIMBfrom base of /obj/item/bodypart/proc/can_attach_limb(): (new_owner, special) allows you to fail limb attachment
COMSIG_CARBON_ATTACH_LIMBfrom base of /obj/item/bodypart/proc/try_attach_limb(): (new_limb, special)
COMSIG_BODYPART_ATTACHEDCalled from bodypart being attached /obj/item/bodypart/proc/try_attach_limb(mob/living/carbon/new_owner, special)
COMSIG_CARBON_POST_ATTACH_LIMBfrom base of /obj/item/bodypart/proc/try_attach_limb(): (new_limb, special)
COMSIG_CARBON_LIMB_DAMAGEDfrom /obj/item/bodypart/proc/receive_damage, sent from the limb owner (limb, brute, burn)
COMSIG_BODYPART_CHANGED_OWNERCalled from bodypart changing owner, which could be on attach or detachment. Either argument can be null. (mob/living/carbon/new_owner, mob/living/carbon/old_owner)
COMSIG_BODYPART_UPDATING_HEALTH_HUDCalled from update_health_hud, whenever a bodypart is being updated on the health doll
OVERRIDE_BODYPART_HEALTH_HUDReturn to override that bodypart's health hud with whatever is returned by the list
COMSIG_BODYPART_CHECKED_FOR_INJURYCalled from /obj/item/bodypart/check_for_injuries (mob/living/carbon/examiner, list/check_list)
COMSIG_CARBON_CHECKING_BODYPARTCalled from /obj/item/bodypart/check_for_injuries (obj/item/bodypart/examined, list/check_list)
COMSIG_CARBON_REMOVE_LIMBCalled from carbon losing a limb /obj/item/bodypart/proc/drop_limb(obj/item/bodypart/lost_limb, special, dismembered)
COMSIG_CARBON_POST_REMOVE_LIMBCalled from carbon losing a limb /obj/item/bodypart/proc/drop_limb(obj/item/bodypart/lost_limb, special, dismembered)
COMSIG_BODYPART_REMOVEDCalled from bodypart being removed /obj/item/bodypart/proc/drop_limb(mob/living/carbon/old_owner, special, dismembered)
COMSIG_BODYPART_UPDATEDFrom /obj/item/bodypart/proc/update_limb(): (dropping_limb, is_creating)
COMSIG_BODYPART_UPDATING_SURGERY_STATESent to a limb when something attempts to change its surgery state (old_state, new_state, changed_states)
COMSIG_BODYPART_GET_LIMB_ICONCalled from /obj/item/bodypart/proc/get_limb_icon(dropped) : (list/limb_icons, dropped, mob/living/carbon/update_on)
COMSIG_BODYPART_GENERATE_ICON_KEYCalled from /obj/item/bodypart/proc/generate_icon_key() : (list/icon_keys)
COMSIG_CARBON_SOUNDBANGfrom base of mob/living/carbon/soundbang_act(): (list(intensity))
COMSIG_CARBON_GAIN_ORGANfrom /item/organ/proc/Insert() (/obj/item/organ/)
COMSIG_CARBON_LOSE_ORGANfrom /item/organ/proc/Remove() (/obj/item/organ/)
COMSIG_CARBON_EMBED_RIPdefined twice, in carbon and human's topics, fired when interacting with a valid embedded_object to pull it out (mob/living/carbon/target, /obj/item, /obj/item/bodypart/L)
COMSIG_CARBON_EMBED_REMOVALcalled when removing a given item from a mob, from mob/living/carbon/remove_embedded_object(mob/living/carbon/target, /obj/item)
COMSIG_CARBON_CUFF_ATTEMPTEDCalled when someone attempts to cuff a carbon
COMSIG_CARBON_GAIN_MUTATIONCalled when a carbon mutates (source = dna, mutation = mutation added)
COMSIG_CARBON_LOSE_MUTATIONCalled when a carbon loses a mutation (source = dna, mutation = mutation lose)
COMSIG_CARBON_GAIN_ADDICTIONCalled when a carbon becomes addicted (source = what addiction datum, addicted_mind = mind of the addicted carbon)
COMSIG_CARBON_LOSE_ADDICTIONCalled when a carbon is no longer addicted (source = what addiction datum was lost, addicted_mind = mind of the freed carbon)
COMSIG_CARBON_GAIN_TRAUMACalled when a carbon gets a brain trauma (source = carbon, trauma = what trauma was added) - this is before on_gain()
COMSIG_CARBON_BLOCK_TRAUMAReturn if you want to prevent the carbon from gaining the brain trauma.
COMSIG_CARBON_LOSE_TRAUMACalled when a carbon loses a brain trauma (source = carbon, trauma = what trauma was removed)
COMSIG_CARBON_UPDATING_HEALTH_HUDCalled when a carbon's health hud is updated. (source = carbon, shown_health_amount)
COMPONENT_OVERRIDE_HEALTH_HUDReturn if you override the carbon's health hud with something else
COMSIG_CARBON_SANITY_UPDATECalled when a carbon updates their sanity (source = carbon)
COMSIG_CARBON_ATTEMPT_BREATHECalled when a carbon attempts to breath, before the breath has actually occured
BREATHE_BLOCK_BREATHPrevents the breath entirely, which means they will neither suffocate nor regain oxyloss nor decay losebreath stacks
BREATHE_SKIP_BREATHAllow the breath but prevent inake, think losebreath
COMSIG_CARBON_BREATH_EXHALECalled when a carbon breathes out (breath (the exhale))
BREATHE_EXHALE_HANDLEDReturn if the exhale was handled, or I guess to send the exhale into the void
COMSIG_CARBON_MOOD_UPDATECalled when a carbon updates their mood
COMSIG_CARBON_ATTEMPT_EATCalled when a carbon attempts to eat (eating)
COMSIG_CARBON_VOMITEDCalled when a carbon vomits : (distance, force)
COMSIG_CARBON_APPLY_OVERLAYCalled from apply_overlay(cache_index, overlay)
COMSIG_CARBON_REMOVE_OVERLAYCalled from remove_overlay(cache_index, overlay)
COMSIG_CARBON_MOOD_CHECKCalled when a carbon checks their mood
COMSIG_HUMAN_PREFS_APPLIEDApplied preferences to a human
COMSIG_JOB_RECEIVEDWhenever equip_ranked is called, called after job is set
COMSIG_HUMAN_BURNINGfrom /datum/species/handle_fire. Called when the human is set on fire and burning clothes and stuff
BURNING_HANDLEDReturn to do no burn damage
BURNING_SKIP_PROTECTIONReturn to skip protection check (ie, cause damage even if wearing fireproof clothing)
COMSIG_HUMAN_FORCESAYfrom /mob/living/carbon/human/proc/force_say(): ()
COMSIG_HUMAN_GET_VISIBLE_NAMEfrom /mob/living/carbon/human/get_visible_name(), not sent if the mob has TRAIT_UNKNOWN: (identity)
COMSIG_HUMAN_GET_FORCED_NAMEfrom /mob/living/carbon/human/get_id_name; only returns if the mob has TRAIT_UNKNOWN and it's being overriden: (identity)
COMSIG_HUMAN_MONKEYIZECalled when a human turns into a monkey, from /mob/living/carbon/proc/finish_monkeyize()
COMSIG_MONKEY_HUMANIZECalled when a monkey turns into a human, from /mob/living/carbon/proc/finish_humanize(species)
COMSIG_HUMAN_SUICIDE_ACTFrom mob/living/carbon/human/suicide()
COMSIG_CARBON_REGENERATE_LIMBSfrom base of /mob/living/carbon/regenerate_limbs(): (excluded_limbs)
COMSIG_CARBON_ITEM_GIVENfrom /atom/movable/screen/alert/give/proc/handle_transfer(): (taker, item)
COMSIG_HUMAN_CHARACTER_SETUPSent at the very end of human character setup
COMSIG_CARBON_STEPCarbon is steppin
COMSIG_CARBON_PAINED_STEPCarbon is steppin on a painful limb
STOP_PAINStop the pain from happening
COMSIG_CARBON_LIMPINGfrom /datum/status_effect/limp/proc/check_step()
COMSIG_CARBON_SPRAYPAINTEDfrom /obj/item/toy/crayon/spraycan/use_on(target, user, modifiers): (atom/target, mob/user)
COMSIG_HUMAN_GOT_PUNCHEDCalled from /datum/species/proc/harm(): (mob/living/carbon/human/attacker, damage, attack_type, obj/item/bodypart/affecting, final_armor_block, kicking)
COMSIG_HUMAN_PUNCHEDCalled from /datum/species/proc/harm(): (mob/living/carbon/human/attacked, damage, attack_type, obj/item/bodypart/affecting, final_armor_block, kicking)

Define Details

BREATHE_BLOCK_BREATH

Prevents the breath entirely, which means they will neither suffocate nor regain oxyloss nor decay losebreath stacks

BREATHE_EXHALE_HANDLED

Return if the exhale was handled, or I guess to send the exhale into the void

BREATHE_SKIP_BREATH

Allow the breath but prevent inake, think losebreath

BURNING_HANDLED

Return to do no burn damage

BURNING_SKIP_PROTECTION

Return to skip protection check (ie, cause damage even if wearing fireproof clothing)

COMPONENT_BLOCK_HELP_ACT

Stops the rest of the help

COMPONENT_BLOCK_MISC_HELP

Stops the rest of help act (hugging, etc) from occuring

COMPONENT_OVERRIDE_HEALTH_HUD

Return if you override the carbon's health hud with something else

COMSIG_ATTEMPT_BODYPART_ATTACH_LIMB

from base of /obj/item/bodypart/proc/can_attach_limb(): (new_owner, special) allows you to fail limb attachment

COMSIG_ATTEMPT_CARBON_ATTACH_LIMB

from base of /obj/item/bodypart/proc/can_attach_limb(): (new_limb, special) allows you to fail limb attachment

COMSIG_BODYPART_ATTACHED

Called from bodypart being attached /obj/item/bodypart/proc/try_attach_limb(mob/living/carbon/new_owner, special)

COMSIG_BODYPART_CHANGED_OWNER

Called from bodypart changing owner, which could be on attach or detachment. Either argument can be null. (mob/living/carbon/new_owner, mob/living/carbon/old_owner)

COMSIG_BODYPART_CHECKED_FOR_INJURY

Called from /obj/item/bodypart/check_for_injuries (mob/living/carbon/examiner, list/check_list)

COMSIG_BODYPART_GENERATE_ICON_KEY

Called from /obj/item/bodypart/proc/generate_icon_key() : (list/icon_keys)

COMSIG_BODYPART_GET_LIMB_ICON

Called from /obj/item/bodypart/proc/get_limb_icon(dropped) : (list/limb_icons, dropped, mob/living/carbon/update_on)

COMSIG_BODYPART_REMOVED

Called from bodypart being removed /obj/item/bodypart/proc/drop_limb(mob/living/carbon/old_owner, special, dismembered)

COMSIG_BODYPART_UPDATED

From /obj/item/bodypart/proc/update_limb(): (dropping_limb, is_creating)

COMSIG_BODYPART_UPDATING_HEALTH_HUD

Called from update_health_hud, whenever a bodypart is being updated on the health doll

COMSIG_BODYPART_UPDATING_SURGERY_STATE

Sent to a limb when something attempts to change its surgery state (old_state, new_state, changed_states)

COMSIG_CARBON_APPLY_OVERLAY

Called from apply_overlay(cache_index, overlay)

COMSIG_CARBON_ATTACH_LIMB

from base of /obj/item/bodypart/proc/try_attach_limb(): (new_limb, special)

COMSIG_CARBON_ATTEMPT_BREATHE

Called when a carbon attempts to breath, before the breath has actually occured

COMSIG_CARBON_ATTEMPT_EAT

Called when a carbon attempts to eat (eating)

COMSIG_CARBON_BLOCK_TRAUMA

Return if you want to prevent the carbon from gaining the brain trauma.

COMSIG_CARBON_BREATH_EXHALE

Called when a carbon breathes out (breath (the exhale))

COMSIG_CARBON_CHECKING_BODYPART

Called from /obj/item/bodypart/check_for_injuries (obj/item/bodypart/examined, list/check_list)

COMSIG_CARBON_CUFF_ATTEMPTED

Called when someone attempts to cuff a carbon

COMSIG_CARBON_EMBED_REMOVAL

called when removing a given item from a mob, from mob/living/carbon/remove_embedded_object(mob/living/carbon/target, /obj/item)

COMSIG_CARBON_EMBED_RIP

defined twice, in carbon and human's topics, fired when interacting with a valid embedded_object to pull it out (mob/living/carbon/target, /obj/item, /obj/item/bodypart/L)

COMSIG_CARBON_GAIN_ADDICTION

Called when a carbon becomes addicted (source = what addiction datum, addicted_mind = mind of the addicted carbon)

COMSIG_CARBON_GAIN_MUTATION

Called when a carbon mutates (source = dna, mutation = mutation added)

COMSIG_CARBON_GAIN_ORGAN

from /item/organ/proc/Insert() (/obj/item/organ/)

COMSIG_CARBON_GAIN_TRAUMA

Called when a carbon gets a brain trauma (source = carbon, trauma = what trauma was added) - this is before on_gain()

COMSIG_CARBON_HELPED

Called from /mob/living/carbon/help_shake_act on the helper, after any hugs have ocurred. (mob/living/helped)

COMSIG_CARBON_HELP_ACT

Called from /mob/living/carbon/help_shake_act on the person being helped, after any hugs have ocurred. (mob/living/helper)

COMSIG_CARBON_ITEM_GIVEN

from /atom/movable/screen/alert/give/proc/handle_transfer(): (taker, item)

COMSIG_CARBON_LIMB_DAMAGED

from /obj/item/bodypart/proc/receive_damage, sent from the limb owner (limb, brute, burn)

COMSIG_CARBON_LIMPING

from /datum/status_effect/limp/proc/check_step()

COMSIG_CARBON_LOSE_ADDICTION

Called when a carbon is no longer addicted (source = what addiction datum was lost, addicted_mind = mind of the freed carbon)

COMSIG_CARBON_LOSE_MUTATION

Called when a carbon loses a mutation (source = dna, mutation = mutation lose)

COMSIG_CARBON_LOSE_ORGAN

from /item/organ/proc/Remove() (/obj/item/organ/)

COMSIG_CARBON_LOSE_TRAUMA

Called when a carbon loses a brain trauma (source = carbon, trauma = what trauma was removed)

COMSIG_CARBON_MOOD_CHECK

Called when a carbon checks their mood

COMSIG_CARBON_MOOD_UPDATE

Called when a carbon updates their mood

COMSIG_CARBON_PAINED_STEP

Carbon is steppin on a painful limb

COMSIG_CARBON_POST_ATTACH_LIMB

from base of /obj/item/bodypart/proc/try_attach_limb(): (new_limb, special)

COMSIG_CARBON_POST_LOSE_WOUND

Called after limb AND victim has been unset

COMSIG_CARBON_POST_REMOVE_LIMB

Called from carbon losing a limb /obj/item/bodypart/proc/drop_limb(obj/item/bodypart/lost_limb, special, dismembered)

COMSIG_CARBON_PRE_HELP

Called from /datum/species/proc/help : (mob/living/carbon/human/helper, datum/martial_art/helper_style)

COMSIG_CARBON_PRE_MISC_HELP

Called from /mob/living/carbon/help_shake_act, before any hugs have ocurred. (mob/living/helper)

COMSIG_CARBON_REGENERATE_LIMBS

from base of /mob/living/carbon/regenerate_limbs(): (excluded_limbs)

COMSIG_CARBON_REMOVE_LIMB

Called from carbon losing a limb /obj/item/bodypart/proc/drop_limb(obj/item/bodypart/lost_limb, special, dismembered)

COMSIG_CARBON_REMOVE_OVERLAY

Called from remove_overlay(cache_index, overlay)

COMSIG_CARBON_SANITY_UPDATE

Called when a carbon updates their sanity (source = carbon)

COMSIG_CARBON_SOUNDBANG

from base of mob/living/carbon/soundbang_act(): (list(intensity))

COMSIG_CARBON_SPRAYPAINTED

from /obj/item/toy/crayon/spraycan/use_on(target, user, modifiers): (atom/target, mob/user)

COMSIG_CARBON_STEP

Carbon is steppin

COMSIG_CARBON_UPDATING_HEALTH_HUD

Called when a carbon's health hud is updated. (source = carbon, shown_health_amount)

COMSIG_CARBON_VOMITED

Called when a carbon vomits : (distance, force)

COMSIG_HUMAN_BURNING

from /datum/species/handle_fire. Called when the human is set on fire and burning clothes and stuff

COMSIG_HUMAN_CHARACTER_SETUP

Sent at the very end of human character setup

COMSIG_HUMAN_FORCESAY

from /mob/living/carbon/human/proc/force_say(): ()

COMSIG_HUMAN_GET_FORCED_NAME

from /mob/living/carbon/human/get_id_name; only returns if the mob has TRAIT_UNKNOWN and it's being overriden: (identity)

COMSIG_HUMAN_GET_VISIBLE_NAME

from /mob/living/carbon/human/get_visible_name(), not sent if the mob has TRAIT_UNKNOWN: (identity)

COMSIG_HUMAN_GOT_PUNCHED

Called from /datum/species/proc/harm(): (mob/living/carbon/human/attacker, damage, attack_type, obj/item/bodypart/affecting, final_armor_block, kicking)

COMSIG_HUMAN_MONKEYIZE

Called when a human turns into a monkey, from /mob/living/carbon/proc/finish_monkeyize()

COMSIG_HUMAN_PREFS_APPLIED

Applied preferences to a human

COMSIG_HUMAN_PUNCHED

Called from /datum/species/proc/harm(): (mob/living/carbon/human/attacked, damage, attack_type, obj/item/bodypart/affecting, final_armor_block, kicking)

COMSIG_HUMAN_SUICIDE_ACT

From mob/living/carbon/human/suicide()

COMSIG_JOB_RECEIVED

Whenever equip_ranked is called, called after job is set

COMSIG_MONKEY_HUMANIZE

Called when a monkey turns into a human, from /mob/living/carbon/proc/finish_humanize(species)

COMSIG_ON_CARBON_SLIP

When a carbon slips. Called on /turf/open/handle_slip()

OVERRIDE_BODYPART_HEALTH_HUD

Return to override that bodypart's health hud with whatever is returned by the list

STOP_PAIN

Stop the pain from happening