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
+6 -11
View File
@@ -11,24 +11,19 @@ GLOBAL_VAR_INIT(send_emergency_team, FALSE)
GLOBAL_VAR_INIT(ert_request_answered, FALSE)
GLOBAL_LIST_EMPTY(ert_request_messages)
/client/proc/response_team()
set name = "Dispatch CentComm Response Team"
set category = "Event"
set desc = "Send an CentComm response team to the station."
if(!check_rights(R_EVENT))
return
USER_VERB(dispatch_ert, R_EVENT, "Dispatch CentComm Response Team", \
"Send an CentComm response team to the station.", \
VERB_CATEGORY_EVENT)
if(SSticker.current_state < GAME_STATE_PLAYING)
to_chat(usr, "<span class='warning'>The game hasn't started yet!</span>")
to_chat(client, "<span class='warning'>The game hasn't started yet!</span>")
return
if(SSticker.current_state == GAME_STATE_PREGAME)
to_chat(usr, "<span class='warning'>The round hasn't started yet!</span>")
to_chat(client, "<span class='warning'>The round hasn't started yet!</span>")
return
var/datum/ui_module/ert_manager/E = new()
E.ui_interact(usr)
E.ui_interact(client.mob)
/mob/proc/JoinResponseTeam()