home · contact · privacy
Server, plugin: Refactor play_use plugin hooking.
[plomrogue] / server / config / commands.py
index 96c31cc40d5dc2f4ba56d1e684567610f344492d..60b77fc2344fe9ae27e551f816a0ba89a0b35aee 100644 (file)
@@ -66,3 +66,7 @@ commands_db = {
     "ai": (0, False, command_ai)
 }
 # TODO: Unhandled cases: (Un-)killing animates (esp. player!) with T_LIFEPOINTS.
+
+command_worldactive_test_hook = lambda: True
+play_move_attempt_hook = lambda x, y, z: False
+play_use_attempt_hook = lambda x, y: None