- 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

View File

@@ -10,7 +10,7 @@
if (!msg)
return
if (usr.muted)
if (usr.muted_complete)
return
for (var/mob/M in world)

View File

@@ -9,7 +9,7 @@
src << "Only administrators may use this command."
return
if (!src.mob || src.mob.muted)
if (!src.mob || src.mob.muted || src.mob.muted_complete)
return
msg = copytext(sanitize(msg), 1, MAX_MESSAGE_LEN)

View File

@@ -8,7 +8,7 @@
return
if(!src.mob)
return
if(src.mob.muted)
if(src.mob.muted || src.mob.muted_complete)
return
msg = copytext(sanitize(msg), 1, MAX_MESSAGE_LEN)

View File

@@ -10,7 +10,7 @@
if (!msg)
return
if (usr.muted)
if (usr.muted || src.muted_complete)
return
var/icon/cross = icon('storage.dmi',"bible")

View File

@@ -91,7 +91,7 @@
src << "Only administrators may use this command."
return
if(M)
if(mob.muted)
if(src.mob.muted_complete)
src << "You are muted have a nice day"
return
if (!( ismob(M) ))