summaryrefslogtreecommitdiff
path: root/asciifarm/keybindings/default.json
diff options
context:
space:
mode:
authortroido <troido@protonmail.com>2019-01-18 18:11:04 +0100
committertroido <troido@protonmail.com>2019-01-18 18:11:04 +0100
commitc9744caa15350f07626676d0dc48e38be317494a (patch)
tree5dc16e3010b702804e5248785626a2d2d709a545 /asciifarm/keybindings/default.json
parent01399d4be6f3dacb7c0bed2b84edbbc63331b83e (diff)
changed filenames for resource configs
Diffstat (limited to 'asciifarm/keybindings/default.json')
-rw-r--r--asciifarm/keybindings/default.json42
1 files changed, 42 insertions, 0 deletions
diff --git a/asciifarm/keybindings/default.json b/asciifarm/keybindings/default.json
new file mode 100644
index 0000000..a816527
--- /dev/null
+++ b/asciifarm/keybindings/default.json
@@ -0,0 +1,42 @@
+{
+"actions": {
+"w": ["move", "north"],
+"s": ["move", "south"],
+"d": ["move", "east"],
+"a": ["move", "west"],
+"KEY_UP": ["move", "north"],
+"KEY_DOWN": ["move", "south"],
+"KEY_RIGHT": ["move", "east"],
+"KEY_LEFT": ["move", "west"],
+"k": ["move", "north"],
+"j": ["move", "south"],
+"l": ["move", "east"],
+"h": ["move", "west"],
+"e": ["input", ["take"]],
+"q": ["unuse"],
+"Q": ["take"],
+"E": ["use"],
+"R": ["input", ["interact"]],
+"r": ["input", ["interact", [null, "north", "south", "east", "west"]]],
+"x": ["selectitem", -1, true, true],
+"c": ["selectitem", 1, true, true],
+"v": ["selectwidget", -1, true, true],
+"b": ["selectwidget", 1, true, true],
+"-": ["selectitem", -1, true, true],
+"+": ["selectitem", 1, true, true],
+"/": ["selectwidget", -1, true, true],
+"*": ["selectwidget", 1, true, true],
+"f": ["input", ["attack", [null, "north", "south", "east", "west"]]],
+"F": ["input", ["attack"]],
+"W": ["input", ["attack", "north"]],
+"S": ["input", ["attack", "south"]],
+"D": ["input", ["attack", "east"]],
+"A": ["input", ["attack", "west"]],
+"t": ["runinput"],
+"NEWLINE": ["runinput"],
+"KEY_PPAGE": ["scrollchat", 1],
+"KEY_NPAGE": ["scrollchat", -1],
+"/": ["runinput", "/"]
+},
+"help": "Controls:\n wasd or arrows:\n Move around\n e: Grab\n q: Drop/unequip\n selected\n r: Interact\n f: Attack\n t: Chat\n E: Use selected\n Q: Take selected\n xc: select item\n vb: select menu\n ctrl-c: close client"
+}