X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/%7B%7Bdeck_id%7D%7D/cards/%7B%7Bcard_id%7D%7D/static/git-logo.png?a=blobdiff_plain;f=server%2Fconfig%2Fcommands.py;h=ec5583a353a871da18fc9babdfae1d523735bd26;hb=56c719c341e67c42d28381e6d4a06a3e87f0688f;hp=76380a1061b7026b99db924f89ce43fefa6a1698;hpb=96ae4658e929cddfb36549484c532674a2867f0e;p=plomrogue diff --git a/server/config/commands.py b/server/config/commands.py index 76380a1..ec5583a 100644 --- a/server/config/commands.py +++ b/server/config/commands.py @@ -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