summaryrefslogtreecommitdiff
path: root/asciifarm/keybindings/keybindings.json
diff options
context:
space:
mode:
authortroido <troido@protonmail.com>2019-01-18 11:20:28 +0100
committertroido <troido@protonmail.com>2019-01-18 11:20:28 +0100
commit5e5f3bdb29d8a3183cb93405d7166f890ecce8e1 (patch)
tree5d25592306fa755770df9cd09909feb3643ca0fa /asciifarm/keybindings/keybindings.json
parente5962f67f90b85fdbcde8da348d471ef7a4db2cd (diff)
players can execute only one action per step
Diffstat (limited to 'asciifarm/keybindings/keybindings.json')
-rw-r--r--asciifarm/keybindings/keybindings.json14
1 files changed, 2 insertions, 12 deletions
diff --git a/asciifarm/keybindings/keybindings.json b/asciifarm/keybindings/keybindings.json
index ecd8fd2..a816527 100644
--- a/asciifarm/keybindings/keybindings.json
+++ b/asciifarm/keybindings/keybindings.json
@@ -17,12 +17,7 @@
"Q": ["take"],
"E": ["use"],
"R": ["input", ["interact"]],
-"r": ["do", [
- ["input", ["interact"]],
- ["input", ["interact", "north"]],
- ["input", ["interact", "south"]],
- ["input", ["interact", "east"]],
- ["input", ["interact", "west"]]]],
+"r": ["input", ["interact", [null, "north", "south", "east", "west"]]],
"x": ["selectitem", -1, true, true],
"c": ["selectitem", 1, true, true],
"v": ["selectwidget", -1, true, true],
@@ -31,12 +26,7 @@
"+": ["selectitem", 1, true, true],
"/": ["selectwidget", -1, true, true],
"*": ["selectwidget", 1, true, true],
-"f": ["do", [
- ["input", ["attack"]],
- ["input", ["attack", "north"]],
- ["input", ["attack", "south"]],
- ["input", ["attack", "east"]],
- ["input", ["attack", "west"]]]],
+"f": ["input", ["attack", [null, "north", "south", "east", "west"]]],
"F": ["input", ["attack"]],
"W": ["input", ["attack", "north"]],
"S": ["input", ["attack", "south"]],