diff --git a/code/game/gamemodes/game_mode.dm b/code/game/gamemodes/game_mode.dm index 284abcc54af..b6c2aa88a30 100644 --- a/code/game/gamemodes/game_mode.dm +++ b/code/game/gamemodes/game_mode.dm @@ -553,7 +553,7 @@ GLOBAL_LIST_EMPTY(additional_antag_types) to_chat(C.mob, logout_report) /client/proc/print_logout_report() - set category = "Admin" + set category = "Admin.Player Info" set name = "Print Logout Report" if(!check_rights(R_ADMIN|R_MOD)) diff --git a/code/modules/admin/admin.dm b/code/modules/admin/admin.dm index 25afaf30113..15cf50b8ec5 100644 --- a/code/modules/admin/admin.dm +++ b/code/modules/admin/admin.dm @@ -35,7 +35,7 @@ var/global/enabled_spooking = 0 ///////////////////////////////////////////////////////////////////////////////////////////////Panels /datum/admins/proc/show_player_panel(var/mob/M in GLOB.mob_list) - set category = "Admin" + set category = "Admin.Player Info" set name = "Show Player Panel" set desc="Edit player (respawn, ban, heal, etc)" @@ -236,7 +236,7 @@ var/global/enabled_spooking = 0 #define PLAYER_NOTES_ENTRIES_PER_PAGE 50 /datum/admins/proc/PlayerNotes() - set category = "Admin" + set category = "Admin.Player Info" set name = "Player Notes" if (!istype(src,/datum/admins)) src = usr.client.holder @@ -299,7 +299,7 @@ var/global/enabled_spooking = 0 /datum/admins/proc/show_player_info(var/key as text) - set category = "Admin" + set category = "Admin.Player Info" set name = "Show Player Info" if (!istype(src,/datum/admins)) src = usr.client.holder @@ -694,7 +694,7 @@ var/global/enabled_spooking = 0 /datum/admins/proc/announce() - set category = "Special Verbs" + set category = "Special Verbs.Narration/Messaging" set name = "Announce" set desc="Announce your desires to the world" @@ -1352,7 +1352,7 @@ var/global/enabled_spooking = 0 feedback_add_details("admin_verb","SPOOKY") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! /datum/admins/proc/ccannoucment() - set category = "Special Verbs" + set category = "Special Verbs.Narration/Messaging" set name = "Custom sound Command Announcment" set desc = "Emulate announcement that looks and sounds like the real one." if(!check_rights(R_FUN)) diff --git a/code/modules/admin/admin_verbs.dm b/code/modules/admin/admin_verbs.dm index 4beb0c2c628..48f9c973ae0 100644 --- a/code/modules/admin/admin_verbs.dm +++ b/code/modules/admin/admin_verbs.dm @@ -668,7 +668,7 @@ GLOBAL_LIST_INIT(admin_verbs_storyteller, list( /client/proc/player_panel_modern() set name = "Player Panel" - set category = "Admin" + set category = "Admin.Player Info" if(holder) var/static/datum/tgui_module/moderator/shared/player_panel/global_player_panel = new() global_player_panel.ui_interact(usr) @@ -678,7 +678,7 @@ GLOBAL_LIST_INIT(admin_verbs_storyteller, list( /client/proc/check_antagonists() set name = "Check Antagonists" - set category = "Admin" + set category = "Admin.Player Info" if(holder) var/static/datum/tgui_module/moderator/shared/check_antagonists/global_check_antags = new() global_check_antags.ui_interact(usr) @@ -694,7 +694,7 @@ GLOBAL_LIST_INIT(admin_verbs_storyteller, list( /client/proc/jobbans() set name = "Display Job bans" - set category = "Admin" + set category = "Admin.Player Info" if(holder) if(GLOB.config.ban_legacy_system) holder.Jobbans() @@ -705,7 +705,7 @@ GLOBAL_LIST_INIT(admin_verbs_storyteller, list( /client/proc/unban_panel() set name = "Unban Panel" - set category = "Admin" + set category = "Admin.Player Info" if(holder) if(GLOB.config.ban_legacy_system) holder.unbanpanel() @@ -815,8 +815,8 @@ GLOBAL_LIST_INIT(admin_verbs_storyteller, list( feedback_add_details("admin_verb","TBMS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! /client/proc/object_talk(var/msg as text) // -- TLE - set category = "Special Verbs" - set name = "oSay" + set category = "Admin.Chat" + set name = "Osay" set desc = "Display a message to everyone who can hear the target" if(mob.control_object) if(!msg) @@ -885,7 +885,7 @@ GLOBAL_LIST_INIT(admin_verbs_storyteller, list( /client/proc/check_ai_laws() set name = "Check AI Laws" - set category = "Admin" + set category = "Admin.Player Info" if(holder || isstoryteller(src.mob)) src.holder.output_ai_laws() @@ -1040,7 +1040,7 @@ GLOBAL_LIST_INIT(admin_verbs_storyteller, list( /client/proc/playernotes() set name = "Show Player Info" - set category = "Admin" + set category = "Admin.Player Info" if(holder) holder.PlayerNotes() return @@ -1344,7 +1344,7 @@ GLOBAL_LIST_INIT(admin_verbs_storyteller, list( /client/proc/alooc(msg as text) set name = "ALOOC" set desc = "Admin Local OOC, seen only by those in view, regardless of their LOOC preferences." - set category = "Admin" + set category = "Admin.Chat" set hidden = 1 if(!check_rights(R_ADMIN|R_MOD)) diff --git a/code/modules/admin/player_panel.dm b/code/modules/admin/player_panel.dm index 981c5c65687..37afb399f1b 100644 --- a/code/modules/admin/player_panel.dm +++ b/code/modules/admin/player_panel.dm @@ -139,7 +139,7 @@ /datum/tgui_module/moderator/shared/player_panel/ui_interact(mob/user, var/datum/tgui/ui) ui = SStgui.try_update_ui(user, src, ui) if(!ui) - ui = new(user, src, "PlayerPanel", "Player Panel", 800, 600) + ui = new(user, src, "PlayerPanel", "Player Panel", 960, 600) ui.open() /datum/tgui_module/moderator/shared/player_panel/ui_data(mob/user) diff --git a/code/modules/admin/verbs/adminjump.dm b/code/modules/admin/verbs/adminjump.dm index 951ccf0f435..6f34b9fcc19 100644 --- a/code/modules/admin/verbs/adminjump.dm +++ b/code/modules/admin/verbs/adminjump.dm @@ -7,7 +7,7 @@ /client/proc/Jump(var/area/A in get_sorted_areas()) set name = "Jump to Area" set desc = "Area to jump to" - set category = "Admin" + set category = "Admin.Jump" if(check_rights(R_ADMIN|R_MOD|R_DEBUG|R_DEV) || isstoryteller(src.mob)) if(istype(usr, /mob/abstract/new_player)) @@ -25,7 +25,7 @@ /client/proc/jumptoturf(var/turf/T in world) set name = "Jump to Turf" - set category = "Admin" + set category = "Admin.Jump" if(check_rights(R_ADMIN|R_MOD|R_DEBUG|R_DEV) || isstoryteller(src.mob)) if(isnewplayer(usr)) @@ -42,7 +42,7 @@ return /client/proc/jumptomob(var/mob/M in GLOB.mob_list) - set category = "Admin" + set category = "Admin.Jump" set name = "Jump to Mob Admin" if(check_rights(R_ADMIN|R_MOD|R_DEBUG|R_DEV) || isstoryteller(src.mob)) @@ -65,7 +65,7 @@ alert("Admin jumping disabled") /client/proc/jumptocoord(tx as num, ty as num, tz as num) - set category = "Admin" + set category = "Admin.Jump" set name = "Jump to Coordinate" if(!check_rights(R_ADMIN|R_MOD|R_DEBUG|R_DEV)) @@ -85,7 +85,7 @@ alert("Admin jumping disabled") /client/proc/jumptozlevel() - set category = "Admin" + set category = "Admin.Jump" set name = "Jump to Z-Level" if(check_rights(R_ADMIN|R_MOD|R_DEBUG|R_DEV) || isstoryteller(src.mob)) @@ -109,7 +109,7 @@ alert("Admin jumping disabled") /client/proc/jumptoshuttle() - set category = "Admin" + set category = "Admin.Jump" set name = "Jump to Shuttle" if(check_rights(R_ADMIN|R_MOD|R_DEBUG|R_DEV) || isstoryteller(src.mob)) @@ -131,7 +131,7 @@ alert("Admin jumping disabled") /client/proc/jumptoship() - set category = "Admin" + set category = "Admin.Jump" set name = "Jump to Ship" if(check_rights(R_ADMIN|R_MOD|R_DEBUG|R_DEV) || isstoryteller(src.mob)) @@ -153,7 +153,7 @@ alert("Admin jumping disabled") /client/proc/jumptosector() - set category = "Admin" + set category = "Admin.Jump" set name = "Jump to Sector" if(check_rights(R_ADMIN|R_MOD|R_DEBUG|R_DEV) || isstoryteller(src.mob)) @@ -178,7 +178,7 @@ alert("Admin jumping disabled") /client/proc/jumptokey() - set category = "Admin" + set category = "Admin.Jump" set name = "Jump to Key" if(!check_rights(R_ADMIN|R_MOD|R_DEBUG|R_DEV)) @@ -202,8 +202,8 @@ alert("Admin jumping disabled") /client/proc/Getmob(var/mob/M in GLOB.mob_list) - set category = "Admin" - set name = "Get Mob" + set category = "Admin.Jump" + set name = "Get Mob to Teleport" set desc = "Mob to teleport" if(check_rights(R_ADMIN|R_MOD|R_DEBUG) || isstoryteller(src.mob)) if(GLOB.config.allow_admin_jump) @@ -216,8 +216,8 @@ alert("Admin jumping disabled") /client/proc/Getkey() - set category = "Admin" - set name = "Get Key" + set category = "Admin.Jump" + set name = "Get Key to Teleport" set desc = "Key to teleport" if(!check_rights(R_ADMIN|R_MOD|R_DEBUG)) @@ -244,7 +244,7 @@ alert("Admin jumping disabled") /client/proc/sendmob(var/mob/M in sortmobs()) - set category = "Admin" + set category = "Admin.Jump" set name = "Send Mob" if(!check_rights(R_ADMIN|R_MOD|R_DEBUG)) return diff --git a/code/modules/admin/verbs/adminsay.dm b/code/modules/admin/verbs/adminsay.dm index b23ba1f78cf..d9bb3ebf0a5 100644 --- a/code/modules/admin/verbs/adminsay.dm +++ b/code/modules/admin/verbs/adminsay.dm @@ -1,5 +1,5 @@ /client/proc/cmd_admin_say(msg as text) - set category = "Special Verbs" + set category = "Admin.Chat" set name = "Asay" //Gave this shit a shorter name so you only have to time out "asay" rather than "admin say" to use it --NeoFite set hidden = 1 if(!check_rights(R_ADMIN)) return @@ -18,7 +18,7 @@ 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) - set category = "Special Verbs" + set category = "Admin.Chat" set name = "Msay" set hidden = 1 @@ -41,7 +41,7 @@ feedback_add_details("admin_verb","MS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! /client/proc/cmd_dev_say(msg as text) - set category = "OOC.Chat" + set category = "Admin.Chat" set name = "Devsay" set hidden = 1 @@ -60,8 +60,8 @@ to_chat(C, msg) /client/proc/cmd_cciaa_say(msg as text) - set category = "Special Verbs" - set name = "Dosay" + set category = "Admin.Chat" + set name = "CCIAsay" set hidden = 1 if(!check_rights(R_ADMIN|R_CCIAA)) return diff --git a/code/modules/admin/verbs/deadsay.dm b/code/modules/admin/verbs/deadsay.dm index c3cc3167464..9b6bc363251 100644 --- a/code/modules/admin/verbs/deadsay.dm +++ b/code/modules/admin/verbs/deadsay.dm @@ -1,5 +1,5 @@ /client/proc/dsay(msg as text) - set category = "OOC.Chat" + set category = "Admin.Chat" set name = "Dsay" //Gave this shit a shorter name so you only have to time out "dsay" rather than "dead say" to use it --NeoFite set hidden = 1 if(!src.holder) diff --git a/code/modules/admin/verbs/randomverbs.dm b/code/modules/admin/verbs/randomverbs.dm index 18c938790cd..3ee9da10cb1 100644 --- a/code/modules/admin/verbs/randomverbs.dm +++ b/code/modules/admin/verbs/randomverbs.dm @@ -1,5 +1,5 @@ /client/proc/cmd_admin_drop_everything(mob/M as mob in GLOB.mob_list) - set category = null + set category = "Admin" set name = "Drop Everything" if(!holder) to_chat(src, "Only administrators may use this command.") @@ -18,7 +18,7 @@ /client/proc/cmd_admin_subtle_message(mob/M as mob in GLOB.mob_list) - set category = "Special Verbs" + set category = "Special Verbs.Narration/Messaging" set name = "Subtle Message" if(!ismob(M)) return @@ -40,7 +40,7 @@ feedback_add_details("admin_verb","SMS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! /client/proc/cmd_mentor_check_new_players() //Allows mentors / admins to determine who the newer players are. - set category = "Admin" + set category = "Admin.Player Info" set name = "Check new Players" if(!holder) to_chat(src, "Only staff members may use this command.") @@ -76,7 +76,7 @@ /client/proc/cmd_admin_world_narrate() // Allows administrators to fluff events a little easier -- TLE - set category = "Special Verbs" + set category = "Special Verbs.Narration/Messaging" set name = "Global Narrate" if (!holder) @@ -93,7 +93,7 @@ feedback_add_details("admin_verb","GLN") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! /client/proc/cmd_admin_local_narrate() - set category = "Special Verbs" + set category = "Special Verbs.Narration/Messaging" set name = "Local Narrate" if(!check_rights(R_ADMIN, TRUE)) @@ -121,7 +121,7 @@ /client/proc/cmd_admin_local_screen_text() - set category = "Special Verbs" + set category = "Special Verbs.Narration/Messaging" set name = "Local Screen Text" if(!check_rights(R_ADMIN, TRUE)) @@ -155,7 +155,7 @@ feedback_add_details("admin_verb", "LSTX") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! /client/proc/cmd_admin_global_screen_text() - set category = "Special Verbs" + set category = "Special Verbs.Narration/Messaging" set name = "Global Screen Text" if(!check_rights(R_ADMIN, TRUE)) @@ -179,7 +179,7 @@ feedback_add_details("admin_verb", "GSTX") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! /client/proc/cmd_admin_direct_narrate(var/mob/M) // Targetted narrate -- TLE - set category = "Special Verbs" + set category = "Special Verbs.Narration/Messaging" set name = "Direct Narrate" if(!holder) @@ -602,7 +602,7 @@ Traitors and the like can also be revived with the previous role mostly intact. feedback_add_details("admin_verb","REJU") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! /client/proc/cmd_admin_create_centcom_report() - set category = "Special Verbs" + set category = "Special Verbs.Narration/Messaging" set name = "Create Command Report" if(!holder) @@ -1129,7 +1129,7 @@ Traitors and the like can also be revived with the previous role mostly intact. // Variant of the narrate panel that is for admins. This is logged to check if people are abusing it. /client/proc/cmd_admin_open_narrate_panel() - set category = "Special Verbs" + set category = "Special Verbs.Narration/Messaging" set name = "Narration Panel" if (!check_rights(R_ADMIN, TRUE)) diff --git a/code/modules/cciaa/cciaa.dm b/code/modules/cciaa/cciaa.dm index 4318f0a57d4..713e4e3b57b 100644 --- a/code/modules/cciaa/cciaa.dm +++ b/code/modules/cciaa/cciaa.dm @@ -1,7 +1,7 @@ /datum/admins/proc/create_admin_fax() set name = "Send Admin Fax" set desc = "Send a fax from Central Command." - set category = "Special Verbs" + set category = "Special Verbs.Narration/Messaging" if (check_rights(R_ADMIN|R_CCIAA|R_FUN) || isstoryteller(usr)) var/list/faxes = list() @@ -68,7 +68,7 @@ /client/proc/check_fax_history() set name = "Check fax history" set desc = "Look up the faxes sent this round." - set category = "Special Verbs" + set category = "Special Verbs.Narration/Messaging" if (check_rights(R_ADMIN|R_CCIAA|R_FUN) || isstoryteller(usr)) var/data = "
Send New Fax
" diff --git a/html/changelogs/Bat-ModStuff.yml b/html/changelogs/Bat-ModStuff.yml new file mode 100644 index 00000000000..edf5cc634d7 --- /dev/null +++ b/html/changelogs/Bat-ModStuff.yml @@ -0,0 +1,5 @@ +author: Batrachophrenoboocosmomachia +delete-after: True +changes: + - qol: "Slightly increases Player Panel default window size." + - qol: "Improves some verb subcategorization, mostly for modmin verbs."