/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_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_GAUZEDfrom /obj/item/bodypart/proc/apply_gauze(/obj/item/stack/gauze): (/obj/item/stack/medical/gauze/applied_gauze, /obj/item/stack/medical/gauze/stack_used)
COMSIG_BODYPART_UNGAUZEDfrom /obj/item/stack/medical/gauze/Destroy(): (/obj/item/stack/medical/gauze/removed_gauze)
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
COMPONENT_OVERRIDE_BODYPART_HEALTH_HUDReturn to override that bodypart's health hud with your own icon
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_CARBON_ENTER_STAMCRITfrom /mob/living/carbon/enter_stamcrit()
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_EQUIP_HATfrom /mob/living/carbon/doUnEquip(obj/item/I, force, newloc, no_move, invdrop, silent)
COMSIG_CARBON_UNEQUIP_HATfrom /mob/living/carbon/doUnEquip(obj/item/I, force, newloc, no_move, invdrop, silent)
COMSIG_CARBON_UNEQUIP_SHOECOVERfrom /mob/living/carbon/doUnEquip(obj/item/I, force, newloc, no_move, invdrop, silent)
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_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
COMSIG_CARBON_PRE_BREATHECalled when a carbon breathes, before the breath has actually occured
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_HUMAN_PREFS_APPLIEDApplied preferences to a human
COMSIG_JOB_RECEIVEDWhenever EquipRanked is called, called after job is set
COMSIG_HUMAN_CORETEMP_CHANGEfrom /mob/living/carbon/human/proc/set_coretemperature(): (oldvalue, newvalue)
COMSIG_HUMAN_BURNINGfrom /datum/species/handle_fire. Called when the human is set on fire and burning clothes and stuff
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_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_ON_HANDLE_BLOODSent from /mob/living/carbon/human/handle_blood(): (seconds_per_tick, times_fired)
HANDLE_BLOOD_HANDLEDReturn to prevent all default blood handling
HANDLE_BLOOD_NO_NUTRITION_DRAINReturn to skip default nutrition -> blood conversion
HANDLE_BLOOD_NO_EFFECTSReturn to skip oxyloss and similar effecst from blood level

Define Details

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_BODYPART_HEALTH_HUD

Return to override that bodypart's health hud with your own icon

COMPONENT_OVERRIDE_HEALTH_HUD

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

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_GAUZED

from /obj/item/bodypart/proc/apply_gauze(/obj/item/stack/gauze): (/obj/item/stack/medical/gauze/applied_gauze, /obj/item/stack/medical/gauze/stack_used)

COMSIG_BODYPART_REMOVED

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

COMSIG_BODYPART_UNGAUZED

from /obj/item/stack/medical/gauze/Destroy(): (/obj/item/stack/medical/gauze/removed_gauze)

COMSIG_BODYPART_UPDATING_HEALTH_HUD

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

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

from /mob/living/carbon/enter_stamcrit()

COMSIG_CARBON_EQUIP_HAT

from /mob/living/carbon/doUnEquip(obj/item/I, force, newloc, no_move, invdrop, silent)

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

Called when a carbon updates their mood

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_BREATHE

Called when a carbon breathes, before the breath has actually occured

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_UNEQUIP_HAT

from /mob/living/carbon/doUnEquip(obj/item/I, force, newloc, no_move, invdrop, silent)

COMSIG_CARBON_UNEQUIP_SHOECOVER

from /mob/living/carbon/doUnEquip(obj/item/I, force, newloc, no_move, invdrop, silent)

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_CORETEMP_CHANGE

from /mob/living/carbon/human/proc/set_coretemperature(): (oldvalue, newvalue)

COMSIG_HUMAN_FORCESAY

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

COMSIG_HUMAN_GET_VISIBLE_NAME

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

COMSIG_HUMAN_MONKEYIZE

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

COMSIG_HUMAN_ON_HANDLE_BLOOD

Sent from /mob/living/carbon/human/handle_blood(): (seconds_per_tick, times_fired)

COMSIG_HUMAN_PREFS_APPLIED

Applied preferences to a human

COMSIG_HUMAN_SUICIDE_ACT

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

COMSIG_JOB_RECEIVED

Whenever EquipRanked 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()

HANDLE_BLOOD_HANDLED

Return to prevent all default blood handling

HANDLE_BLOOD_NO_EFFECTS

Return to skip oxyloss and similar effecst from blood level

HANDLE_BLOOD_NO_NUTRITION_DRAIN

Return to skip default nutrition -> blood conversion