Adds Hissing Emote for Unathi

Original work by TravellingMerchant.
This commit is contained in:
KasparoVy
2017-05-14 23:36:41 -04:00
parent 294e2a4cfe
commit 6572a5f522
2 changed files with 13 additions and 0 deletions
@@ -66,6 +66,12 @@
else //Everyone else fails, skip the emote attempt
return
if("hiss", "hisses")
if(species.name == "Unathi") //Only Unathi can hiss.
on_CD = handle_emote_CD() //proc located in code\modules\mob\emote.dm'
else //Everyone else fails, skip the emote attempt
return
if("scream", "screams")
on_CD = handle_emote_CD(50) //longer cooldown
if("fart", "farts", "flip", "flips", "snap", "snaps")
@@ -141,6 +147,13 @@
playsound(loc, 'sound/effects/Kidanclack2.ogg', 50, 0) //Credit to DrMinky (freesound.org) for the sound.
m_type = 2
if("hiss", "hisses")
var/M = handle_emote_param(param)
message = "<B>[src]</B> hisses[M ? " at [M]" : ""]."
playsound(loc, 'sound/effects/unathihiss.ogg', 50, 0) //Credit to Jamius (freesound.org) for the sound.
m_type = 2
if("yes")
var/M = handle_emote_param(param)