AI NanoUI subsystems.

Allows sharing of NanoUI code between consoles and the AI (and just about anything else).
This commit is contained in:
PsiOmega
2015-02-16 13:44:04 +01:00
parent f9ba327c3a
commit c6d88bc787
9 changed files with 409 additions and 362 deletions
+2 -1
View File
@@ -20,7 +20,8 @@
// Calling Topic without a corresponding window open causes runtime errors
if(!nowindow && ..())
return 1
if(usr.can_interact_with_interface(src, checkrange) != STATUS_INTERACTIVE)
if(usr.can_interact_with_interface(nano_host(), checkrange) != STATUS_INTERACTIVE)
return 1
add_fingerprint(usr)
return 0