mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
Alien *roar and *deathgasp sounds are no longer spammable.
This commit is contained in:
@@ -72,10 +72,12 @@
|
||||
|
||||
if ((message && src.stat == 0))
|
||||
log_emote("[name]/[key] : [message]")
|
||||
if (act == "roar")
|
||||
if (act == "roar" && xeno_emote_counter <= 0)
|
||||
playsound(src.loc, 'sound/voice/hiss5.ogg', 40, 1, 1)
|
||||
if (act == "deathgasp")
|
||||
xeno_emote_counter = 4
|
||||
if (act == "deathgasp" && xeno_emote_counter <= 0)
|
||||
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)
|
||||
|
||||
@@ -6,12 +6,15 @@
|
||||
fire_alert = 0
|
||||
|
||||
var/temperature_alert = 0
|
||||
var/xeno_emote_counter = 0 //See Life()
|
||||
|
||||
|
||||
/mob/living/carbon/alien/humanoid/Life()
|
||||
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