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:
87a95c2
)
New client: Add ai command.
author
Christian Heller
<c.heller@plomlompom.de>
Wed, 16 Dec 2015 00:18:45 +0000
(
01:18
+0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Wed, 16 Dec 2015 00:18:45 +0000
(
01:18
+0100)
client_prototype.py
patch
|
blob
|
history
diff --git
a/client_prototype.py
b/client_prototype.py
index f5fc336791e5245518da7503a54d72f3610b6a76..baf42c95b683a45ab0b6a81480f23039c7c3be91 100644
(file)
--- a/
client_prototype.py
+++ b/
client_prototype.py
@@
-516,6
+516,7
@@
io = {
"path_worldstate": "server/worldstate"
}
commands = {
+ "A": (command_sender("ai"),),
"D": (command_sender("drop", "inventory_selection"),),
"P": (command_sender("pick_up"),),
"Q": (command_quit,),