add ai controller debugger to context menu (#31301)

This commit is contained in:
warriorstar-orion
2025-12-18 18:18:06 +00: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)
+1
View File
@@ -1644,6 +1644,7 @@
#include "code\modules\admin\verbs\adminjump.dm"
#include "code\modules\admin\verbs\adminpm.dm"
#include "code\modules\admin\verbs\adminsay.dm"
#include "code\modules\admin\verbs\ai_controller_debugger_verb.dm"
#include "code\modules\admin\verbs\antag-ooc.dm"
#include "code\modules\admin\verbs\asays.dm"
#include "code\modules\admin\verbs\atmosdebug.dm"