From 03d45d60b84c07c29a304301fb290aecee9cfa24 Mon Sep 17 00:00:00 2001 From: troido Date: Wed, 3 Jan 2018 13:33:10 +0100 Subject: removed outdated keybindings files, fixed selector crash on empty list, updated keydocs --- asciifarm/keybindings/vimbindings.hy | 41 ------------------------------------ 1 file changed, 41 deletions(-) delete mode 100644 asciifarm/keybindings/vimbindings.hy (limited to 'asciifarm/keybindings/vimbindings.hy') diff --git a/asciifarm/keybindings/vimbindings.hy b/asciifarm/keybindings/vimbindings.hy deleted file mode 100644 index b2525f5..0000000 --- a/asciifarm/keybindings/vimbindings.hy +++ /dev/null @@ -1,41 +0,0 @@ - - -;; Outdated! Don't use - -;; mainly intended as example for using different keybindings -"k" (input ["move" "north"]) -"j" (input ["move" "south"]) -"l" (input ["move" "east"]) -"h" (input ["move" "west"]) -"KEY_UP" (input ["move" "north"]) -"KEY_DOWN" (input ["move" "south"]) -"KEY_RIGHT" (input ["move" "east"]) -"KEY_LEFT" (input ["move" "west"]) -"g" (input ["take" (selectorvalue "ground")]) -"q" (input ["drop" (selectorvalue "inventory")]) -"E" (input ["use" (selectorvalue "inventory")]) -"r" (input ["interact" (selectorvalue "ground")]) -"v" (fn [client] (.select (selector "inventory") 1 True True)) -"c" (fn [client] (.select (selector "ground") 1 True True)) -"x" (fn [client] (.select (selector "equipment") 1 True True)) -"z" (input ["unequip" (selectorvalue "equipment")]) -"f" (doall [ - (input ["attack"]) - (input ["attack" "north"]) - (input ["attack" "south"]) - (input ["attack" "east"]) - (input ["attack" "west"])]) -"t" (fn [client] (client.readString)) -"help" "\ -Controls: - wasd or arrows: - Move around - e: Grab - q: Drop - E: Use - r: Interact - f: Attack - t: Chat - z: Unequip - xcv: scroll" - -- cgit