+# 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
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"),),
commands = {
"A": (command_sender("ai"),),
"D": (command_sender("drop", "inventory_selection"),),
"J": (command_look_scroller("down"),),
"K": (command_look_scroller("up"),),
"Q": (command_quit,),
"U": (command_sender("use", "inventory_selection"),),
"W": (command_sender("wait"),),
"Q": (command_quit,),
"U": (command_sender("use", "inventory_selection"),),
"W": (command_sender("wait"),),
"w": (command_sender("move north-west"), command_looker("north-west")),
"x": (command_sender("move south-west"), command_looker("south-west")),
}
"w": (command_sender("move north-west"), command_looker("north-west")),
"x": (command_sender("move south-west"), command_looker("south-west")),
}