Server maint subsystem (#16518)

* upports server maint subsystem

* fix runtime in admin z narrate

* .

* sorts them verbs

* .

* .

* Update code/controllers/subsystems/statpanel.dm

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>

* Update code/controllers/subsystems/server_maint.dm

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>

---------

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>
This commit is contained in:
Kashargul
2024-11-04 11:44:44 +01:00
committed by GitHub
co-authored by Selis
parent 5fb49d6f96
commit 4879a52633
230 changed files with 842 additions and 691 deletions
+4 -4
View File
@@ -43,7 +43,7 @@ var/list/mentor_verbs_default = list(
remove_verb(src, mentor_verbs_default)
/client/proc/make_mentor()
set category = "Special Verbs"
set category = "Admin.Secrets"
set name = "Make Mentor"
if(!holder)
to_chat(src, span_admin_pm_warning("Error: Only administrators may use this command."))
@@ -66,7 +66,7 @@ var/list/mentor_verbs_default = list(
feedback_add_details("admin_verb","Make Mentor") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/unmake_mentor()
set category = "Special Verbs"
set category = "Admin.Secrets"
set name = "Unmake Mentor"
if(!holder)
to_chat(src, span_admin_pm_warning("Error: Only administrators may use this command."))
@@ -85,7 +85,7 @@ var/list/mentor_verbs_default = list(
feedback_add_details("admin_verb","Unmake Mentor") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/cmd_mentor_say(msg as text)
set category = "Admin"
set category = "Admin.Chat"
set name ="Mentorsay"
//check rights
@@ -126,7 +126,7 @@ var/list/mentor_verbs_default = list(
mentor_commands(href, href_list, usr)
/client/proc/cmd_dementor()
set category = "Admin"
set category = "Admin.Misc"
set name = "De-mentor"
if(tgui_alert(usr, "Confirm self-dementor for the round? You can't re-mentor yourself without someone promoting you.","Dementor",list("Yes","No")) == "Yes")
+1 -1
View File
@@ -480,7 +480,7 @@ GLOBAL_DATUM_INIT(mhelp_tickets, /datum/mentor_help_tickets, new)
//admin proc
/client/proc/cmd_mentor_ticket_panel()
set name = "Mentor Ticket List"
set category = "Admin"
set category = "Admin.Misc"
var/browse_to