X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;ds=inline;f=server%2Fconfig%2Factions.py;h=e2aff197a3439268411b05f07bf6c0c0ababfda3;hb=d6659c644efbfaa3906c7ab36b17ca68c0dd1961;hp=c07a9d83eff6067817062231189b3f70ca100682;hpb=08f8592f1a1e5d340b6c2372551f0a3da28a07d8;p=plomrogue
diff --git a/server/config/actions.py b/server/config/actions.py
index c07a9d8..e2aff19 100644
--- a/server/config/actions.py
+++ b/server/config/actions.py
@@ -1,10 +1,19 @@
-from server.actions import actor_wait, actor_move, actor_pick_up, actor_drop, \
+# This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3
+# or any later version. For details on its copyright, license, and warranties,
+# see the file NOTICE in the root directory of the PlomRogue source package.
+
+
+from server.actions import actor_wait, actor_move, actor_pickup, actor_drop, \
actor_use
+
action_db = {
"actor_wait": actor_wait,
"actor_move": actor_move,
- "actor_pick_up": actor_pick_up,
+ "actor_pickup": actor_pickup,
"actor_drop": actor_drop,
"actor_use": actor_use
}
+actor_pickup_test_hook = lambda x, y: True
+actor_use_attempts_hook = lambda x, y: None
+actor_move_attempts_hook = lambda x, y, z: None