port ADMIN_VERB and friends (#30646)

* port ADMIN_VERB and friends

* some renaming

* dumb

* one more rename

* never search and replace this codebase

* fix TM issues, more renaming

* add a static analysis to shore up user verbs

* fix double message on roundstart

* remove macro we're not using yet

* convert remaining playsounds verbs

* convert more verbs i missed somehow

* why is this a completely different signature than everything else

* fix ui_interact arg

* fix logging view and others

* buncha issues caught in TM

* fix mentor tickets ui

* fix bug report viewing

* moron
This commit is contained in:
warriorstar-orion
2025-12-12 19:18:22 +00:00
committed by GitHub
parent f89b05ee88
commit 2a842644d5
92 changed files with 1751 additions and 3113 deletions
+3 -9
View File
@@ -2,16 +2,10 @@
#define LIBRARY_MENU_CKEY 2
#define LIBRARY_MENU_REPORTS 3
/client/proc/library_manager()
set name = "Manage Library"
set category = "Admin"
set desc = "Manage Flagged Books and Perform Maintenance on the Library System"
if(!check_rights(R_ADMIN))
return
USER_VERB(library_manager, R_ADMIN, "Manage Library", "Manage Flagged Books and Perform Maintenance on the Library System", VERB_CATEGORY_ADMIN)
var/datum/ui_module/library_manager/L = new()
L.ui_interact(usr)
L.ui_interact(client.mob)
SSblackbox.record_feedback("tally", "admin_verb", 1, "Manage Library") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/datum/ui_module/library_manager
name = "Library Manager"