home · contact · privacy
Server, plugin: Refactor play_pickup plugin hooking.
[plomrogue] / server / config / commands.py
index 76380a1061b7026b99db924f89ce43fefa6a1698..ec5583a353a871da18fc9babdfae1d523735bd26 100644 (file)
@@ -68,3 +68,6 @@ 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
+play_pickup_attempt_hook = lambda x: True