home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Server, plugin: Refactor play_use plugin hooking.
[plomrogue]
/
server
/
config
/
commands.py
diff --git
a/server/config/commands.py
b/server/config/commands.py
index 76380a1061b7026b99db924f89ce43fefa6a1698..60b77fc2344fe9ae27e551f816a0ba89a0b35aee 100644
(file)
--- a/
server/config/commands.py
+++ b/
server/config/commands.py
@@
-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