mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-01-09 17:02:56 +00: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:
@@ -10,7 +10,7 @@
|
||||
if (!msg)
|
||||
return
|
||||
|
||||
if (usr.muted)
|
||||
if (usr.muted_complete)
|
||||
return
|
||||
|
||||
for (var/mob/M in world)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
if (!msg)
|
||||
return
|
||||
|
||||
if (usr.muted)
|
||||
if (usr.muted || src.muted_complete)
|
||||
return
|
||||
|
||||
var/icon/cross = icon('storage.dmi',"bible")
|
||||
|
||||
@@ -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) ))
|
||||
|
||||
Reference in New Issue
Block a user