home · contact · privacy
New client: Add commands for picking up and waiting.
authorChristian Heller <c.heller@plomlompom.de>
Tue, 15 Dec 2015 23:22:26 +0000 (00:22 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Tue, 15 Dec 2015 23:22:26 +0000 (00:22 +0100)
client_prototype.py

index 6328c8b64990f5cb65157168139e136974109dcd..53b49b250b7bef6223a90a5c07c665aab80a9586 100644 (file)
@@ -492,7 +492,9 @@ io = {
     "path_worldstate": "server/worldstate"
 }
 commands = {
+    "P": (command_sender("pick_up"),),
     "Q": (command_quit,),
+    "W": (command_sender("wait"),),
     "c": (command_sender("move south-east"), command_looker("south-east")),
     "d": (command_sender("move east"), command_looker("east")),
     "e": (command_sender("move north-east"), command_looker("north-east")),