mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user