mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 18:44:48 +01:00
add ai controller debugger to context menu (#31301)
This commit is contained in:
committed by
GitHub
parent
c905f98f1d
commit
194de8e78d
@@ -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)
|
||||
Reference in New Issue
Block a user