2012-01-24 04:36:30 -07:00
|
|
|
##############################
|
|
|
|
# Generic dwarfmode bindings #
|
|
|
|
##############################
|
|
|
|
|
2014-09-08 23:04:56 -06:00
|
|
|
# show all current key bindings
|
|
|
|
keybinding add Ctrl-F1 hotkeys
|
2014-12-02 16:01:53 -07:00
|
|
|
keybinding add Alt-F1 hotkeys
|
2014-09-08 23:04:56 -06:00
|
|
|
|
2012-11-10 23:58:05 -07:00
|
|
|
# toggle the display of water level as 1-7 tiles
|
2012-01-24 04:36:30 -07:00
|
|
|
keybinding add Ctrl-W twaterlvl
|
|
|
|
|
|
|
|
# with cursor:
|
2012-11-10 23:58:05 -07:00
|
|
|
|
|
|
|
# designate the whole vein for digging
|
2012-04-08 16:59:22 -06:00
|
|
|
keybinding add Ctrl-V digv
|
|
|
|
keybinding add Ctrl-Shift-V "digv x"
|
2012-11-10 23:58:05 -07:00
|
|
|
|
|
|
|
# clean the selected tile of blood etc
|
2012-01-24 04:36:30 -07:00
|
|
|
keybinding add Ctrl-C spotclean
|
2012-11-10 23:58:05 -07:00
|
|
|
|
|
|
|
# destroy items designated for dump in the selected tile
|
2012-01-24 04:36:30 -07:00
|
|
|
keybinding add Ctrl-Shift-K autodump-destroy-here
|
|
|
|
|
2014-09-09 01:55:33 -06:00
|
|
|
# set the zone or cage under the cursor as the default
|
|
|
|
keybinding add Alt-Shift-I@dwarfmode/Zones "zone set"
|
|
|
|
|
2012-11-10 23:58:05 -07:00
|
|
|
# with an item selected:
|
|
|
|
|
|
|
|
# destroy the selected item
|
2012-01-24 04:36:30 -07:00
|
|
|
keybinding add Ctrl-K autodump-destroy-item
|
|
|
|
|
2012-11-10 23:58:05 -07:00
|
|
|
# scripts:
|
|
|
|
|
2012-06-06 09:05:07 -06:00
|
|
|
# quicksave, only in main dwarfmode screen and menu page
|
|
|
|
keybinding add Ctrl-Alt-S@dwarfmode/Default quicksave
|
|
|
|
|
2012-11-10 23:58:05 -07:00
|
|
|
# gui/rename script - rename units and buildings
|
2012-09-05 11:27:42 -06:00
|
|
|
keybinding add Ctrl-Shift-N gui/rename
|
2012-11-07 02:31:36 -07:00
|
|
|
keybinding add Ctrl-Shift-T "gui/rename unit-profession"
|
2012-09-05 11:27:42 -06:00
|
|
|
|
2014-02-13 14:55:13 -07:00
|
|
|
# a dfhack prompt in df. Sublime text like.
|
|
|
|
keybinding add Ctrl-Shift-P command-prompt
|
|
|
|
|
2014-09-09 01:55:33 -06:00
|
|
|
# show information collected by dwarfmonitor
|
|
|
|
keybinding add Alt-M@dwarfmode/Default "dwarfmonitor prefs"
|
|
|
|
keybinding add Ctrl-F@dwarfmode/Default "dwarfmonitor stats"
|
|
|
|
|
2015-08-10 21:24:24 -06:00
|
|
|
# export a Dwarf's preferences screen in BBCode to post to a forum
|
2014-09-09 01:55:33 -06:00
|
|
|
keybinding add Ctrl-Shift-F@dwarfmode forum-dwarves
|
|
|
|
|
2016-07-31 23:48:21 -06:00
|
|
|
# an in-game init file editor
|
|
|
|
keybinding add Alt-S@title gui/settings-manager
|
|
|
|
keybinding add Alt-S@dwarfmode/Default gui/settings-manager
|
|
|
|
|
2016-08-25 10:14:44 -06:00
|
|
|
# change quantity of manager orders
|
2017-05-26 22:56:40 -06:00
|
|
|
keybinding add Alt-Q@jobmanagement/Main gui/manager-quantity
|
2016-08-25 10:14:44 -06:00
|
|
|
|
2018-01-21 15:44:31 -07:00
|
|
|
# view combat reports for the selected unit/corpse/spatter
|
|
|
|
keybinding add Ctrl-Shift-R view-unit-reports
|
|
|
|
|
2018-05-16 17:45:47 -06:00
|
|
|
# view extra unit information
|
|
|
|
keybinding add Alt-I@dwarfmode/ViewUnits|unitlist gui/unit-info-viewer
|
|
|
|
|
2012-02-25 06:08:05 -07:00
|
|
|
##############################
|
|
|
|
# Generic adv mode bindings #
|
|
|
|
##############################
|
|
|
|
|
2014-12-19 23:08:07 -07:00
|
|
|
keybinding add Ctrl-B@dungeonmode adv-bodyswap
|
|
|
|
keybinding add Ctrl-Shift-B@dungeonmode "adv-bodyswap force"
|
|
|
|
keybinding add Shift-O@dungeonmode gui/companion-order
|
2018-05-16 17:45:47 -06:00
|
|
|
keybinding add Ctrl-T@dungeonmode gui/advfort
|
|
|
|
keybinding add Ctrl-A@dungeonmode/ConversationSpeak adv-rumors
|
2012-02-25 06:08:05 -07:00
|
|
|
|
2014-05-04 22:59:59 -06:00
|
|
|
##############################
|
|
|
|
# Generic legends bindings #
|
|
|
|
##############################
|
|
|
|
|
|
|
|
# export all information, or just the detailed maps (doesn't handle site maps)
|
|
|
|
keybinding add Ctrl-A@legends "exportlegends all"
|
|
|
|
|
2012-01-24 04:36:30 -07:00
|
|
|
#############################
|
|
|
|
# Context-specific bindings #
|
|
|
|
#############################
|
|
|
|
|
2013-04-24 05:47:37 -06:00
|
|
|
# Stocks plugin
|
|
|
|
keybinding add Ctrl-Shift-Z@dwarfmode/Default "stocks show"
|
|
|
|
|
2014-05-06 20:26:18 -06:00
|
|
|
# open an overview window summarising some stocks (dfstatus)
|
2014-06-27 01:52:36 -06:00
|
|
|
keybinding add Ctrl-Shift-I@dwarfmode/Default "gui/dfstatus"
|
2015-04-18 17:19:43 -06:00
|
|
|
keybinding add Ctrl-Shift-I@dfhack/lua/dfstatus "gui/dfstatus"
|
2014-05-06 20:26:18 -06:00
|
|
|
|
2014-12-02 12:23:12 -07:00
|
|
|
# q->stockpile - copy & paste stockpiles
|
2012-01-24 04:36:30 -07:00
|
|
|
keybinding add Alt-P copystock
|
|
|
|
|
2014-12-02 12:23:12 -07:00
|
|
|
# q->stockpile - load and save stockpile settings out of game
|
|
|
|
keybinding add Alt-L@dwarfmode/QueryBuilding/Some/Stockpile "gui/stockpiles -load"
|
|
|
|
keybinding add Alt-S@dwarfmode/QueryBuilding/Some/Stockpile "gui/stockpiles -save"
|
|
|
|
|
2012-11-10 23:58:05 -07:00
|
|
|
# q->workshop - duplicate the selected job
|
2012-01-24 04:36:30 -07:00
|
|
|
keybinding add Ctrl-D job-duplicate
|
|
|
|
|
|
|
|
# materials: q->workshop; b->select items
|
|
|
|
keybinding add Shift-A "job-material ALUNITE"
|
|
|
|
keybinding add Shift-M "job-material MICROCLINE"
|
|
|
|
keybinding add Shift-D "job-material DACITE"
|
|
|
|
keybinding add Shift-R "job-material RHYOLITE"
|
|
|
|
keybinding add Shift-I "job-material CINNABAR"
|
|
|
|
keybinding add Shift-B "job-material COBALTITE"
|
|
|
|
keybinding add Shift-O "job-material OBSIDIAN"
|
2012-09-28 03:32:41 -06:00
|
|
|
keybinding add Shift-T "job-material ORTHOCLASE"
|
2012-01-24 04:36:30 -07:00
|
|
|
keybinding add Shift-G "job-material GLASS_GREEN"
|
2012-08-20 13:04:01 -06:00
|
|
|
|
2012-11-10 23:58:05 -07:00
|
|
|
# sort units and items in the on-screen list
|
2012-09-28 08:01:17 -06:00
|
|
|
keybinding add Alt-Shift-N "sort-units name" "sort-items description"
|
|
|
|
keybinding add Alt-Shift-R "sort-units arrival"
|
|
|
|
keybinding add Alt-Shift-T "sort-units profession" "sort-items type material"
|
|
|
|
keybinding add Alt-Shift-Q "sort-units squad_position" "sort-items quality"
|
|
|
|
|
2012-08-20 13:04:01 -06:00
|
|
|
# browse linked mechanisms
|
|
|
|
keybinding add Ctrl-M@dwarfmode/QueryBuilding/Some gui/mechanisms
|
2012-08-24 08:26:18 -06:00
|
|
|
|
|
|
|
# browse rooms of same owner
|
2012-09-14 02:14:36 -06:00
|
|
|
keybinding add Alt-R@dwarfmode/QueryBuilding/Some gui/room-list
|
2012-08-25 00:37:03 -06:00
|
|
|
|
2012-11-10 23:58:05 -07:00
|
|
|
# interface for the liquids plugin - spawn water/magma/obsidian
|
2012-08-25 00:37:03 -06:00
|
|
|
keybinding add Alt-L@dwarfmode/LookAround gui/liquids
|
2012-08-26 11:19:56 -06:00
|
|
|
|
2012-09-06 02:37:29 -06:00
|
|
|
# machine power sensitive pressure plate construction
|
|
|
|
keybinding add Ctrl-Shift-M@dwarfmode/Build/Position/Trap gui/power-meter
|
|
|
|
|
2012-09-17 07:19:24 -06:00
|
|
|
# siege engine control
|
|
|
|
keybinding add Alt-A@dwarfmode/QueryBuilding/Some/SiegeEngine gui/siege-engine
|
|
|
|
|
2012-09-29 07:21:49 -06:00
|
|
|
# military weapon auto-select
|
|
|
|
keybinding add Ctrl-W@layer_military/Equip/Customize/View gui/choose-weapons
|
|
|
|
|
2014-03-24 09:39:34 -06:00
|
|
|
# military copy uniform
|
|
|
|
keybinding add Ctrl-C@layer_military/Uniforms gui/clone-uniform
|
|
|
|
|
2012-10-11 09:32:41 -06:00
|
|
|
# minecart Guide path
|
|
|
|
keybinding add Alt-P@dwarfmode/Hauling/DefineStop/Cond/Guide gui/guide-path
|
|
|
|
|
2012-10-20 11:57:36 -06:00
|
|
|
# workshop job details
|
2012-10-21 11:45:51 -06:00
|
|
|
keybinding add Alt-A@dwarfmode/QueryBuilding/Some/Workshop/Job gui/workshop-job
|
2012-10-20 11:57:36 -06:00
|
|
|
|
2017-04-29 09:06:29 -06:00
|
|
|
# workflow front-end
|
|
|
|
keybinding add Alt-W@dwarfmode/QueryBuilding/Some/Workshop/Job gui/workflow
|
|
|
|
keybinding add Alt-W@overallstatus "gui/workflow status"
|
2017-05-05 15:36:34 -06:00
|
|
|
# equivalent to the one above when gui/extended-status is enabled
|
|
|
|
keybinding add Alt-W@dfhack/lua/status_overlay "gui/workflow status"
|
2017-04-29 09:06:29 -06:00
|
|
|
|
2013-04-06 07:10:13 -06:00
|
|
|
# autobutcher front-end
|
|
|
|
keybinding add Shift-B@pet/List/Unit "gui/autobutcher"
|
|
|
|
|
2012-10-27 10:16:27 -06:00
|
|
|
# assign weapon racks to squads so that they can be used
|
|
|
|
keybinding add P@dwarfmode/QueryBuilding/Some/Weaponrack gui/assign-rack
|
|
|
|
|
2017-07-05 21:54:55 -06:00
|
|
|
# view pathable tiles from active cursor
|
|
|
|
keybinding add Alt-Shift-P@dwarfmode/LookAround gui/pathable
|
|
|
|
|
2012-09-14 02:14:36 -06:00
|
|
|
############################
|
|
|
|
# UI and game logic tweaks #
|
|
|
|
############################
|
2012-08-26 11:19:56 -06:00
|
|
|
|
|
|
|
# stabilize the cursor of dwarfmode when switching menus
|
|
|
|
tweak stable-cursor
|
2012-08-30 09:01:43 -06:00
|
|
|
|
2012-09-17 07:19:24 -06:00
|
|
|
# stop stacked liquid/bar/thread/cloth items from lasting forever
|
|
|
|
# if used in reactions that use only a fraction of the dimension.
|
2014-08-15 02:22:34 -06:00
|
|
|
# might be fixed by DF
|
|
|
|
# tweak fix-dimensions
|
2012-09-18 07:39:37 -06:00
|
|
|
|
|
|
|
# make reactions requiring containers usable in advmode - the issue is
|
|
|
|
# that the screen asks for those reagents to be selected directly
|
|
|
|
tweak advmode-contained
|
2012-09-28 03:32:41 -06:00
|
|
|
|
|
|
|
# support Shift-Enter in Trade and Move Goods to Depot screens for faster
|
|
|
|
# selection; it selects the current item or stack and scrolls down one line
|
|
|
|
tweak fast-trade
|
2012-09-28 08:01:17 -06:00
|
|
|
|
|
|
|
# stop the right list in military->positions from resetting to top all the time
|
2014-08-15 07:40:49 -06:00
|
|
|
tweak military-stable-assign
|
2012-09-28 08:01:17 -06:00
|
|
|
# in same list, color units already assigned to squads in brown & green
|
|
|
|
tweak military-color-assigned
|
2012-11-11 06:24:13 -07:00
|
|
|
|
2012-11-16 11:51:07 -07:00
|
|
|
# remove inverse dependency of squad training speed on unit list size and use more sparring
|
2014-08-15 01:03:25 -06:00
|
|
|
# tweak military-training
|
2012-11-16 11:51:07 -07:00
|
|
|
|
2014-05-11 03:19:14 -06:00
|
|
|
# make crafted cloth items wear out with time like in old versions (bug 6003)
|
2014-08-15 07:40:49 -06:00
|
|
|
tweak craft-age-wear
|
2014-05-11 03:19:14 -06:00
|
|
|
|
|
|
|
# stop adamantine clothing from wearing out (bug 6481)
|
|
|
|
#tweak adamantine-cloth-wear
|
|
|
|
|
2014-09-29 13:59:40 -06:00
|
|
|
# Add "Select all" and "Deselect all" options to farm plot menus
|
|
|
|
tweak farm-plot-select
|
|
|
|
|
|
|
|
# Add Shift-Left/Right controls to import agreement screen
|
|
|
|
tweak import-priority-category
|
|
|
|
|
2017-03-28 07:50:38 -06:00
|
|
|
# Fixes a crash in the work order contition material list (bug 9905).
|
|
|
|
tweak condition-material
|
|
|
|
|
2017-04-19 11:31:25 -06:00
|
|
|
# Adds an option to clear currently-bound hotkeys
|
|
|
|
tweak hotkey-clear
|
|
|
|
|
2017-06-04 21:51:07 -06:00
|
|
|
# Allows lowercase letters in embark profile names, and allows exiting the name prompt without saving
|
|
|
|
tweak embark-profile-name
|
|
|
|
|
2014-09-29 13:59:40 -06:00
|
|
|
# Misc. UI tweaks
|
2016-01-08 17:27:11 -07:00
|
|
|
tweak block-labors # Prevents labors that can't be used from being toggled
|
2017-06-25 14:42:30 -06:00
|
|
|
tweak burrow-name-cancel
|
2017-06-25 13:21:45 -06:00
|
|
|
tweak cage-butcher
|
2014-09-29 13:59:40 -06:00
|
|
|
tweak civ-view-agreement
|
2016-07-31 23:48:21 -06:00
|
|
|
tweak eggs-fertile
|
2015-03-05 14:29:36 -07:00
|
|
|
tweak fps-min
|
2016-01-04 17:29:30 -07:00
|
|
|
tweak hide-priority
|
2018-05-17 17:47:56 -06:00
|
|
|
tweak kitchen-prefs-all
|
2015-06-26 19:16:27 -06:00
|
|
|
tweak kitchen-prefs-empty
|
2015-01-01 18:20:11 -07:00
|
|
|
tweak max-wheelbarrow
|
2015-03-07 19:10:33 -07:00
|
|
|
tweak shift-8-scroll
|
2018-05-14 20:54:20 -06:00
|
|
|
tweak stone-status-all
|
2016-01-04 17:29:30 -07:00
|
|
|
tweak title-start-rename
|
2015-02-02 08:15:03 -07:00
|
|
|
tweak tradereq-pet-gender
|
2014-09-29 13:59:40 -06:00
|
|
|
|
2013-09-30 03:19:51 -06:00
|
|
|
###########################
|
|
|
|
# Globally acting plugins #
|
|
|
|
###########################
|
|
|
|
|
2015-08-09 11:37:26 -06:00
|
|
|
# Display DFHack version on title screen
|
|
|
|
enable title-version
|
|
|
|
|
2013-09-30 03:19:51 -06:00
|
|
|
# Dwarf Manipulator (simple in-game Dwarf Therapist replacement)
|
|
|
|
enable manipulator
|
|
|
|
|
|
|
|
# Search tool in various screens (by falconne)
|
|
|
|
enable search
|
|
|
|
|
|
|
|
# Improved build material selection interface (by falconne)
|
|
|
|
enable automaterial
|
|
|
|
|
|
|
|
# Other interface improvement tools
|
2015-01-26 15:18:30 -07:00
|
|
|
enable \
|
2015-07-27 11:01:14 -06:00
|
|
|
confirm \
|
2015-01-26 15:18:30 -07:00
|
|
|
dwarfmonitor \
|
|
|
|
mousequery \
|
2016-01-08 22:28:07 -07:00
|
|
|
autogems \
|
2015-01-26 15:18:30 -07:00
|
|
|
automelt \
|
|
|
|
autotrade \
|
|
|
|
buildingplan \
|
|
|
|
resume \
|
|
|
|
trackstop \
|
|
|
|
zone \
|
|
|
|
stocks \
|
|
|
|
autochop \
|
|
|
|
stockpiles
|
2015-01-26 17:24:31 -07:00
|
|
|
#end a line with a backslash to make it continue to the next line. The \ is deleted for the final command.
|
2015-01-26 15:18:30 -07:00
|
|
|
# Multiline commands are ONLY supported for scripts like dfhack.init. You cannot do multiline command manually on the DFHack console.
|
|
|
|
# You cannot extend a commented line.
|
|
|
|
# You can comment out the extension of a line.
|
2013-09-30 03:19:51 -06:00
|
|
|
|
2015-07-27 19:38:53 -06:00
|
|
|
# enable mouse controls and sand indicator in embark screen
|
2016-07-31 23:48:21 -06:00
|
|
|
embark-tools enable sticky sand mouse
|
2015-07-27 19:38:53 -06:00
|
|
|
|
2012-12-06 08:00:48 -07:00
|
|
|
###########
|
|
|
|
# Scripts #
|
|
|
|
###########
|
|
|
|
|
2015-11-18 01:29:34 -07:00
|
|
|
# write extra information to the gamelog
|
|
|
|
modtools/extra-gamelog enable
|
2014-05-04 22:59:59 -06:00
|
|
|
|
2016-07-31 23:48:21 -06:00
|
|
|
# extended status screen (bedrooms page)
|
|
|
|
enable gui/extended-status
|
|
|
|
|
2015-03-31 17:23:09 -06:00
|
|
|
# add information to item viewscreens
|
2015-04-18 16:57:21 -06:00
|
|
|
view-item-info enable
|
2015-03-31 17:23:09 -06:00
|
|
|
|
2016-07-31 23:48:21 -06:00
|
|
|
# a replacement for the "load game" screen
|
2015-09-25 15:13:32 -06:00
|
|
|
gui/load-screen enable
|
2017-07-12 14:30:49 -06:00
|
|
|
|
|
|
|
##############################
|
|
|
|
# Extra DFHack command files #
|
|
|
|
##############################
|
|
|
|
|
|
|
|
# Run commands in this file when a world loads
|
|
|
|
sc-script add SC_WORLD_LOADED onLoad.init-example
|