home · contact · privacy
Client: Remove debugging code, superfluous whitespace.
[plomrogue] / client / config / commands.py
1 from client.commands import command_sender, command_look_scroller, \
2     command_quit, command_looker, command_inventory_selector, \
3     command_toggle_look_mode
4
5 commands = {
6     "A": (command_sender("ai"),),
7     "D": (command_sender("drop", "inventory_selection"),),
8     "J": (command_look_scroller("down"),),
9     "K": (command_look_scroller("up"),),
10     "P": (command_sender("pick_up"),),
11     "Q": (command_quit,),
12     "U": (command_sender("use", "inventory_selection"),),
13     "W": (command_sender("wait"),),
14     "c": (command_sender("move south-east"), command_looker("south-east")),
15     "d": (command_sender("move east"), command_looker("east")),
16     "e": (command_sender("move north-east"), command_looker("north-east")),
17     "j": (command_inventory_selector("down"),),
18     "k": (command_inventory_selector("up"),),
19     "l": (command_toggle_look_mode,),
20     "s": (command_sender("move west"), command_looker("west")),
21     "w": (command_sender("move north-west"), command_looker("north-west")),
22     "x": (command_sender("move south-west"), command_looker("south-west")),
23 }