home · contact · privacy
Server, plugin: Refactor actor_use plugin hooking.
[plomrogue] / server / config / actions.py
index 3e10f3231dfb2b089814bc4fb44189e115dc3012..0d6a3a95f9eedf1f0cdd4d3dcc49e74c6edad483 100644 (file)
@@ -6,6 +6,7 @@
 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 +14,5 @@ action_db = {
     "actor_drop": actor_drop,
     "actor_use": actor_use
 }
+actor_pickup_test_hook = lambda x, y: True
+actor_use_attempts_hook = lambda x, y: None