home · contact · privacy
Server, plugin: Refactor ai (plugin hooks).
[plomrogue] / client / config / commands.py
index 7de9574f3983532dcab6096e7a9d7f1d07234c3d..e76d1918412c5c1c3c0b9a4072626ae88737b3d8 100644 (file)
@@ -1,13 +1,19 @@
+# This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3
+# or any later version. For details on its copyright, license, and warranties,
+# see the file NOTICE in the root directory of the PlomRogue source package.
+
+
 from client.commands import command_sender, command_look_scroller, \
     command_quit, command_looker, command_inventory_selector, \
     command_toggle_look_mode
 
+
 commands = {
     "A": (command_sender("ai"),),
     "D": (command_sender("drop", "inventory_selection"),),
     "J": (command_look_scroller("down"),),
     "K": (command_look_scroller("up"),),
-    "P": (command_sender("pick_up"),),
+    "P": (command_sender("pickup"),),
     "Q": (command_quit,),
     "U": (command_sender("use", "inventory_selection"),),
     "W": (command_sender("wait"),),