code/__DEFINES/dcs/signals/signals_mob/signals_mob_living.dm
COMSIG_LIVING_TRY_PUT_IN_HAND | called on /living when attempting to pick up an item, from base of /mob/living/put_in_hand_check(): (obj/item/I) |
---|---|
COMPONENT_LIVING_CANT_PUT_IN_HAND | Can't pick up |
COMSIG_ORGAN_IMPLANTED | Called on the organ when it is implanted into someone (mob/living/carbon/receiver) |
COMSIG_ORGAN_REMOVED | Called on the organ when it is removed from someone (mob/living/carbon/old_owner) |
COMSIG_ORGAN_BEING_REPLACED | Called when an organ is being regenerated with a new copy in species regenerate_organs (obj/item/organ/replacement) |
COMSIG_ORGAN_SURGICALLY_REMOVED | Called when an organ gets surgically removed (mob/living/user, mob/living/carbon/old_owner, target_zone, obj/item/tool) |
COMSIG_ORGAN_WAG_TAIL | Called when using the *wag emote |
COMSIG_LIVING_POST_UPDATE_TRANSFORM | from base of mob/update_transform() |
COMSIG_LIVING_DOORCRUSHED | from /obj/structure/door/crush(): (mob/living/crushed, /obj/machinery/door/crushing_door) |
COMSIG_LIVING_RESIST | from base of mob/living/resist() (/mob/living) |
COMSIG_LIVING_IGNITED | from base of mob/living/ignite_mob() (/mob/living) |
COMSIG_LIVING_EXTINGUISHED | from base of mob/living/extinguish_mob() (/mob/living) |
COMSIG_LIVING_ELECTROCUTE_ACT | from base of mob/living/electrocute_act(): (shock_damage, source, siemens_coeff, flags) |
COMSIG_LIVING_SHOCK_PREVENTED | sent when items with siemen coeff. of 0 block a shock: (power_source, source, siemens_coeff, dist_check) |
COMSIG_LIVING_MINOR_SHOCK | sent by stuff like stunbatons and tasers: () |
COMSIG_LIVING_REVIVE | from base of mob/living/revive() (full_heal, admin_revive) |
COMSIG_LIVING_SET_BUCKLED | from base of mob/living/set_buckled(): (new_buckled) |
COMSIG_LIVING_SET_BODY_POSITION | from base of mob/living/set_body_position() |
COMSIG_LIVING_TRY_SYRINGE | From post-can inject check of syringe after attack (mob/user) |
COMSIG_LIVING_LIFE | From living/Life(). (deltatime, times_fired) |
COMPONENT_LIVING_CANCEL_LIFE_PROCESSING | Block the Life() proc from proceeding... this should really only be done in some really wacky situations. |
COMSIG_LIVING_RESTING | From living/set_resting(): (new_resting, silent, instant) |
COMSIG_LIVING_BANED | from base of element/bane/activate(): (item/weapon, mob/user) |
COMSIG_OBJECT_PRE_BANING | from base of element/bane/activate(): (item/weapon, mob/user) |
COMSIG_OBJECT_ON_BANING | from base of element/bane/activate(): (item/weapon, mob/user) |
COMPONENT_IGNORE_CHANGE | Returned from all the following messages if you actually aren't going to apply any change |
COMSIG_LIVING_ADJUST_BRUTE_DAMAGE | Send when bruteloss is modified (type, amount, forced) |
COMSIG_LIVING_ADJUST_BURN_DAMAGE | Send when fireloss is modified (type, amount, forced) |
COMSIG_LIVING_ADJUST_OXY_DAMAGE | Send when oxyloss is modified (type, amount, forced) |
COMSIG_LIVING_ADJUST_TOX_DAMAGE | Send when toxloss is modified (type, amount, forced) |
COMSIG_LIVING_ADJUST_STAMINA_DAMAGE | Send when staminaloss is modified (type, amount, forced) |
COMSIG_LIVING_ADJUST_STANDARD_DAMAGE_TYPES | List of signals sent when you receive any damage except stamina |
COMSIG_LIVING_ADJUST_ALL_DAMAGE_TYPES | List of signals sent when you receive any kind of damage at all |
COMSIG_LIVING_HEALTH_UPDATE | from base of mob/living/updatehealth() |
COMSIG_LIVING_DEATH | from base of mob/living/death(): (gibbed) |
COMSIG_LIVING_GIBBED | from base of mob/living/gib(): (drop_bitflags) Note that it is fired regardless of whether the mob was dead beforehand or not. |
COMSIG_LIVING_WRITE_MEMORY | from base of mob/living/Write_Memory(): (dead, gibbed) |
COMSIG_LIVING_HEALTHSCAN | from /proc/healthscan(): (list/scan_results, advanced, mob/user, mode) Consumers are allowed to mutate the scan_results list to add extra information |
COMSIG_LIVING_STATUS_STUN | from base of mob/living/Stun() (amount, ignore_canstun) |
COMSIG_LIVING_STATUS_KNOCKDOWN | from base of mob/living/Knockdown() (amount, ignore_canstun) |
COMSIG_LIVING_STATUS_PARALYZE | from base of mob/living/Paralyze() (amount, ignore_canstun) |
COMSIG_LIVING_STATUS_IMMOBILIZE | from base of mob/living/Immobilize() (amount, ignore_canstun) |
COMSIG_LIVING_STATUS_INCAPACITATE | from base of mob/living/incapacitate() (amount, ignore_canstun) |
COMSIG_LIVING_STATUS_UNCONSCIOUS | from base of mob/living/Unconscious() (amount, ignore_canstun) |
COMSIG_LIVING_STATUS_SLEEP | from base of mob/living/Sleeping() (amount, ignore_canstun) |
COMSIG_LIVING_GENERIC_STUN_CHECK | from mob/living/check_stun_immunity(): (check_flags) |
COMSIG_LIVING_CAN_TRACK | from base of /mob/living/can_track(): (mob/user) |
COMSIG_LIVING_POST_FULLY_HEAL | from end of fully_heal(): (heal_flags) |
COMSIG_LIVING_HANDLE_BREATHING | from start of /mob/living/handle_breathing(): (seconds_per_tick, times_fired) |
COMSIG_LIVING_SLAM_TABLE | from /obj/item/hand_item/slapper/attack_atom(): (source=mob/living/slammer, obj/structure/table/slammed_table) |
COMSIG_LIVING_SLAP_MOB | from /obj/item/hand_item/slapper/attack(): (source=mob/living/slapper, mob/living/slapped) |
COMSIG_LIVING_EARLY_UNARMED_ATTACK | from /mob/living/*/UnarmedAttack(), before sending COMSIG_LIVING_UNARMED_ATTACK: (mob/living/source, atom/target, proximity, modifiers) The only reason this exists is so hulk can fire before Fists of the North Star. Note that this is called before /mob/living/proc/can_unarmed_attack is called, so be wary of that. |
COMSIG_LIVING_UNARMED_ATTACK | from mob/living/*/UnarmedAttack(): (mob/living/source, atom/target, proximity, modifiers) |
COMSIG_LIVING_PRE_MOB_BUMP | From base of mob/living/MobBump(): (mob/bumped, mob/living/bumper) |
COMSIG_LIVING_MOB_BUMP | From base of mob/living/MobBump() (mob/living) |
COMSIG_LIVING_WALL_BUMP | From base of mob/living/Bump() (turf/closed) |
COMSIG_LIVING_WALL_EXITED | From base of turf/closed/Exited() (turf/closed) |
COMSIG_LIVING_Z_IMPACT | From base of mob/living/ZImpactDamage() (mob/living, levels, turf/t) |
ZIMPACT_CANCEL_DAMAGE | Just for the signal return, does not run normal living handing of z fall damage for mobs |
ZIMPACT_NO_MESSAGE | Do not show default z-impact message |
ZIMPACT_NO_SPIN | Do not do the spin animation when landing |
COMSIG_LIVING_TRY_SPEECH | From mob/living/try_speak(): (message, ignore_spam, forced) |
COMPONENT_CAN_ALWAYS_SPEAK | Return if the mob can speak the message, regardless of any other signal returns or checks. |
COMPONENT_CANNOT_SPEAK | Return if the mob cannot speak. |
COMSIG_LIVING_TREAT_MESSAGE | From mob/living/treat_message(): (list/message_args) |
TREAT_MESSAGE_ARG | The index of message_args that corresponds to the actual message |
COMSIG_LIVING_MOB_PAINTED | From obj/item/toy/crayon/spraycan |
COMSIG_LIVING_PRE_WABBAJACKED | From mob/living/proc/wabbajack(): (randomize_type) |
STOP_WABBAJACK | Return to stop the rest of the wabbajack from triggering. |
COMSIG_LIVING_ON_WABBAJACKED | From mob/living/proc/on_wabbajack(): (mob/living/new_mob) |
COMSIG_LIVING_SHAPESHIFTED | From /datum/status_effect/shapechange_mob/on_apply(): (mob/living/shape) |
COMSIG_LIVING_UNSHAPESHIFTED | From /datum/status_effect/shapechange_mob/after_unchange(): (mob/living/caster) |
COMSIG_LIVING_CULT_SACRIFICED | From /obj/effect/rune/convert/do_sacrifice() : (list/invokers) |
STOP_SACRIFICE | Return to stop the sac from occurring |
SILENCE_SACRIFICE_MESSAGE | Don't send a message for sacrificing this thing, we have our own |
COMSIG_LIVING_BEFRIENDED | From /mob/living/befriend() : (mob/living/new_friend) |
COMSIG_LIVING_PICKED_UP_ITEM | From /obj/item/proc/pickup(): (/obj/item/picked_up_item) |
COMSIG_LIVING_UNFRIENDED | From /mob/living/unfriend() : (mob/living/old_friend) |
COMSIG_LIVING_RESONATOR_BURST | From /obj/effect/temp_visual/resonance/burst() : (mob/creator, mob/living/hit_living) |
COMSIG_LIVING_PROJECTILE_PARRYING | From /obj/projectile/attempt_parry() : (obj/projectile/parried_projectile) |
ALLOW_PARRY | Return to allow the parry to happen |
COMSIG_LIVING_PROJECTILE_PARRIED | From /obj/projectile/on_parry() : (obj/projectile/parried_projectile) |
INTERCEPT_PARRY_EFFECTS | Return to prevent the projectile from executing any code in on_parry() |
COMSIG_LIVING_DEFUSED_GIBTONITE | From /turf/closed/mineral/gibtonite/defuse() : (det_time) |
COMSIG_LIVING_CRUSHER_DETONATE | From /obj/item/kinetic_crusher/afterattack() : (mob/living/target, obj/item/kinetic_crusher/crusher, backstabbed) |
COMSIG_LIVING_DISCOVERED_GEYSER | From /obj/structure/geyser/attackby() : (obj/structure/geyser/geyser) |
COMSIG_LIVING_CLIMB_TREE | From /datum/ai/behavior/climb_tree/perform() : (mob/living/basic/living_pawn) |
COMSIG_LIVING_CHECK_BLOCK | from /mob/living/proc/check_block(): (atom/hit_by, damage, attack_text, attack_type, armour_penetration, damage_type) |
COMSIG_MOB_GAINED_CHAIN_TAIL | Sent on a mob from /datum/component/mob_chain when component is attached with it as the "front" : (mob/living/basic/tail) |
COMSIG_MOB_LOST_CHAIN_TAIL | Sent on a mob from /datum/component/mob_chain when component is detached from it as the "front" : (mob/living/basic/tail) |
COMSIG_MOB_CHAIN_CONTRACT | Sent from a 'contract chain' button on a mob chain |
COMSIG_MOB_REMOVING_CUFFS | Sent from a mob to their loc when starting to remove cuffs on itself |
COMSIG_MOB_BLOCK_CUFF_REMOVAL | Sent as a reply to above from any atom that wishs to stop self-cuff removal |
Define Details
ALLOW_PARRY
Return to allow the parry to happen
COMPONENT_CANNOT_SPEAK
Return if the mob cannot speak.
COMPONENT_CAN_ALWAYS_SPEAK
Return if the mob can speak the message, regardless of any other signal returns or checks.
COMPONENT_IGNORE_CHANGE
Returned from all the following messages if you actually aren't going to apply any change
COMPONENT_LIVING_CANCEL_LIFE_PROCESSING
Block the Life() proc from proceeding... this should really only be done in some really wacky situations.
COMPONENT_LIVING_CANT_PUT_IN_HAND
Can't pick up
COMSIG_LIVING_ADJUST_ALL_DAMAGE_TYPES
List of signals sent when you receive any kind of damage at all
COMSIG_LIVING_ADJUST_BRUTE_DAMAGE
Send when bruteloss is modified (type, amount, forced)
COMSIG_LIVING_ADJUST_BURN_DAMAGE
Send when fireloss is modified (type, amount, forced)
COMSIG_LIVING_ADJUST_OXY_DAMAGE
Send when oxyloss is modified (type, amount, forced)
COMSIG_LIVING_ADJUST_STAMINA_DAMAGE
Send when staminaloss is modified (type, amount, forced)
COMSIG_LIVING_ADJUST_STANDARD_DAMAGE_TYPES
List of signals sent when you receive any damage except stamina
COMSIG_LIVING_ADJUST_TOX_DAMAGE
Send when toxloss is modified (type, amount, forced)
COMSIG_LIVING_BANED
from base of element/bane/activate(): (item/weapon, mob/user)
COMSIG_LIVING_BEFRIENDED
From /mob/living/befriend() : (mob/living/new_friend)
COMSIG_LIVING_CAN_TRACK
from base of /mob/living/can_track(): (mob/user)
COMSIG_LIVING_CHECK_BLOCK
from /mob/living/proc/check_block(): (atom/hit_by, damage, attack_text, attack_type, armour_penetration, damage_type)
COMSIG_LIVING_CLIMB_TREE
From /datum/ai/behavior/climb_tree/perform() : (mob/living/basic/living_pawn)
COMSIG_LIVING_CRUSHER_DETONATE
From /obj/item/kinetic_crusher/afterattack() : (mob/living/target, obj/item/kinetic_crusher/crusher, backstabbed)
COMSIG_LIVING_CULT_SACRIFICED
From /obj/effect/rune/convert/do_sacrifice() : (list/invokers)
COMSIG_LIVING_DEATH
from base of mob/living/death(): (gibbed)
COMSIG_LIVING_DEFUSED_GIBTONITE
From /turf/closed/mineral/gibtonite/defuse() : (det_time)
COMSIG_LIVING_DISCOVERED_GEYSER
From /obj/structure/geyser/attackby() : (obj/structure/geyser/geyser)
COMSIG_LIVING_DOORCRUSHED
from /obj/structure/door/crush(): (mob/living/crushed, /obj/machinery/door/crushing_door)
COMSIG_LIVING_EARLY_UNARMED_ATTACK
from /mob/living/*/UnarmedAttack(), before sending COMSIG_LIVING_UNARMED_ATTACK: (mob/living/source, atom/target, proximity, modifiers) The only reason this exists is so hulk can fire before Fists of the North Star. Note that this is called before /mob/living/proc/can_unarmed_attack is called, so be wary of that.
COMSIG_LIVING_ELECTROCUTE_ACT
from base of mob/living/electrocute_act(): (shock_damage, source, siemens_coeff, flags)
COMSIG_LIVING_EXTINGUISHED
from base of mob/living/extinguish_mob() (/mob/living)
COMSIG_LIVING_GENERIC_STUN_CHECK
from mob/living/check_stun_immunity(): (check_flags)
COMSIG_LIVING_GIBBED
from base of mob/living/gib(): (drop_bitflags) Note that it is fired regardless of whether the mob was dead beforehand or not.
COMSIG_LIVING_HANDLE_BREATHING
from start of /mob/living/handle_breathing(): (seconds_per_tick, times_fired)
COMSIG_LIVING_HEALTHSCAN
from /proc/healthscan(): (list/scan_results, advanced, mob/user, mode) Consumers are allowed to mutate the scan_results list to add extra information
COMSIG_LIVING_HEALTH_UPDATE
from base of mob/living/updatehealth()
COMSIG_LIVING_IGNITED
from base of mob/living/ignite_mob() (/mob/living)
COMSIG_LIVING_LIFE
From living/Life(). (deltatime, times_fired)
COMSIG_LIVING_MINOR_SHOCK
sent by stuff like stunbatons and tasers: ()
COMSIG_LIVING_MOB_BUMP
From base of mob/living/MobBump() (mob/living)
COMSIG_LIVING_MOB_PAINTED
From obj/item/toy/crayon/spraycan
COMSIG_LIVING_ON_WABBAJACKED
From mob/living/proc/on_wabbajack(): (mob/living/new_mob)
COMSIG_LIVING_PICKED_UP_ITEM
From /obj/item/proc/pickup(): (/obj/item/picked_up_item)
COMSIG_LIVING_POST_FULLY_HEAL
from end of fully_heal(): (heal_flags)
COMSIG_LIVING_POST_UPDATE_TRANSFORM
from base of mob/update_transform()
COMSIG_LIVING_PRE_MOB_BUMP
From base of mob/living/MobBump(): (mob/bumped, mob/living/bumper)
COMSIG_LIVING_PRE_WABBAJACKED
From mob/living/proc/wabbajack(): (randomize_type)
COMSIG_LIVING_PROJECTILE_PARRIED
From /obj/projectile/on_parry() : (obj/projectile/parried_projectile)
COMSIG_LIVING_PROJECTILE_PARRYING
From /obj/projectile/attempt_parry() : (obj/projectile/parried_projectile)
COMSIG_LIVING_RESIST
from base of mob/living/resist() (/mob/living)
COMSIG_LIVING_RESONATOR_BURST
From /obj/effect/temp_visual/resonance/burst() : (mob/creator, mob/living/hit_living)
COMSIG_LIVING_RESTING
From living/set_resting(): (new_resting, silent, instant)
COMSIG_LIVING_REVIVE
from base of mob/living/revive() (full_heal, admin_revive)
COMSIG_LIVING_SET_BODY_POSITION
from base of mob/living/set_body_position()
COMSIG_LIVING_SET_BUCKLED
from base of mob/living/set_buckled(): (new_buckled)
COMSIG_LIVING_SHAPESHIFTED
From /datum/status_effect/shapechange_mob/on_apply(): (mob/living/shape)
COMSIG_LIVING_SHOCK_PREVENTED
sent when items with siemen coeff. of 0 block a shock: (power_source, source, siemens_coeff, dist_check)
COMSIG_LIVING_SLAM_TABLE
from /obj/item/hand_item/slapper/attack_atom(): (source=mob/living/slammer, obj/structure/table/slammed_table)
COMSIG_LIVING_SLAP_MOB
from /obj/item/hand_item/slapper/attack(): (source=mob/living/slapper, mob/living/slapped)
COMSIG_LIVING_STATUS_IMMOBILIZE
from base of mob/living/Immobilize() (amount, ignore_canstun)
COMSIG_LIVING_STATUS_INCAPACITATE
from base of mob/living/incapacitate() (amount, ignore_canstun)
COMSIG_LIVING_STATUS_KNOCKDOWN
from base of mob/living/Knockdown() (amount, ignore_canstun)
COMSIG_LIVING_STATUS_PARALYZE
from base of mob/living/Paralyze() (amount, ignore_canstun)
COMSIG_LIVING_STATUS_SLEEP
from base of mob/living/Sleeping() (amount, ignore_canstun)
COMSIG_LIVING_STATUS_STUN
from base of mob/living/Stun() (amount, ignore_canstun)
COMSIG_LIVING_STATUS_UNCONSCIOUS
from base of mob/living/Unconscious() (amount, ignore_canstun)
COMSIG_LIVING_TREAT_MESSAGE
From mob/living/treat_message(): (list/message_args)
COMSIG_LIVING_TRY_PUT_IN_HAND
called on /living when attempting to pick up an item, from base of /mob/living/put_in_hand_check(): (obj/item/I)
COMSIG_LIVING_TRY_SPEECH
From mob/living/try_speak(): (message, ignore_spam, forced)
COMSIG_LIVING_TRY_SYRINGE
From post-can inject check of syringe after attack (mob/user)
COMSIG_LIVING_UNARMED_ATTACK
from mob/living/*/UnarmedAttack(): (mob/living/source, atom/target, proximity, modifiers)
COMSIG_LIVING_UNFRIENDED
From /mob/living/unfriend() : (mob/living/old_friend)
COMSIG_LIVING_UNSHAPESHIFTED
From /datum/status_effect/shapechange_mob/after_unchange(): (mob/living/caster)
COMSIG_LIVING_WALL_BUMP
From base of mob/living/Bump() (turf/closed)
COMSIG_LIVING_WALL_EXITED
From base of turf/closed/Exited() (turf/closed)
COMSIG_LIVING_WRITE_MEMORY
from base of mob/living/Write_Memory(): (dead, gibbed)
COMSIG_LIVING_Z_IMPACT
From base of mob/living/ZImpactDamage() (mob/living, levels, turf/t)
COMSIG_MOB_BLOCK_CUFF_REMOVAL
Sent as a reply to above from any atom that wishs to stop self-cuff removal
COMSIG_MOB_CHAIN_CONTRACT
Sent from a 'contract chain' button on a mob chain
COMSIG_MOB_GAINED_CHAIN_TAIL
Sent on a mob from /datum/component/mob_chain when component is attached with it as the "front" : (mob/living/basic/tail)
COMSIG_MOB_LOST_CHAIN_TAIL
Sent on a mob from /datum/component/mob_chain when component is detached from it as the "front" : (mob/living/basic/tail)
COMSIG_MOB_REMOVING_CUFFS
Sent from a mob to their loc when starting to remove cuffs on itself
COMSIG_OBJECT_ON_BANING
from base of element/bane/activate(): (item/weapon, mob/user)
COMSIG_OBJECT_PRE_BANING
from base of element/bane/activate(): (item/weapon, mob/user)
COMSIG_ORGAN_BEING_REPLACED
Called when an organ is being regenerated with a new copy in species regenerate_organs (obj/item/organ/replacement)
COMSIG_ORGAN_IMPLANTED
Called on the organ when it is implanted into someone (mob/living/carbon/receiver)
COMSIG_ORGAN_REMOVED
Called on the organ when it is removed from someone (mob/living/carbon/old_owner)
COMSIG_ORGAN_SURGICALLY_REMOVED
Called when an organ gets surgically removed (mob/living/user, mob/living/carbon/old_owner, target_zone, obj/item/tool)
COMSIG_ORGAN_WAG_TAIL
Called when using the *wag emote
INTERCEPT_PARRY_EFFECTS
Return to prevent the projectile from executing any code in on_parry()
SILENCE_SACRIFICE_MESSAGE
Don't send a message for sacrificing this thing, we have our own
STOP_SACRIFICE
Return to stop the sac from occurring
STOP_WABBAJACK
Return to stop the rest of the wabbajack from triggering.
TREAT_MESSAGE_ARG
The index of message_args that corresponds to the actual message
ZIMPACT_CANCEL_DAMAGE
Just for the signal return, does not run normal living handing of z fall damage for mobs
ZIMPACT_NO_MESSAGE
Do not show default z-impact message
ZIMPACT_NO_SPIN
Do not do the spin animation when landing