summaryrefslogtreecommitdiff
path: root/keybindings
diff options
context:
space:
mode:
authortroido <troido@protonmail.com>2020-03-06 11:26:59 +0100
committertroido <troido@protonmail.com>2020-03-06 11:26:59 +0100
commitdd07ff4d686f07cdc9736627dd0ef099ef5e4e4f (patch)
treef43310b3779a95efd74a40ba8139cf146ad49051 /keybindings
parentc9366616079240cd7ee3d243c9f6897d40b4267d (diff)
new directory structure for the separate client repo
Diffstat (limited to 'keybindings')
-rw-r--r--keybindings/azerty.json14
-rw-r--r--keybindings/default.json42
2 files changed, 56 insertions, 0 deletions
diff --git a/keybindings/azerty.json b/keybindings/azerty.json
new file mode 100644
index 0000000..3d69d07
--- /dev/null
+++ b/keybindings/azerty.json
@@ -0,0 +1,14 @@
+{
+ "templates": ["default"],
+ "actions": {
+ "z": ["move", "north"],
+ "w": null,
+ "W": null,
+ "q": ["move", "west"],
+ "a": ["drop"],
+ "A": ["take"],
+ "Z": ["input", ["attack", ["north"]]],
+ "Q": ["input", ["attack", ["west"]]]
+ },
+ "help": "Controls:\n aqsd or arrows: Move around\n e: Grab\n q: Drop selected\n r: Interact\n f: Attack\n t: Chat\n E: Use selected\n A: Take selected\n xc: select item\n vb: select menu\n ctrl-c: close client"
+}
diff --git a/keybindings/default.json b/keybindings/default.json
new file mode 100644
index 0000000..faf1b40
--- /dev/null
+++ b/keybindings/default.json
@@ -0,0 +1,42 @@
+{
+"actions": {
+"w": ["move", "north"],
+"s": ["move", "south"],
+"d": ["move", "east"],
+"a": ["move", "west"],
+"up": ["move", "north"],
+"down": ["move", "south"],
+"right": ["move", "east"],
+"left": ["move", "west"],
+"k": ["move", "north"],
+"j": ["move", "south"],
+"l": ["move", "east"],
+"h": ["move", "west"],
+"e": ["input", ["take", null]],
+"q": ["drop"],
+"Q": ["take"],
+"E": ["use"],
+"R": ["input", ["interact", [null]]],
+"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", [null]]],
+"W": ["input", ["attack", ["north"]]],
+"S": ["input", ["attack", ["south"]]],
+"D": ["input", ["attack", ["east"]]],
+"A": ["input", ["attack", ["west"]]],
+"t": ["runinput"],
+"enter": ["runinput"],
+"pageup": ["scrollchat", 1],
+"pagedown": ["scrollchat", -1],
+"/": ["runinput", "/"]
+},
+"help": " Controls:\nwasd or arrows: Move around\ne: Grab\nq: Drop selected\nr: Interact\nf: Attack\nt: Chat\nE: Use selected\nxc: select item\nvb: select menu\nctrl-c: close client\nPgUp/PgDn: scroll chat"
+}