clinodev

dfhack.init keybindings

Apr 3rd, 2020
291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.55 KB | None | 0 0
  1. ##############################
  2. # Generic dwarfmode bindings #
  3. ##############################
  4.  
  5. # show all current key bindings
  6. keybinding add Ctrl-F1 hotkeys
  7. keybinding add Alt-F1 hotkeys
  8.  
  9. # toggle the display of water level as 1-7 tiles
  10. keybinding add Ctrl-W twaterlvl
  11.  
  12. # with cursor:
  13.  
  14. # designate the whole vein for digging
  15. keybinding add Ctrl-V digv
  16. keybinding add Ctrl-Shift-V "digv x"
  17.  
  18. # clean the selected tile of blood etc
  19. keybinding add Ctrl-C spotclean
  20.  
  21. # destroy items designated for dump in the selected tile
  22. keybinding add Ctrl-Shift-K autodump-destroy-here
  23.  
  24. # set the zone or cage under the cursor as the default
  25. keybinding add Alt-Shift-I@dwarfmode/Zones "zone set"
  26.  
  27. # with an item selected:
  28.  
  29. # destroy the selected item
  30. keybinding add Ctrl-K autodump-destroy-item
  31.  
  32. # scripts:
  33.  
  34. # quicksave, only in main dwarfmode screen and menu page
  35. keybinding add Ctrl-Alt-S@dwarfmode/Default quicksave
  36.  
  37. # gui/rename script - rename units and buildings
  38. keybinding add Ctrl-Shift-N gui/rename
  39. keybinding add Ctrl-Shift-T "gui/rename unit-profession"
  40.  
  41. # a dfhack prompt in df. Sublime text like.
  42. keybinding add Ctrl-Shift-P command-prompt
  43.  
  44. # show information collected by dwarfmonitor
  45. keybinding add Alt-M@dwarfmode/Default "dwarfmonitor prefs"
  46. keybinding add Ctrl-F@dwarfmode/Default "dwarfmonitor stats"
  47.  
  48. # export a Dwarf's preferences screen in BBCode to post to a forum
  49. keybinding add Ctrl-Shift-F@dwarfmode forum-dwarves
  50.  
  51. # an in-game init file editor
  52. keybinding add Alt-S@title gui/settings-manager
  53. keybinding add Alt-S@dwarfmode/Default gui/settings-manager
  54.  
  55. # change quantity of manager orders
  56. keybinding add Alt-Q@jobmanagement/Main gui/manager-quantity
  57.  
  58. # view combat reports for the selected unit/corpse/spatter
  59. keybinding add Ctrl-Shift-R view-unit-reports
  60.  
  61. # view extra unit information
  62. keybinding add Alt-I@dwarfmode/ViewUnits|unitlist gui/unit-info-viewer
  63.  
  64. ##############################
  65. # Generic adv mode bindings #
  66. ##############################
  67.  
  68. keybinding add Ctrl-B@dungeonmode adv-bodyswap
  69. keybinding add Ctrl-Shift-B@dungeonmode "adv-bodyswap force"
  70. keybinding add Shift-O@dungeonmode gui/companion-order
  71. keybinding add Ctrl-T@dungeonmode gui/advfort
  72. keybinding add Ctrl-A@dungeonmode/ConversationSpeak adv-rumors
  73.  
  74. ##############################
  75. # Generic legends bindings #
  76. ##############################
  77.  
  78. # export all information, or just the detailed maps (doesn't handle site maps)
  79. keybinding add Ctrl-A@legends "exportlegends all"
  80.  
  81. #############################
  82. # Context-specific bindings #
  83. #############################
  84.  
  85. # Stocks plugin
  86. keybinding add Ctrl-Shift-Z@dwarfmode/Default "stocks show"
  87.  
  88. # open an overview window summarising some stocks (dfstatus)
  89. keybinding add Ctrl-Shift-I@dwarfmode/Default "gui/dfstatus"
  90. keybinding add Ctrl-Shift-I@dfhack/lua/dfstatus "gui/dfstatus"
  91.  
  92. # q->stockpile - copy & paste stockpiles
  93. keybinding add Alt-P copystock
  94.  
  95. # q->stockpile - load and save stockpile settings out of game
  96. keybinding add Alt-L@dwarfmode/QueryBuilding/Some/Stockpile "gui/stockpiles -load"
  97. keybinding add Alt-S@dwarfmode/QueryBuilding/Some/Stockpile "gui/stockpiles -save"
  98.  
  99. # q->workshop - duplicate the selected job
  100. keybinding add Ctrl-D job-duplicate
  101.  
  102. # materials: q->workshop; b->select items
  103. keybinding add Shift-A "job-material ALUNITE"
  104. keybinding add Shift-M "job-material MICROCLINE"
  105. keybinding add Shift-D "job-material DACITE"
  106. keybinding add Shift-R "job-material RHYOLITE"
  107. keybinding add Shift-I "job-material CINNABAR"
  108. keybinding add Shift-B "job-material COBALTITE"
  109. keybinding add Shift-O "job-material OBSIDIAN"
  110. keybinding add Shift-T "job-material ORTHOCLASE"
  111. keybinding add Shift-G "job-material GLASS_GREEN"
  112.  
  113. # sort units and items in the on-screen list
  114. keybinding add Alt-Shift-N "sort-units name" "sort-items description"
  115. keybinding add Alt-Shift-R "sort-units arrival"
  116. keybinding add Alt-Shift-T "sort-units profession" "sort-items type material"
  117. keybinding add Alt-Shift-Q "sort-units squad_position" "sort-items quality"
  118.  
  119. # browse linked mechanisms
  120. keybinding add Ctrl-M@dwarfmode/QueryBuilding/Some gui/mechanisms
  121.  
  122. # browse rooms of same owner
  123. keybinding add Alt-R@dwarfmode/QueryBuilding/Some gui/room-list
  124.  
  125. # interface for the liquids plugin - spawn water/magma/obsidian
  126. keybinding add Alt-L@dwarfmode/LookAround gui/liquids
  127.  
  128. # machine power sensitive pressure plate construction
  129. keybinding add Ctrl-Shift-M@dwarfmode/Build/Position/Trap gui/power-meter
  130.  
  131. # siege engine control
  132. keybinding add Alt-A@dwarfmode/QueryBuilding/Some/SiegeEngine gui/siege-engine
  133.  
  134. # military weapon auto-select
  135. keybinding add Ctrl-W@layer_military/Equip/Customize/View gui/choose-weapons
  136.  
  137. # military copy uniform
  138. keybinding add Ctrl-C@layer_military/Uniforms gui/clone-uniform
  139.  
  140. # minecart Guide path
  141. keybinding add Alt-P@dwarfmode/Hauling/DefineStop/Cond/Guide gui/guide-path
  142.  
  143. # workshop job details
  144. keybinding add Alt-A@dwarfmode/QueryBuilding/Some/Workshop/Job gui/workshop-job
  145.  
  146. # workflow front-end
  147. keybinding add Alt-W@dwarfmode/QueryBuilding/Some/Workshop/Job gui/workflow
  148. keybinding add Alt-W@overallstatus "gui/workflow status"
  149. # equivalent to the one above when gui/extended-status is enabled
  150. keybinding add Alt-W@dfhack/lua/status_overlay "gui/workflow status"
  151.  
  152. # autobutcher front-end
  153. keybinding add Shift-B@pet/List/Unit "gui/autobutcher"
  154.  
  155. # assign weapon racks to squads so that they can be used
  156. keybinding add P@dwarfmode/QueryBuilding/Some/Weaponrack gui/assign-rack
  157.  
  158. # view pathable tiles from active cursor
  159. keybinding add Alt-Shift-P@dwarfmode/LookAround gui/pathable
Add Comment
Please, Sign In to add comment