Skip to content

Conversation

@unboundlopez
Copy link

flavor-text
Overview
The flavor-text script writes the currently viewed unit or item flavor text to
flavor text/read flavor.txt.

Usage
Run the script from DFHack:

::

flavor-text

Notes
The file is overwritten each time the script runs.
If the wrong window is open, the script clears the output file.
Supported unit tabs:
Health (Status/Wounds/Treatment/History/Description)
Personality (Traits/Values/Preferences/Needs)
Supported item window: item view sheets.
You must use your own text-to-speech (TTS) program to read the output.
On Windows 11, Voice Attack works well, and a profile with the launch command
can be included for others to use.
Press ` ~ key and hold for 0.05 seconds and release
Pause 0.05 seconds
Set Windows clipboard to 'read-flavor'
Pause 0.05 seconds
Press Left Ctrl+V keys and hold for 0.05 seconds and release
Pause 0.05 seconds
Press NumPad Enter key and hold for 0.05 seconds and release
Pause 0.05 seconds
Press Escape key and hold for 0.05 seconds and release
Pause 0.05 seconds
Set text [TTS] to [D:\Program Files (x86)\Steam\steamapps\common\Dwarf Fortress\flavor text\read flavor.txt]
Say, '{TXT:TTS}'

@unboundlopez unboundlopez deleted the read-flavor branch February 3, 2026 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant