From 34d65f07de1f9364c176fea85a33bea3a51bb273 Mon Sep 17 00:00:00 2001 From: troido Date: Fri, 11 Oct 2019 20:08:15 +0200 Subject: finally got rid of all old components --- asciifarm/client/commandhandler.py | 2 +- asciifarm/keybindings/azerty.json | 2 +- 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"]]] -- cgit