summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortroido <troido@protonmail.com>2019-10-11 20:08:15 +0200
committertroido <troido@protonmail.com>2019-10-11 20:08:15 +0200
commit34d65f07de1f9364c176fea85a33bea3a51bb273 (patch)
treef580d559a7b0573044ba9c55ab42b6b59e8a8ca0
parent5231db6eed301ce86cd5026d1eeb32b4156835c3 (diff)
finally got rid of all old components
-rw-r--r--asciifarm/client/commandhandler.py2
-rw-r--r--asciifarm/keybindings/azerty.json2
2 files changed, 2 insertions, 2 deletions
diff --git a/asciifarm/client/commandhandler.py b/asciifarm/client/commandhandler.py
index 1677d7b..ec5baa3 100644
--- a/asciifarm/client/commandhandler.py
+++ b/asciifarm/client/commandhandler.py
@@ -74,7 +74,7 @@ class CommandHandler:
self.input(["say", text])
def pick(self, option):
- self.input(["pick", option])
+ self.input(["interact", [None, "north", "south", "east", "west"], option])
def chat(self, text):
self.client.sendChat( text)
diff --git a/asciifarm/keybindings/azerty.json b/asciifarm/keybindings/azerty.json
index fe27280..3d69d07 100644
--- a/asciifarm/keybindings/azerty.json
+++ b/asciifarm/keybindings/azerty.json
@@ -5,7 +5,7 @@
"w": null,
"W": null,
"q": ["move", "west"],
- "a": ["unuse"],
+ "a": ["drop"],
"A": ["take"],
"Z": ["input", ["attack", ["north"]]],
"Q": ["input", ["attack", ["west"]]]