add ai controller debugger to context menu (#31301)

This commit is contained in:
warriorstar-orion
2025-12-18 13:18:06 -05:00
committed by GitHub
parent c905f98f1d
commit 194de8e78d
2 changed files with 8 additions and 0 deletions
@@ -0,0 +1,7 @@
USER_CONTEXT_MENU(open_ai_controller_debugger, R_DEV_TEAM, "\[Dev\] AI Controller Debugger", atom/A as mob|obj in view())
if(!istype(A.ai_controller))
to_chat(client, SPAN_WARNING("[A] does not have a valid AI controller."))
return
var/datum/ui_module/ai_controller_debugger/AICD = new(A.ai_controller)
AICD.ui_interact(client.mob)