diff --git a/code/__HELPERS/type2type.dm b/code/__HELPERS/type2type.dm
index ed838114fa8..6d8c6d0f434 100644
--- a/code/__HELPERS/type2type.dm
+++ b/code/__HELPERS/type2type.dm
@@ -288,9 +288,8 @@ proc/tg_list2text(list/list, glue=",")
if (rights & R_SOUNDS) . += "[seperator]+SOUND"
if (rights & R_SPAWN) . += "[seperator]+SPAWN"
if (rights & R_MOD) . += "[seperator]+MODERATOR"
- if (rights & R_MENTOR) . += "[seperator]+MENTOR"
- if (rights & R_DEV) . += "[seperator]+DEVELOPER"
- if (rights & R_CCIAA) . += "[seperator]+CCIAA"
+ if (rights & R_DEV) . += "[seperator]+DEVELOPER"
+ if (rights & R_CCIAA) . += "[seperator]+CCIAA"
return .
/proc/ui_style2icon(ui_style)
diff --git a/code/game/verbs/who.dm b/code/game/verbs/who.dm
index 257c01c3bea..44c1fecd1fa 100644
--- a/code/game/verbs/who.dm
+++ b/code/game/verbs/who.dm
@@ -62,17 +62,15 @@
var/msg = ""
var/modmsg = ""
- var/mentmsg = ""
var/cciaamsg = ""
var/devmsg = ""
var/num_mods_online = 0
var/num_admins_online = 0
- var/num_mentors_online = 0
var/num_cciaa_online = 0
var/num_devs_online = 0
if(holder)
for(var/client/C in admins)
- if(R_ADMIN & C.holder.rights || (!R_MOD & C.holder.rights && !R_MENTOR & C.holder.rights)) //Used to determine who shows up in admin rows
+ if(R_ADMIN & C.holder.rights || (!R_MOD & C.holder.rights)) //Used to determine who shows up in admin rows
if(C.holder.fakekey && (!R_ADMIN & holder.rights && !R_MOD & holder.rights)) //Mentors can't see stealthmins
continue
@@ -109,20 +107,6 @@
modmsg += "\n"
num_mods_online++
- else if(R_MENTOR & C.holder.rights)
- mentmsg += "\t[C] is a [C.holder.rank]"
- if(isobserver(C.mob))
- mentmsg += " - Observing"
- else if(istype(C.mob,/mob/new_player))
- mentmsg += " - Lobby"
- else
- mentmsg += " - Playing"
-
- if(C.is_afk())
- mentmsg += " (AFK)"
- mentmsg += "\n"
- num_mentors_online++
-
else if (R_CCIAA & C.holder.rights)
cciaamsg += "\t[C]"
if (isobserver(C.mob))
@@ -153,16 +137,13 @@
else
for(var/client/C in admins)
- if(R_ADMIN & C.holder.rights || (!R_MOD & C.holder.rights && !R_MENTOR & C.holder.rights))
+ if(R_ADMIN & C.holder.rights || (!R_MOD & C.holder.rights))
if(!C.holder.fakekey)
msg += "\t[C] is a [C.holder.rank]\n"
num_admins_online++
else if (R_MOD & C.holder.rights)
modmsg += "\t[C] is a [C.holder.rank]\n"
num_mods_online++
- else if (R_MENTOR & C.holder.rights)
- mentmsg += "\t[C] is a [C.holder.rank]\n"
- num_mentors_online++
else if(C.holder.rights & R_DEV)
devmsg += "\t[C] is a [C.holder.rank]\n"
num_devs_online++
@@ -177,9 +158,6 @@
if(config.show_mods)
msg += "\n Current Moderators ([num_mods_online]):\n" + modmsg
- if(config.show_mentors)
- msg += "\n Current Mentors ([num_mentors_online]):\n" + mentmsg
-
if (config.show_auxiliary_roles)
if (num_cciaa_online)
msg += "\n Current CCIA Agents ([num_cciaa_online]):\n" + cciaamsg
diff --git a/code/modules/admin/admin.dm b/code/modules/admin/admin.dm
index 4205572a29f..508edb03fd2 100644
--- a/code/modules/admin/admin.dm
+++ b/code/modules/admin/admin.dm
@@ -314,7 +314,7 @@ proc/admin_notice(var/message, var/rights)
I.rank = "N/A"
update_file = 1
dat += "[I.content] by [I.author] ([I.rank]) on [I.timestamp] "
- if(I.author == usr.key || I.author == "Adminbot" || ishost(usr))
+ if(I.author == usr.key || I.author == "Adminbot")
dat += "Remove"
dat += "
"
if(update_file) info << infos
@@ -1277,20 +1277,6 @@ proc/admin_notice(var/message, var/rights)
H.regenerate_icons()
-/*
- helper proc to test if someone is a mentor or not. Got tired of writing this same check all over the place.
-*/
-/proc/is_mentor(client/C)
-
- if(!istype(C))
- return 0
- if(!C.holder)
- return 0
-
- if(C.holder.rights == R_MENTOR)
- return 1
- return 0
-
/proc/get_options_bar(whom, detail = 2, name = 0, link = 1, highlight_special = 1)
if(!whom)
return "(*null*)"
@@ -1323,22 +1309,6 @@ proc/admin_notice(var/message, var/rights)
var/ref_mob = "\ref[M]"
return "[key_name(C, link, name, highlight_special)] (?) (PP) (VV) (SM) (JMP)"
-
-/proc/ishost(whom)
- if(!whom)
- return 0
- var/client/C
- var/mob/M
- if(istype(whom, /client))
- C = whom
- if(istype(whom, /mob))
- M = whom
- C = M.client
- if(R_HOST & C.holder.rights)
- return 1
- else
- return 0
-//
//
//ALL DONE
//*********************************************************************************************************
diff --git a/code/modules/admin/admin_ranks.dm b/code/modules/admin/admin_ranks.dm
index 28de1783f22..27eb8b6d3f3 100644
--- a/code/modules/admin/admin_ranks.dm
+++ b/code/modules/admin/admin_ranks.dm
@@ -37,11 +37,10 @@ var/list/admin_ranks = list() //list of all ranks with associated rights
if("stealth") rights |= R_STEALTH
if("rejuv","rejuvinate") rights |= R_REJUVINATE
if("varedit") rights |= R_VAREDIT
- if("everything","host","all") rights |= (R_HOST | R_BUILDMODE | R_ADMIN | R_BAN | R_FUN | R_SERVER | R_DEBUG | R_PERMISSIONS | R_POSSESS | R_STEALTH | R_REJUVINATE | R_VAREDIT | R_SOUNDS | R_SPAWN | R_MOD| R_MENTOR)
+ if("everything","host","all") rights |= (R_BUILDMODE | R_ADMIN | R_BAN | R_FUN | R_SERVER | R_DEBUG | R_PERMISSIONS | R_POSSESS | R_STEALTH | R_REJUVINATE | R_VAREDIT | R_SOUNDS | R_SPAWN | R_MOD)
if("sound","sounds") rights |= R_SOUNDS
if("spawn","create") rights |= R_SPAWN
if("mod") rights |= R_MOD
- if("mentor") rights |= R_MENTOR
if("developer") rights |= R_DEV
if("cciaa") rights |= R_CCIAA
diff --git a/code/modules/admin/admin_verbs.dm b/code/modules/admin/admin_verbs.dm
index 507b38504fc..941706570d3 100644
--- a/code/modules/admin/admin_verbs.dm
+++ b/code/modules/admin/admin_verbs.dm
@@ -293,17 +293,6 @@ var/list/admin_verbs_mod = list(
/datum/admins/proc/paralyze_mob
)
-var/list/admin_verbs_mentor = list(
- /client/proc/cmd_admin_pm_context,
- /client/proc/cmd_admin_pm_panel,
- /datum/admins/proc/PlayerNotes,
- /client/proc/admin_ghost,
- /client/proc/cmd_mod_say,
- /datum/admins/proc/show_player_info,
-// /client/proc/dsay,
- /client/proc/cmd_admin_subtle_message
-)
-
var/list/admin_verbs_dev = list( //will need to be altered - Ryan784
///datum/admins/proc/restart,
/datum/admins/proc/spawn_atom, //allows us to spawn instances,
@@ -373,7 +362,6 @@ var/list/admin_verbs_cciaa = list(
if(holder.rights & R_SOUNDS) verbs += admin_verbs_sounds
if(holder.rights & R_SPAWN) verbs += admin_verbs_spawn
if(holder.rights & R_MOD) verbs += admin_verbs_mod
- if(holder.rights & R_MENTOR) verbs += admin_verbs_mentor
if(holder.rights & R_DEV) verbs += admin_verbs_dev
if(holder.rights & R_CCIAA) verbs += admin_verbs_cciaa
@@ -438,8 +426,6 @@ var/list/admin_verbs_cciaa = list(
if(istype(mob,/mob/dead/observer))
//re-enter
var/mob/dead/observer/ghost = mob
- if(!is_mentor(usr.client))
- ghost.can_reenter_corpse = 1
if(ghost.can_reenter_corpse)
ghost.reenter_corpse()
else
diff --git a/code/modules/admin/player_panel.dm b/code/modules/admin/player_panel.dm
index 51eea2ebbb7..ee5907eb65b 100644
--- a/code/modules/admin/player_panel.dm
+++ b/code/modules/admin/player_panel.dm
@@ -367,8 +367,7 @@
if(usr.client)
- var/client/C = usr.client
- if(is_mentor(C))
+ if(!check_rights(R_MOD|R_ADMIN, 0))
dat += {"