X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;ds=sidebyside;f=server%2Fconfig%2Fcommands.py;h=ec5583a353a871da18fc9babdfae1d523735bd26;hb=4f88b914763e1a8e3ab8889d4affc6205b158e9b;hp=197f7ee82dcfc63ed5c19c98743b1e5eaeb98142;hpb=0a56367e8396b2ece4c1bce8a25e93ceabd901c1;p=plomrogue
diff --git a/server/config/commands.py b/server/config/commands.py
index 197f7ee..ec5583a 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),
@@ -60,9 +60,14 @@ commands_db = {
"T_POSX": (1, False, setter_tpos("X")),
"wait": (0, False, play_wait),
"move": (1, False, play_move),
- "pick_up": (0, False, play_pickup),
+ "pickup": (0, False, play_pickup),
"drop": (1, False, play_drop),
"use": (1, False, play_use),
"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
+play_pickup_attempt_hook = lambda x: True