home · contact · privacy
Server: Make ai func selectable.
[plomrogue] / server / config / actions.py
index 3e10f3231dfb2b089814bc4fb44189e115dc3012..66be0e20d9370e17208131852a6b527bd32a4df5 100644 (file)
@@ -5,7 +5,6 @@
 
 from server.actions import actor_wait, actor_move, actor_pickup, actor_drop, \
     actor_use
-
 action_db = {
     "actor_wait": actor_wait,
     "actor_move": actor_move,
@@ -13,3 +12,6 @@ action_db = {
     "actor_drop": actor_drop,
     "actor_use": actor_use
 }
+
+from server.ai import ai
+ai_func = ai