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 14:18:22 -05:00
committed by GitHub
parent f89b05ee88
commit 2a842644d5
92 changed files with 1751 additions and 3113 deletions

View File

@@ -143,15 +143,8 @@ GLOBAL_VAR_INIT(total_runtimes_skipped, 0)
GLOB.error_cache.logError(e, desclines, e_src = e_src)
#endif
/client/proc/throw_runtime()
set name = "Throw Runtime"
set desc = "Throws a runtime, what did you expect?"
set category = "Debug"
if(!check_rights(R_MAINTAINER))
return
throw_runtime_inner(1337, 0)
USER_VERB(throw_runtime, R_MAINTAINER, "Throw Runtime", "Throws a runtime, what did you expect?", VERB_CATEGORY_DEBUG)
client.throw_runtime_inner(1337, 0)
/client/proc/throw_runtime_inner(x, y)
to_chat(usr, "[x]/[y]=[x/y]")