home
·
contact
·
privacy
projects
/
plomrogue
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5edd97c
)
New client: Add commands for picking up and waiting.
author
Christian Heller
<c.heller@plomlompom.de>
Tue, 15 Dec 2015 23:22:26 +0000
(
00:22
+0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Tue, 15 Dec 2015 23:22:26 +0000
(
00:22
+0100)
client_prototype.py
patch
|
blob
|
history
diff --git
a/client_prototype.py
b/client_prototype.py
index 6328c8b64990f5cb65157168139e136974109dcd..53b49b250b7bef6223a90a5c07c665aab80a9586 100644
(file)
--- 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")),