From 4a485940dca416cfa9e8251b9654121317a3542e Mon Sep 17 00:00:00 2001 From: SoundScopes Date: Sat, 13 Dec 2014 07:26:54 +0000 Subject: [PATCH] easier to find stats --- code/modules/mob/mob.dm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/code/modules/mob/mob.dm b/code/modules/mob/mob.dm index 2f3da9ce..2a40201e 100644 --- a/code/modules/mob/mob.dm +++ b/code/modules/mob/mob.dm @@ -728,6 +728,28 @@ note dizziness decrements automatically in the mob's Life() proc. stat(null,"MasterController-ERROR") if(delta_level:active) stat(null,"Delta Countdown-[delta_level.timeleft()]") + if(!ooc_allowed) + stat(null,"OOC is globaly muted") + if(!looc_allowed) + stat(null,"LOOC is globaly muted") + if(client.holder.rights & (R_ADMIN|R_MOD)) + var/players = 0 + var/ghosts = 0 + var/lobby = 0 + var/total = 0 + var/staff = 0 + for(var/client/C in clients) + if(C.holder.rights & R_ADMIN || C.holder.rights & R_MOD) + staff++ + if(istype(C.mob, /mob/living)) + players++ + if(istype(C.mob, /mob/dead)) + ghosts++ + if(istype(C.mob, /mob/new_player)) + lobby++ + total++ + stat(null, "Players: [total]\tModeration Staff: [staff]") + stat(null, "Living: [players]\tGhosts: [ghosts]\tLobby: [lobby]") if(listed_turf && client) if(!TurfAdjacent(listed_turf))