X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=client%2Fconfig%2Fcommands.py;h=e76d1918412c5c1c3c0b9a4072626ae88737b3d8;hb=HEAD;hp=c6cd627df58da6233c7e28c20ff5cde0d73f51d7;hpb=3d4ef72a869787ade399af85a42ab0aef9d73766;p=plomrogue diff --git a/client/config/commands.py b/client/config/commands.py index c6cd627..e76d191 100644 --- a/client/config/commands.py +++ b/client/config/commands.py @@ -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"),), @@ -21,4 +27,3 @@ commands = { "w": (command_sender("move north-west"), command_looker("north-west")), "x": (command_sender("move south-west"), command_looker("south-west")), } -