{ "w" (inp ["move" "north"]) "s" (inp ["move" "south"]) "d" (inp ["move" "east"]) "a" (inp ["move" "west"]) "KEY_UP" (inp ["move" "north"]) "KEY_DOWN" (inp ["move" "south"]) "KEY_RIGHT" (inp ["move" "east"]) "KEY_LEFT" (inp ["move" "west"]) "e" (inp ["take" (selectorvalue "ground")]) "q" (inp ["drop" (selectorvalue "inventory")]) "E" (inp ["use" (selectorvalue "inventory")]) "r" (inp ["interact" (selectorvalue "ground")]) "v" (.select (selector "inventory") 1 True True) "c" (.select (selector "ground") 1 True True) "x" (.select (selector "equipment") 1 True True) "z" (inp ["unequip" (selectorvalue "equipment")]) "f" (do [ (inp ["attack"]) (inp ["attack" "north"]) (inp ["attack" "south"]) (inp ["attack" "east"]) (inp ["attack" "west"])]) "t" (self.parseMessage (self.display.getString)) "KEY_ENTER" (self.parseMessage (self.display.getString)) "help" "\ Controls: wasd or arrows: Move around e: Grab q: Drop E: Use r: Interact f: Attack t: Chat z: Unequip xcv: scroll" }