A collection of DFHack scripts
Links: Issue tracker | Wiki | Forum thread
Note: manipulator is now located in a separate repository, lethosor/dwarf-manipulator.
Contents
When setting up an adventurer, raises all changeable skills and attributes to their maximum level.
adv-max-skills
Displays announcements and reports in the console.
annc-monitor enable|start: Begins monitoringannc-monitor disable|stop: Stops monitoringannc-monitor interval X: Sets the delay between checks for new announcements toXframes
Displays the grid coordinates of mouse clicks in the console. Useful for plugin/script development.
click-monitor startto begin monitoringclick-monitor stopto stop
Adjusts the red, green, and/or blue components of all in-game colors.
color-adjust -r 1.1multiplies the red components of all colors by 1.1color-adjust -gb 0.7multiplies the green and blue components of all colors by 0.7color-adjust -g 0.7 -b 0.7: Equivalent tocolor-adjust -gb 0.7color-adjust -a 0.9multiplies all (red, green, and blue) components of all colors by 0.9color-adjust -resetresets all colors to their original values.- Note that the original colors used by
color-adjustare stored whencolor-adjustis first run in a DF session. If other scripts that change colors are run beforecolor-adjust,color-adjust -resetwill restore the modified colors. To avoid this, runcolor-adjust -a 1before running other scripts.
- Note that the original colors used by
Adjusts dwarves' skills when embarking.
Note that already-used skill points are not taken into account or reset.
embark-skills points N: Sets the skill points remaining of the selected dwarf toN.embark-skills points N all: Sets the skill points remaining of all dwarves toN.embark-skills max: Sets all skills of the selected dwarf to "Proficient".embark-skills max all: Sets all skills of all dwarves to "Proficient".embark-skills legendary: Sets all skills of the selected dwarf to "Legendary".embark-skills legendary all: Sets all skills of all dwarves to "Legendary".
Proof-of-concept script that inverts the color scheme while DF is running.
invert-colors
A replacement for the "continue game" screen.
load-screen enableto enableload-screen disableto disable
Checks for simple issues with raw files. Can be run automatically.
An in-game settings manager (init.txt/d_init.txt)
Recommended for use as a keybinding:
keybinding add Alt-S@title settings-managerkeybinding add Alt-S@dwarfmode/Default settings-manager
Displays the DFHack version on the title screen next to the version number.
title-version [enable]: Shows DFHack versiontitle-version disable: Hides DFHack version