mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 21:48:39 +01:00
Removed xeno emote limiter
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user