home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
New client: Add ai command.
[plomrogue]
/
client_prototype.py
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,),