X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=server%2Fconfig%2Fcommands.py;h=60b77fc2344fe9ae27e551f816a0ba89a0b35aee;hb=51baedbbcc82b64b36bd95f9e1493962853e801b;hp=84ac8e298c32d79c381bd1278a4ba3f9e20f252a;hpb=009f06a7a2baef5af4474b18fd75b19c05befb4f;p=plomrogue diff --git a/server/config/commands.py b/server/config/commands.py index 84ac8e2..60b77fc 100644 --- a/server/config/commands.py +++ b/server/config/commands.py @@ -20,7 +20,7 @@ be ignored in replay mode if read from server input file), and ([2]) a function to be called on it. """ commands_db = { - "PLUGIN": (1, True, command_plugin), + "PLUGIN": (1, False, command_plugin), "QUIT": (0, True, command_quit), "PING": (0, True, command_ping), "THINGS_HERE": (2, True, command_thingshere), @@ -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