home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
TCE: Add basic worldconf, default to it.
[plomrogue]
/
server
/
config
/
actions.py
diff --git
a/server/config/actions.py
b/server/config/actions.py
index 66be0e20d9370e17208131852a6b527bd32a4df5..e2aff197a3439268411b05f07bf6c0c0ababfda3 100644
(file)
--- a/
server/config/actions.py
+++ b/
server/config/actions.py
@@
-5,6
+5,8
@@
from server.actions import actor_wait, actor_move, actor_pickup, actor_drop, \
actor_use
from server.actions import actor_wait, actor_move, actor_pickup, actor_drop, \
actor_use
+
+
action_db = {
"actor_wait": actor_wait,
"actor_move": actor_move,
action_db = {
"actor_wait": actor_wait,
"actor_move": actor_move,
@@
-12,6
+14,6
@@
action_db = {
"actor_drop": actor_drop,
"actor_use": actor_use
}
"actor_drop": actor_drop,
"actor_use": actor_use
}
-
-from server.ai import ai
-a
i_func = ai
+actor_pickup_test_hook = lambda x, y: True
+actor_use_attempts_hook = lambda x, y: None
+a
ctor_move_attempts_hook = lambda x, y, z: None