home · contact · privacy
New client: Add use command.
authorChristian Heller <c.heller@plomlompom.de>
Wed, 16 Dec 2015 00:16:35 +0000 (01:16 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Wed, 16 Dec 2015 00:16:35 +0000 (01:16 +0100)
client_prototype.py

index ea7af0e714b3eb1608975c7921cab8991497d890..f5fc336791e5245518da7503a54d72f3610b6a76 100644 (file)
@@ -519,6 +519,7 @@ commands = {
     "D": (command_sender("drop", "inventory_selection"),),
     "P": (command_sender("pick_up"),),
     "Q": (command_quit,),
+    "U": (command_sender("use", "inventory_selection"),),
     "W": (command_sender("wait"),),
     "c": (command_sender("move south-east"), command_looker("south-east")),
     "d": (command_sender("move east"), command_looker("east")),