Modmin verb organization (#22123)

Modmin QOL stuff.

changes:
- qol: "Adds tooltips to Player Panel buttons and better scales default
window size."
- qol: "Improves some verb subcategorization, mostly for modmin verbs."
This commit is contained in:
Batrachophreno
2026-04-03 14:22:14 +00:00
committed by GitHub
parent 0f91d90eab
commit 7f95886215
10 changed files with 53 additions and 48 deletions
+14 -14
View File
@@ -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
+5 -5
View File
@@ -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
+1 -1
View File
@@ -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)
+10 -10
View File
@@ -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))