From acd52b99c351d9432c84a67e312fcb606e83311d Mon Sep 17 00:00:00 2001 From: peoplearestrange Date: Tue, 4 Feb 2020 04:17:02 +0000 Subject: [PATCH] Removes hide most & changes category Adminverbs - Hide Most [REMOVED] (not needed after reshuffle) Adminverbs - Hide All = Administration Adminverbs - Show = Administration aghost = Admin - Game Invisimin = Admin - Game Check Antagonists = Admin - Game Banning Panel = Administration Unbanning panel = Administration Game panel = Admin - Game Secrets = Admin - Game Stealth mode = Administration Drop Bomb = Fun Drop dynEx bomb = Fun Osay = Admin - Events Toggle Build Mode Self = Admin - Events Check AI Laws = Admin - Game Deadmin = Administration Readmin = Administration Toggle Admin Ai Interact = Admin - Game --- code/modules/admin/admin_verbs.dm | 45 +++++++++++++------------------ 1 file changed, 18 insertions(+), 27 deletions(-) diff --git a/code/modules/admin/admin_verbs.dm b/code/modules/admin/admin_verbs.dm index a0043ca2b65..4cd6763dfc5 100644 --- a/code/modules/admin/admin_verbs.dm +++ b/code/modules/admin/admin_verbs.dm @@ -296,20 +296,11 @@ GLOBAL_PROTECT(admin_verbs_hideable) /client/proc/readmin ) -/client/proc/hide_most_verbs()//Allows you to keep some functionality while hiding some verbs - set name = "Adminverbs - Hide Most" - set category = "Admin" - verbs.Remove(/client/proc/hide_most_verbs, GLOB.admin_verbs_hideable) - verbs += /client/proc/show_verbs - - to_chat(src, "Most of your adminverbs have been hidden.") - SSblackbox.record_feedback("tally", "admin_verb", 1, "Hide Most Adminverbs") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! - return /client/proc/hide_verbs() set name = "Adminverbs - Hide All" - set category = "Admin" + set category = "Administration" remove_admin_verbs() verbs += /client/proc/show_verbs @@ -320,7 +311,7 @@ GLOBAL_PROTECT(admin_verbs_hideable) /client/proc/show_verbs() set name = "Adminverbs - Show" - set category = "Admin" + set category = "Administration" verbs -= /client/proc/show_verbs add_admin_verbs() @@ -332,7 +323,7 @@ GLOBAL_PROTECT(admin_verbs_hideable) /client/proc/admin_ghost() - set category = "Admin" + set category = "Admin - Game" set name = "Aghost" if(!holder) return @@ -363,7 +354,7 @@ GLOBAL_PROTECT(admin_verbs_hideable) /client/proc/invisimin() set name = "Invisimin" - set category = "Admin" + set category = "Admin - Game" set desc = "Toggles ghost-like invisibility (Don't abuse this)" if(holder && mob) if(mob.invisibility == INVISIBILITY_OBSERVER) @@ -375,7 +366,7 @@ GLOBAL_PROTECT(admin_verbs_hideable) /client/proc/check_antagonists() set name = "Check Antagonists" - set category = "Admin" + set category = "Admin - Game" if(holder) holder.check_antagonists() log_admin("[key_name(usr)] checked antagonists.") //for tsar~ @@ -385,7 +376,7 @@ GLOBAL_PROTECT(admin_verbs_hideable) /client/proc/ban_panel() set name = "Banning Panel" - set category = "Admin" + set category = "Administration" if(!check_rights(R_BAN)) return holder.ban_panel() @@ -393,7 +384,7 @@ GLOBAL_PROTECT(admin_verbs_hideable) /client/proc/unban_panel() set name = "Unbanning Panel" - set category = "Admin" + set category = "Administration" if(!check_rights(R_BAN)) return holder.unban_panel() @@ -401,14 +392,14 @@ GLOBAL_PROTECT(admin_verbs_hideable) /client/proc/game_panel() set name = "Game Panel" - set category = "Admin" + set category = "Admin - Game" if(holder) holder.Game() SSblackbox.record_feedback("tally", "admin_verb", 1, "Game Panel") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! /client/proc/secrets() set name = "Secrets" - set category = "Admin" + set category = "Admin - Game" if (holder) holder.Secrets() SSblackbox.record_feedback("tally", "admin_verb", 1, "Secrets Panel") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! @@ -434,7 +425,7 @@ GLOBAL_PROTECT(admin_verbs_hideable) GLOB.stealthminID["[ckey]"] = "@[num2text(num)]" /client/proc/stealth() - set category = "Admin" + set category = "Administration" set name = "Stealth Mode" if(holder) if(holder.fakekey) @@ -466,7 +457,7 @@ GLOBAL_PROTECT(admin_verbs_hideable) SSblackbox.record_feedback("tally", "admin_verb", 1, "Stealth Mode") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! /client/proc/drop_bomb() - set category = "Special Verbs" + set category = "Fun" set name = "Drop Bomb" set desc = "Cause an explosion of varying strength at your location." @@ -508,7 +499,7 @@ GLOBAL_PROTECT(admin_verbs_hideable) SSblackbox.record_feedback("tally", "admin_verb", 1, "Drop Bomb") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! /client/proc/drop_dynex_bomb() - set category = "Special Verbs" + set category = "Fun" set name = "Drop DynEx Bomb" set desc = "Cause an explosion of varying strength at your location." @@ -607,7 +598,7 @@ GLOBAL_PROTECT(admin_verbs_hideable) message_admins("[key_name_admin(usr)] gave [key_name_admin(T)] the disease [D].") /client/proc/object_say(obj/O in world) - set category = "Special Verbs" + set category = "Admin - Events" set name = "OSay" set desc = "Makes an object say something." var/message = input(usr, "What do you want the message to be?", "Make Sound") as text | null @@ -619,7 +610,7 @@ GLOBAL_PROTECT(admin_verbs_hideable) SSblackbox.record_feedback("tally", "admin_verb", 1, "Object Say") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! /client/proc/togglebuildmodeself() set name = "Toggle Build Mode Self" - set category = "Special Verbs" + set category = "Admin - Events" if (!(holder.rank.rights & R_BUILD)) return if(src.mob) @@ -628,13 +619,13 @@ GLOBAL_PROTECT(admin_verbs_hideable) /client/proc/check_ai_laws() set name = "Check AI Laws" - set category = "Admin" + set category = "Admin - Game" if(holder) src.holder.output_ai_laws() /client/proc/deadmin() set name = "Deadmin" - set category = "Admin" + set category = "Administration" set desc = "Shed your admin powers." if(!holder) @@ -652,7 +643,7 @@ GLOBAL_PROTECT(admin_verbs_hideable) /client/proc/readmin() set name = "Readmin" - set category = "Admin" + set category = "Administration" set desc = "Regain your admin powers." var/datum/admins/A = GLOB.deadmins[ckey] @@ -711,7 +702,7 @@ GLOBAL_PROTECT(admin_verbs_hideable) /client/proc/toggle_AI_interact() set name = "Toggle Admin AI Interact" - set category = "Admin" + set category = "Admin - Game" set desc = "Allows you to interact with most machines as an AI would as a ghost" AI_Interact = !AI_Interact