home · contact · privacy
Server, plugin: Refactor play_use plugin hooking.
[plomrogue] / server / config / commands.py
index 76380a1061b7026b99db924f89ce43fefa6a1698..60b77fc2344fe9ae27e551f816a0ba89a0b35aee 100644 (file)
@@ -68,3 +68,5 @@ commands_db = {
 # 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