From: Christian Heller Date: Tue, 15 Dec 2015 23:22:26 +0000 (+0100) Subject: New client: Add commands for picking up and waiting. X-Git-Tag: tce~235 X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/%7B%7Bdb.prefix%7D%7D/%7B%7B%20web_path%20%7D%7D/test.html?a=commitdiff_plain;h=a7e392131f0bd34b3b9c9210591c012e4889c26c;p=plomrogue New client: Add commands for picking up and waiting. --- diff --git a/client_prototype.py b/client_prototype.py index 6328c8b..53b49b2 100644 --- a/client_prototype.py +++ b/client_prototype.py @@ -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")),