/datum/admins/proc/player_panel_new()//The new one if (!check_rights_for(usr.client, R_HOLDER)) return var/ui_scale = owner.prefs.read_preference(/datum/preference/toggle/ui_scale) var/dat = "
|
"} + span_giant(span_bold("Player panel")) + {" Hover over a line to see more information - Check antagonists
|
| "} + span_bold("Search:") + {" |
|
"} + span_bold("[M_name] - [M_rname] - [M_key] ([M_job])") + {"
|
| Name | Real Name | Assigned Job | Key | Options | PM | Traitor? | IP: | to this if wanting to add back in IP checking //add(IP: [M.lastKnownIP]) | if you want to know their ip to the lists below var/list/mobs = sort_mobs() for(var/mob/M in mobs) if(!M.ckey) continue dat += "||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| [M.name] | " if(isAI(M)) dat += "AI | " else if(isrobot(M)) dat += "Cyborg | " else if(ishuman(M)) dat += "[M.real_name] | " else if(ispAI(M)) dat += "pAI | " else if(isnewplayer(M)) dat += "New Player | " else if(isobserver(M)) dat += "Ghost | " else if(issmall(M)) dat += "Monkey | " else if(isalien(M)) dat += "Alien | " else dat += "Unknown | " if(ishuman(M)) var/mob/living/carbon/human/H = M if(H.mind && H.mind.assigned_role) dat += "[H.mind.assigned_role] | " else dat += "NA | " dat += {"[M.key ? (M.client ? M.key : "[M.key] (DC)") : "No key"] | X | PM | "} if(usr.client) switch(is_special_character(M)) if(0) dat += {"Traitor? | "} if(1) dat += {""} + span_red("Traitor?") + {" | "} if(2) dat += {""} + span_red(span_bold("Traitor?")) + {" | "} else dat += {"N/A | "} dat += "