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
+2 -2
View File
@@ -167,7 +167,7 @@ RESTRICT_TYPE(/datum/ui_module/admin/antagonist_menu)
if(QDELETED(mind.current))
to_chat(ui.user, "<span class='warning'>Mind doesn't have a corresponding mob.</span>")
return
ui.user.client.holder.show_player_panel(mind.current)
SSuser_verbs.invoke_verb(ui.user, /datum/user_verb/show_player_panel, mind.current)
if("pm")
ui.user.client.cmd_admin_pm(params["ckey"], null)
if("follow")
@@ -179,7 +179,7 @@ RESTRICT_TYPE(/datum/ui_module/admin/antagonist_menu)
if(!ismob(mind.current))
to_chat(ui.user, "<span class='warning'>This can only be used on instances of type /mob</span>")
return
C.admin_observe_target(mind.current)
SSuser_verbs.invoke_verb(C, /datum/user_verb/admin_observe_target, mind.current)
if("tp")
var/datum/mind/mind = locateUID(params["mind_uid"])
if(QDELETED(mind))