/tg/ Station 13 - Modules - TypesDefine Details

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

COMSIG_BASICMOB_LOOK_DEADSent from /mob/living/basic/proc/look_dead() : ()
COMSIG_BASICMOB_LOOK_ALIVESent from /mob/living/basic/proc/look_alive() : ()
COMSIG_BASICMOB_PRE_ATTACK_RANGEDfrom the ranged_attacks component for basic mobs: (mob/living/basic/firer, atom/target, modifiers)
COMPONENT_CANCEL_RANGED_ATTACKCancel to prevent the attack from happening
COMSIG_BASICMOB_POST_ATTACK_RANGEDfrom the ranged_attacks component for basic mobs: (mob/living/basic/firer, atom/target, modifiers)
COMSIG_NEEDS_NEW_PHRASESent from /datum/ai_planning_subtree/parrot_as_in_repeat() : ()
NO_NEW_PHRASE_AVAILABLECancel to try again later for when we actually get a new phrase
COMSIG_ANIMAL_PETCalled whenever an animal is pet via the /datum/element/pet_bonus element: (mob/living/petter, modifiers)
COMSIG_RAT_INTERACTfrom base of mob/living/basic/regal_rat: (mob/living/basic/regal_rat/king)
COMPONENT_RAT_INTERACTEDIf this is returned, cancel any further interactions.
COMSIG_SLIME_DRAINEDfrom /datum/status_effect/slime_leech: (mob/living/basic/slime/draining_slime)

Define Details

COMPONENT_CANCEL_RANGED_ATTACK

Cancel to prevent the attack from happening

COMPONENT_RAT_INTERACTED

If this is returned, cancel any further interactions.

COMSIG_ANIMAL_PET

Called whenever an animal is pet via the /datum/element/pet_bonus element: (mob/living/petter, modifiers)

COMSIG_BASICMOB_LOOK_ALIVE

Sent from /mob/living/basic/proc/look_alive() : ()

COMSIG_BASICMOB_LOOK_DEAD

Sent from /mob/living/basic/proc/look_dead() : ()

COMSIG_BASICMOB_POST_ATTACK_RANGED

from the ranged_attacks component for basic mobs: (mob/living/basic/firer, atom/target, modifiers)

COMSIG_BASICMOB_PRE_ATTACK_RANGED

from the ranged_attacks component for basic mobs: (mob/living/basic/firer, atom/target, modifiers)

COMSIG_NEEDS_NEW_PHRASE

Sent from /datum/ai_planning_subtree/parrot_as_in_repeat() : ()

COMSIG_RAT_INTERACT

from base of mob/living/basic/regal_rat: (mob/living/basic/regal_rat/king)

COMSIG_SLIME_DRAINED

from /datum/status_effect/slime_leech: (mob/living/basic/slime/draining_slime)

NO_NEW_PHRASE_AVAILABLE

Cancel to try again later for when we actually get a new phrase