summaryrefslogtreecommitdiff
path: root/asciifarm/keybindings/keybindings.json
blob: f43515e78733f6d64dbb6ecc4a8236544512c851 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
"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": ["inputwithselected", "take", "ground"],
"q": ["inputwithselected", "drop", "inventory"],
"E": ["inputwithselected", "use", "inventory"],
"z": ["inputwithselected", "unequip", "equipment"],
"R": ["input", ["interact"]],
"r": ["do", [
    ["input", ["interact"]],
    ["input", ["interact", "north"]],
    ["input", ["interact", "south"]],
    ["input", ["interact", "east"]],
    ["input", ["interact", "west"]]]],
"c": ["select", "inventory", 1, true, true],
"x": ["select", "ground", 1, true, true],
"v": ["select", "equipment", 1, true, true],
"f": ["do", [
    ["input", ["attack"]],
    ["input", ["attack", "north"]],
    ["input", ["attack", "south"]],
    ["input", ["attack", "east"]],
    ["input", ["attack", "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\n E: Use/Equip\n r: Interact\n f: Attack\n t: Chat\n z: Unequip\n xcv: scroll\n ctrl-c: close client"
}