Keyboard and Mouse Shortcuts - originalfoo/Prison-Architect-API GitHub Wiki

##Overview

Known keyboard shortcuts are listed below:

  • space:
    • if power station selected, toggles it on/off
    • if escape mode and fighting, surrender or end fight
    • otherwise, pause game
  • 1, 2, 3:
    • if sandbox mode, change game speed
    • if escape mode, 1 and 2 switches between inventory slots
  • w, a, s, d, arrow keys:
    • if escape mode, moves avatar around map
    • if sandbox mode, scroll the map
  • q and e:
    • if sandbox mode, zoom in and out on the map
    • if escape mode, cycle through team
  • +, -:
    • increase/decrease UI (menus, etc) scaling
    • note: don't need to use Shift key, so = is equivalent to +
  • F3:
  • h:
    • if [firemen](Fireman (Entity)) selected, causes them to hose in the general direction of the mouse pointer
  • r:
    • while placing an object or utility, rotates the item
    • some items can't be rotated (eg. [washing machine](WashingMachine (Static)))
  • Shift:
    • if escape mode, sprint (while moving) or lunge (whilst fighting)
    • if held down while adding wired connections, allows multiple connections to be placed from the same source
    • if ordering guards, emergency services, etc., does not de-select them after issuing a movement command (right-click)
  • Tab:
    • if multiple objects under the mouse pointer, cycles between them
  • Esc:
    • if a menu or dialog open, closes it
    • otherwise, displays game menu

Known mouse shortcuts are listed below:

  • left-click:
    • if escape mode, select, attack or click something
  • middle-click:
    • equivalent to r keyboard shortcut
  • right-click:
    • if escape mode, pickup contraband or interact with environment
    • if controllable entity selected, orders it to move to clicked location
      • prevent de-selection by holding down Shift key when issuing command
    • if hovering over a door, opens or closes it
    • if hovering over a switch, toggles it on/off
    • if hovering over a logic circuit, changes it's mode
    • if hovering over a construction task, cancels it