mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-28 07:20:09 +01:00
Macro specific spam protection + mouse abuse (#2022)
Someone forgot to spam check squeaking. I forgot to upload anti-macro spam measures. So let's have both in one go, yay!
This commit is contained in:
@@ -184,16 +184,37 @@
|
||||
/mob/living/simple_animal/mouse/verb/squeak_loud_verb()
|
||||
set name = "Squeal!"
|
||||
set category = "Abilities"
|
||||
|
||||
if (usr.client.handle_spam_prevention(null, MUTE_IC))
|
||||
return
|
||||
else if (usr.client.prefs.muted & MUTE_IC)
|
||||
usr << "<span class='danger'>You are muted from IC emotes.</span>"
|
||||
return
|
||||
|
||||
squeak_loud(1)
|
||||
|
||||
/mob/living/simple_animal/mouse/verb/squeak_soft_verb()
|
||||
set name = "Soft Squeaking"
|
||||
set category = "Abilities"
|
||||
|
||||
if (usr.client.handle_spam_prevention(null, MUTE_IC))
|
||||
return
|
||||
else if (usr.client.prefs.muted & MUTE_IC)
|
||||
usr << "<span class='danger'>You are muted from IC emotes.</span>"
|
||||
return
|
||||
|
||||
squeak_soft(1)
|
||||
|
||||
/mob/living/simple_animal/mouse/verb/squeak_verb()
|
||||
set name = "Squeak"
|
||||
set category = "Abilities"
|
||||
|
||||
if (usr.client.handle_spam_prevention(null, MUTE_IC))
|
||||
return
|
||||
else if (usr.client.prefs.muted & MUTE_IC)
|
||||
usr << "<span class='danger'>You are muted from IC emotes.</span>"
|
||||
return
|
||||
|
||||
squeak(1)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user