mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
- The admin-mute verb and mute option in the player panel now makes the mob unable to speak in everything except for adminhelps and admin private messages.
- The player panel now has a Compelte mute option, which mutes everything including adminhelps and admin pm-s. - A person who is muted will now be informed he is whenever they try to speak/OOC/etc. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2391 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -9,7 +9,8 @@
|
||||
|
||||
log_say("Ghost/[src.key] : [message]")
|
||||
|
||||
if (src.muted)
|
||||
if (src.muted || src.muted_complete)
|
||||
src << "You are muted."
|
||||
return
|
||||
|
||||
. = src.say_dead(message)
|
||||
|
||||
@@ -62,7 +62,8 @@
|
||||
message = "<B>[src]</B> [input]"
|
||||
|
||||
if ("me")
|
||||
if (muted || silent)
|
||||
if (muted || silent || muted_complete)
|
||||
src << "You are muted."
|
||||
return
|
||||
if (stat)
|
||||
return
|
||||
|
||||
@@ -7,7 +7,8 @@
|
||||
|
||||
log_whisper("[src.name]/[src.key] : [message]")
|
||||
|
||||
if (src.muted)
|
||||
if (src.muted || src.muted_complete)
|
||||
src << "You are muted."
|
||||
return
|
||||
|
||||
if (src.stat == 2)
|
||||
|
||||
@@ -30,7 +30,8 @@
|
||||
if (stat == 2)
|
||||
return say_dead(message)
|
||||
|
||||
if (muted || silent)
|
||||
if (muted || silent || src.muted_complete)
|
||||
src << "You are muted."
|
||||
return
|
||||
|
||||
// wtf?
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
if (!message)
|
||||
return
|
||||
|
||||
if (muted)
|
||||
if (muted || src.muted_complete)
|
||||
src << "You are muted."
|
||||
return
|
||||
|
||||
if (stat == 2)
|
||||
|
||||
@@ -578,7 +578,7 @@
|
||||
if(href_list["priv_msg"])
|
||||
var/mob/M = locate(href_list["priv_msg"])
|
||||
if(M)
|
||||
if(muted)
|
||||
if(muted_complete)
|
||||
src << "You are muted have a nice day"
|
||||
return
|
||||
if (!ismob(M))
|
||||
|
||||
Reference in New Issue
Block a user