Lethosor’s scripts¶
A collection of DFHack scripts
Links: Issue tracker | Wiki | Forum thread
Note: manipulator is now located in a separate repository, lethosor/dwarf-manipulator.
Contents
adv-max-skills¶
When setting up an adventurer, raises all changeable skills and attributes to their maximum level.
adv-max-skills
devel/annc-monitor¶
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 toX
frames
devel/click-monitor¶
Displays the grid coordinates of mouse clicks in the console. Useful for plugin/script development.
click-monitor start
to begin monitoringclick-monitor stop
to stop
color-adjust¶
Adjusts the red, green, and/or blue components of all in-game colors.
color-adjust -r 1.1
multiplies the red components of all colors by 1.1color-adjust -gb 0.7
multiplies the green and blue components of all colors by 0.7color-adjust -g 0.7 -b 0.7
: Equivalent tocolor-adjust -gb 0.7
color-adjust -a 0.9
multiplies all (red, green, and blue) components of all colors by 0.9color-adjust -reset
resets all colors to their original values.- Note that the original colors used by
color-adjust
are stored whencolor-adjust
is first run in a DF session. If other scripts that change colors are run beforecolor-adjust
,color-adjust -reset
will restore the modified colors. To avoid this, runcolor-adjust -a 1
before running other scripts.
- Note that the original colors used by
embark-skills¶
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”.
invert-colors¶
Proof-of-concept script that inverts the color scheme while DF is running.
invert-colors
load-screen¶
A replacement for the “continue game” screen.
load-screen enable
to enableload-screen disable
to disable
modtools/raw-lint¶
Checks for simple issues with raw files. Can be run automatically.
settings-manager¶
An in-game settings manager (init.txt/d_init.txt)
Recommended for use as a keybinding:
keybinding add Alt-S@title settings-manager
keybinding add Alt-S@dwarfmode/Default settings-manager
title-version¶
Displays the DFHack version on the title screen next to the version number.
title-version [enable]
: Shows DFHack versiontitle-version disable
: Hides DFHack version