- 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:
baloh.matevz@gmail.com
2011-10-19 12:49:02 +00:00
parent 454835bdb8
commit de944a135c
14 changed files with 33 additions and 14 deletions
+2 -1
View File
@@ -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)
+2 -1
View File
@@ -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 -1
View File
@@ -2,7 +2,8 @@
if (!message)
return
if (muted)
if (muted || src.muted_complete)
src << "You are muted."
return
if (stat == 2)
+1 -1
View File
@@ -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))