From 00dbb758e0fdccca93415841ae2d06cf191b6c05 Mon Sep 17 00:00:00 2001 From: Isaac Erwin Date: Mon, 8 Aug 2016 20:36:51 -0400 Subject: [PATCH] Changes mod say into mentor say Since moderators aren't a thing any more, as far as I can tell, and mentorhelping as a mentor can basically be used as msay... --- code/modules/admin/admin_verbs.dm | 4 ++-- code/modules/admin/verbs/adminsay.dm | 13 +++++-------- goon/browserassets/css/browserOutput.css | 6 +++--- 3 files changed, 10 insertions(+), 13 deletions(-) diff --git a/code/modules/admin/admin_verbs.dm b/code/modules/admin/admin_verbs.dm index e6ce8dc2e73..e202a270c1d 100644 --- a/code/modules/admin/admin_verbs.dm +++ b/code/modules/admin/admin_verbs.dm @@ -52,7 +52,7 @@ var/list/admin_verbs_admin = list( /client/proc/game_panel, /*game panel, allows to change game-mode etc*/ /client/proc/cmd_admin_say, /*admin-only ooc chat*/ /datum/admins/proc/PlayerNotes, - /client/proc/cmd_mod_say, + /client/proc/cmd_mentor_say, /datum/admins/proc/show_player_notes, /client/proc/free_slot, /*frees slot for chosen job*/ /client/proc/toggleattacklogs, @@ -183,7 +183,7 @@ var/list/admin_verbs_mod = list( /client/proc/cmd_admin_pm_by_key_panel, /*admin-pm list by key*/ /datum/admins/proc/PlayerNotes, /client/proc/admin_ghost, /*allows us to ghost/reenter body at will*/ - /client/proc/cmd_mod_say, + /client/proc/cmd_mentor_say, /datum/admins/proc/show_player_notes, /client/proc/player_panel_new, /client/proc/dsay, diff --git a/code/modules/admin/verbs/adminsay.dm b/code/modules/admin/verbs/adminsay.dm index 784f924966f..b55c75f70c0 100644 --- a/code/modules/admin/verbs/adminsay.dm +++ b/code/modules/admin/verbs/adminsay.dm @@ -16,25 +16,22 @@ feedback_add_details("admin_verb","M") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! -/client/proc/cmd_mod_say(msg as text) +/client/proc/cmd_mentor_say(msg as text) set category = "Special Verbs" set name = "Msay" set hidden = 1 - if(!check_rights(R_ADMIN|R_MOD)) + if(!check_rights(R_ADMIN|R_MOD|R_MENTOR)) return msg = sanitize(copytext(msg, 1, MAX_MESSAGE_LEN)) - log_admin("MOD: [key_name(src)] : [msg]") + log_admin("MENTOR: [key_name(src)] : [msg]") if(!msg) return - var/spanclass = "mod_channel" - if(check_rights(R_ADMIN, 0)) - spanclass = "mod_channel_admin" for(var/client/C in admins) - if(check_rights(R_ADMIN|R_MOD, 0, C.mob)) - to_chat(C, "MOD: [key_name(usr, 1)] ([admin_jump_link(mob, C.holder)]): [msg]") + if(check_rights(R_ADMIN|R_MOD|R_MENTOR, 0, C.mob)) + to_chat(C, "MENTOR: [key_name(usr, 1)] ([admin_jump_link(mob, C.holder)]): [msg]") feedback_add_details("admin_verb","MS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! \ No newline at end of file diff --git a/goon/browserassets/css/browserOutput.css b/goon/browserassets/css/browserOutput.css index dab174587ec..fefa72056b0 100644 --- a/goon/browserassets/css/browserOutput.css +++ b/goon/browserassets/css/browserOutput.css @@ -255,9 +255,9 @@ em {font-style: normal; font-weight: bold;} .sciradio {color: #993399;} .supradio {color: #5F4519;} .srvradio {color: #6eaa2c;} -.admin_channel {color: #9A04D1; font-weight: bold;} -.mod_channel {color: #402A14; font-weight: bold;} -.mod_channel_admin {color: #402A14; font-weight: bold;} +.admin_channel {color: #9A04D1; font-weight: bold;} +.mentor_channel {color: #775BFF; font-weight: bold;} +.mentor_channel_admin {color: #9A04D1; font-weight: bold;} .djradio {color: #663300;} .binaryradio {color: #0B0050; font-family: 'Courier New', Courier, monospace;} .mommiradio {color: navy;}