Fixes an oversight with tail pulling and the Bad Touch trait (#62784)

This commit is contained in:
necromanceranne
2021-11-18 22:05:59 +11:00
committed by GitHub
parent 35dd9818c6
commit 666fcdbd9c
2 changed files with 7 additions and 3 deletions
@@ -423,7 +423,11 @@
null, span_hear("You hear a soft patter."), DEFAULT_MESSAGE_RANGE, list(M, src))
to_chat(M, span_notice("You pull on [src]'s tail!"))
to_chat(src, span_notice("[M] pulls on your tail!"))
SEND_SIGNAL(src, COMSIG_ADD_MOOD_EVENT, "tailpulled", /datum/mood_event/tailpulled)
if(HAS_TRAIT(src, TRAIT_BADTOUCH)) //How dare they!
to_chat(M, span_warning("[src] makes a grumbling noise as you pull on [p_their()] tail."))
else
SEND_SIGNAL(src, COMSIG_ADD_MOOD_EVENT, "tailpulled", /datum/mood_event/tailpulled)
else
SEND_SIGNAL(src, COMSIG_CARBON_HUGGED, M)
SEND_SIGNAL(M, COMSIG_CARBON_HUG, M, src)