/tg/ Station 13 - Modules - TypesDefine Details

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

COMSIG_SIMPLEMOB_SENTIENCEPOTIONcalled when a simplemob is given sentience from a potion (target = person who sentienced)
COMSIG_HOSTILE_PRE_ATTACKINGTARGETbefore attackingtarget has happened, source is the attacker and target is the attacked
COMSIG_HOSTILE_POST_ATTACKINGTARGETafter attackingtarget has happened, source is the attacker and target is the attacked, extra argument for if the attackingtarget was successful
COMSIG_RAT_INTERACTfrom base of mob/living/simple_animal/hostile/regalrat: (mob/living/simple_animal/hostile/regalrat/king)
COMSIG_OOZE_EAT_ATOMFROM mob/living/simple_animal/hostile/ooze/eat_atom(): (atom/target, edible_flags)

Define Details

COMSIG_HOSTILE_POST_ATTACKINGTARGET

after attackingtarget has happened, source is the attacker and target is the attacked, extra argument for if the attackingtarget was successful

COMSIG_HOSTILE_PRE_ATTACKINGTARGET

before attackingtarget has happened, source is the attacker and target is the attacked

COMSIG_OOZE_EAT_ATOM

FROM mob/living/simple_animal/hostile/ooze/eat_atom(): (atom/target, edible_flags)

COMSIG_RAT_INTERACT

from base of mob/living/simple_animal/hostile/regalrat: (mob/living/simple_animal/hostile/regalrat/king)

COMSIG_SIMPLEMOB_SENTIENCEPOTION

called when a simplemob is given sentience from a potion (target = person who sentienced)