diff options
| author | troido <troido@hotmail.com> | 2018-04-16 10:18:12 +0200 |
|---|---|---|
| committer | troido <troido@hotmail.com> | 2018-04-16 10:18:12 +0200 |
| commit | d4a2a5742f41234e5bf2dafb7e3bcea8c24bb712 (patch) | |
| tree | e4e0f55519e392db57ab3856a8d59da91c827d04 | |
| parent | 3379696d9d79b4849b0615d45bc915bfe119e467 (diff) | |
added azerty keybindings
| -rw-r--r-- | asciifarm/keybindings/azerty.json | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/asciifarm/keybindings/azerty.json b/asciifarm/keybindings/azerty.json new file mode 100644 index 0000000..32664af --- /dev/null +++ b/asciifarm/keybindings/azerty.json @@ -0,0 +1,46 @@ +{ +"actions": { +"z": ["move", "north"], +"s": ["move", "south"], +"d": ["move", "east"], +"q": ["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"], +"a": ["inputwithselected", "drop", "inventory"], +"E": ["inputwithselected", "use", "inventory"], +"w": ["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"]], +"Z": ["input", ["attack", "north"]], +"S": ["input", ["attack", "south"]], +"D": ["input", ["attack", "east"]], +"Q": ["input", ["attack", "west"]], +"t": ["runinput"], +"NEWLINE": ["runinput"], +"KEY_PPAGE": ["scrollchat", 1], +"KEY_NPAGE": ["scrollchat", -1] +}, +"help": "Controls:\n zqsd 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 w: Unequip\n xcv: scroll\n ctrl-c: close client" +} |
