From a07e0a044fe63fd5939166be3b63a004d785ea1d Mon Sep 17 00:00:00 2001 From: ccomp5950 Date: Sat, 7 Feb 2015 00:04:50 -0500 Subject: [PATCH] Added buttons back to Mentors Before: Mentors see ahelps they only see ckeys, no links no character names, etc. Now: Character names shows up and I've added a mentor specific link bar so mentors can use the buttons they already have easily. --- code/modules/admin/admin.dm | 13 ++++++++++--- code/modules/admin/verbs/adminhelp.dm | 6 +++++- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/code/modules/admin/admin.dm b/code/modules/admin/admin.dm index fdfb9f0e3e..9ecbab5b9e 100644 --- a/code/modules/admin/admin.dm +++ b/code/modules/admin/admin.dm @@ -1148,15 +1148,22 @@ var/global/floorIsLava = 0 switch(detail) if(0) return "[key_name(C, link, name, highlight_special)]" - if(1) + + if(1) //Private Messages return "[key_name(C, link, name, highlight_special)](?)" - if(2) + + if(2) //Admins var/ref_mob = "\ref[M]" return "[key_name(C, link, name, highlight_special)](?) (PP) (VV) (SM) (JMP) (CA)" - if(3) + + if(3) //Devs var/ref_mob = "\ref[M]" return "[key_name(C, link, name, highlight_special)](VV)(JMP)" + if(4) //Mentors + var/ref_mob = "\ref[M]" + return "[key_name(C, link, name, highlight_special)] (?) (PP) (VV) (SM) (JMP)" + /proc/ishost(whom) if(!whom) diff --git a/code/modules/admin/verbs/adminhelp.dm b/code/modules/admin/verbs/adminhelp.dm index 9e5260fbd6..bff2372aa9 100644 --- a/code/modules/admin/verbs/adminhelp.dm +++ b/code/modules/admin/verbs/adminhelp.dm @@ -87,7 +87,11 @@ var/list/adminhelp_ignored_words = list("unknown","the","a","an","of","monkey"," var/ai_cl if(ai_found) ai_cl = " (CL)" - var/mentor_msg = "\blue Request for Help: [get_options_bar(mob, 0, 0, 1, 0)][ai_cl]: [msg]" + + //Options bar: mob, details ( admin = 2, dev = 3, mentor = 4, character name (0 = just ckey, 1 = ckey and character name), link? (0 no don't make it a link, 1 do so), + // highlight special roles (0 = everyone has same looking name, 1 = antags / special roles get a golden name) + + var/mentor_msg = "\blue Request for Help: [get_options_bar(mob, 4, 1, 1, 0)][ai_cl]: [msg]" msg = "\blue Request for Help:: [get_options_bar(mob, 2, 1, 1)][ai_cl]: [msg]" var/admin_number_afk = 0