Removed xeno emote limiter

This commit is contained in:
Miauw
2013-09-29 15:57:30 +02:00
parent 543126911b
commit 3d0653ac30
2 changed files with 5 additions and 6 deletions
@@ -1,5 +1,6 @@
/mob/living/carbon/alien/humanoid/emote(var/act)
var/cooldown = 0 //Used to limit *roar and *deathgasp spam.
var/param = null
if (findtext(act, "-", 1, null))
var/t1 = findtext(act, "-", 1, null)
@@ -72,12 +73,12 @@
if ((message && src.stat == 0))
log_emote("[name]/[key] : [message]")
if (act == "roar" && xeno_emote_counter <= 0)
if (act == "roar")
playsound(src.loc, 'sound/voice/hiss5.ogg', 40, 1, 1)
xeno_emote_counter = 4
if (act == "deathgasp" && xeno_emote_counter <= 0)
if (act == "deathgasp")
playsound(src.loc, 'sound/voice/hiss6.ogg', 80, 1, 1)
xeno_emote_counter = 4
if (m_type & 1)
for(var/mob/O in viewers(src, null))
O.show_message(message, m_type)
@@ -13,8 +13,6 @@
set invisibility = 0
set background = 1
xeno_emote_counter -= 1 //Hack to stop *deathgasp and *roar spam for xenos.
if (monkeyizing)
return