/tg/ Station 13 - Modules - TypesDefine Details

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

COMSIG_CARBON_HUGWhen a carbon mob hugs someone, this is called on the carbon that is hugging. (mob/living/hugger, mob/living/hugged)
COMSIG_CARBON_HUGGEDWhen a carbon mob is hugged, this is called on the carbon that is hugged. (mob/living/hugger)
COMSIG_CARBON_HEADPATWhen a carbon mob is headpatted, this is called on the carbon that is headpatted. (mob/living/headpatter)
COMSIG_CARBON_TAILPULLWhen a carbon mob has their tail pulled, this is called on the carbon that is the target. (mob/living/tailpuller)
COMSIG_CARBON_DISARM_PRESHOVEBefore a carbon mob is shoved, sent to the turf we're trying to shove onto (mob/living/carbon/shover, mob/living/carbon/target)
COMSIG_CARBON_DISARM_COLLIDEWhen a carbon mob is disarmed, this is sent to the turf we're trying to shove onto (mob/living/carbon/shover, mob/living/carbon/target, shove_blocked)
COMSIG_ON_CARBON_SLIPWhen a carbon slips. Called on /turf/open/handle_slip()
COMSIG_ON_VENDOR_CRUSHWhen a carbon gets a vending machine tilted on them
COMSIG_CARBON_ATTACH_LIMBfrom base of /obj/item/bodypart/proc/attach_limb(): (new_limb, special) allows you to fail limb attachment
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_HEALTH_UPDATECalled when a carbon updates their health (source = carbon)
COMSIG_CARBON_SANITY_UPDATECalled when a carbon updates their sanity (source = carbon)
COMSIG_HUMAN_DISARM_HITHit by successful disarm attack (mob/living/carbon/human/attacker,zone_targeted)
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_EARLY_UNARMED_ATTACKfrom mob/living/carbon/human/UnarmedAttack(): (atom/target, proximity, modifiers)
COMSIG_HUMAN_MELEE_UNARMED_ATTACKfrom mob/living/carbon/human/UnarmedAttack(): (atom/target, proximity, modifiers)

Define Details

COMSIG_CARBON_ATTACH_LIMB

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

COMSIG_CARBON_CUFF_ATTEMPTED

Called when someone attempts to cuff a carbon

COMSIG_CARBON_DISARM_COLLIDE

When a carbon mob is disarmed, this is sent to the turf we're trying to shove onto (mob/living/carbon/shover, mob/living/carbon/target, shove_blocked)

COMSIG_CARBON_DISARM_PRESHOVE

Before a carbon mob is shoved, sent to the turf we're trying to shove onto (mob/living/carbon/shover, mob/living/carbon/target)

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

When a carbon mob is headpatted, this is called on the carbon that is headpatted. (mob/living/headpatter)

COMSIG_CARBON_HEALTH_UPDATE

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

COMSIG_CARBON_HUG

When a carbon mob hugs someone, this is called on the carbon that is hugging. (mob/living/hugger, mob/living/hugged)

COMSIG_CARBON_HUGGED

When a carbon mob is hugged, this is called on the carbon that is hugged. (mob/living/hugger)

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

When a carbon mob has their tail pulled, this is called on the carbon that is the target. (mob/living/tailpuller)

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

Hit by successful disarm attack (mob/living/carbon/human/attacker,zone_targeted)

COMSIG_HUMAN_EARLY_UNARMED_ATTACK

from mob/living/carbon/human/UnarmedAttack(): (atom/target, proximity, modifiers)

COMSIG_HUMAN_MELEE_UNARMED_ATTACK

from mob/living/carbon/human/UnarmedAttack(): (atom/target, proximity, modifiers)

COMSIG_JOB_RECEIVED

Whenever EquipRanked is called, called after job is set

COMSIG_ON_CARBON_SLIP

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

COMSIG_ON_VENDOR_CRUSH

When a carbon gets a vending machine tilted on them