1. DFHack - Dwarf Fortress Modding Engine
  2. News

DFHack - Dwarf Fortress Modding Engine News

DFHack next feature poll

We're running a poll on Reddit for which DFHack features you'd like to see next! Please vote here:

https://www.reddit.com/r/dwarffortress/comments/1bj5bjs/poll_what_big_feature_should_dfhack_tackle_next/

DFHack 50.12-r2rc2

This beta release is compatible with all distributions of Dwarf Fortress: Steam, Itch, and Classic.

Please report any issues (or feature requests) on the DFHack GitHub issue tracker. When reporting issues, please upload a zip file of your savegame and a zip file of your mods directory to the cloud and add links to the GitHub issue. Make sure your files are downloadable by "everyone with the link". We need your savegame to reproduce the problem and test the fix, and we need your active mods so we can load your savegame. Issues with savegames and mods attached get fixed first!
[h2]What needs testing?[/h2][h3]agitation-rebalance updates[/h3]
agitation-rebalance has seen significant internal improvements, especially around the calculations of chance of invasion. In the previous beta, after a cavern invasion, you'd see the cavern danger level immediately drop to None and then, after sufficient subsequent irritation, it would jump to High in one go.

Now, after clearing an invasion, you'll see your chances of a subsequent invasion smoothly increase from Low to High as you chop more trees and make more noise, which is much closer to the behavior `agitation-rebalance` provides on the surface for agitated wildlife attacks. Moreover, if you have the monitor panel visible, you will not see the danger level of the caverns update until you clear the current invasion. This is to avoid spoiling exactly when and where a cavern invasion has occurred. This mod is supposed to fix the mechanics of irritation -- it's not supposed to spoil the surprise when it happens!
[h2]Announcements[/h2][h3]PSAs[/h3]
As always, remember that, just like the vanilla DF game, DFHack tools can also have bugs. It is a good idea to save often and keep backups of the forts that you care about.

Many DFHack tools that worked in previous (pre-Steam) versions of DF have not been updated yet and are marked with the "unavailable" tag in their docs. If you try to run them, they will show a warning and exit immediately. You can run the command again to override the warning (though of course the tools may not work). We make no guarantees of reliability for the tools that are marked as "unavailable".

The in-game interface for running DFHack commands (gui/launcher) will not show "unavailable" tools by default. You can still run them if you know their names, or you can turn on dev mode by hitting Ctrl-D while in gui/launcher and they will be added to the autocomplete list. Some tools do not compile yet and are not available at all, even when in dev mode.

If you see a tool complaining about the lack of a cursor, know that it's referring to the keyboard cursor (which used to be the only real option in Dwarf Fortress). You can enable the keyboard cursor by entering mining mode or selecting the dump/forbid tool and hitting Alt-K (the DFHack keybinding for toggle-kbd-cursor). We're working on making DFHack tools more mouse-aware and accessible so this step isn't necessary in the future.
Changelog
[h2]New Tools[/h2]
  • fix/ownership: fix instances of multiple citizens claiming the same items, resulting in "Store owned item" job loops
  • modtools/if-entity: (reinstated) modder's resource for triggering scripted content depending on the race of the loaded fort
[h2]Fixes[/h2]
  • autoclothing: don't produce clothes for dead units
  • caravan: fix trade price calculations when the same item was requested for both import and export
[h2]Misc Improvements[/h2]
  • Many tools that previously only worked for citizens or only for dwarves now work for all citizens and residents, e.g. fastdwarf, rejuvenate, etc.
  • allneeds:
    • select a dwarf in the UI to see a summary of needs for just that dwarf
    • provide options for sorting the cumulative needs by different criteria
  • buildingplan: persist hiding of unavailable materials between filterselection invocations
  • dwarfvet:
    • automatically unassign animals from pastures when they need treatment so they can make their way to the hospital. reassign them to their original pasture when treatment is complete.
    • ignore animals assigned to cages or restraints
  • gui/notify: Shift click or Shift Enter on a zoomable notification to zoom to previous target
  • prioritize: print out custom reaction and hauling jobs in the same format that is used for prioritize command arguments so the player can just copy and paste
[h2]API[/h2]
  • Units :: getCitizens: now includes residents by default
  • Units :: isResident: property check for residents (as opposed to citizens)
[h2]Lua[/h2]
  • dfhack.units.getCitizens: now includes residents by default
[h2]Structures[/h2]
  • activity_event: identify fields and type values
  • unit: identify and define many previously unknown fields, types, and enums

DFHack 50.12-r2rc1

This beta release is compatible with all distributions of Dwarf Fortress: Steam, Itch, and Classic.

Please report any issues (or feature requests) on the DFHack GitHub issue tracker. When reporting issues, please upload a zip file of your savegame and a zip file of your mods directory to the cloud and add links to the GitHub issue. Make sure your files are downloadable by "everyone with the link". We need your savegame to reproduce the problem and test the fix, and we need your active mods so we can load your savegame. Issues with savegames and mods attached get fixed first!
[h2]What needs testing?[/h2]
There are several large new features for this release that could use testing and feedback.
[h3]agitation-rebalance smooths out agitated creature attacks and cavern invasions[/h3]


This is the one that needs the most feedback, especially from people who have found the cavern invasions to be frustrating. The basic question is: after you turn this mod on, do you still find the caverns frustrating? Do you feel like the caverns are more fun to explore and utilize?

If you're just confused by the whole agitated animal and cavern invasion thing, there is an overview of how the vanilla system works here: https://docs.dfhack.org/en/latest/docs/tools/agitation-rebalance.html#how-the-df-agitation-system-works

The tl;dr is that your actions annoy nature, and nature retaliates..endlessly. Many people find the constant nature of the retaliation to be overwhelming. This mod tempers the retaliation so once you get attacked, you won't get attacked again until you specifically provoke nature further.

How to use

Open up gui/control-panel and go to the "Gameplay" tab. Turn on agitation-rebalance. If your difficulty settings are at any of the vanilla presets, that's all you have to do. If you have customized the difficulty settings, say to disable cavern invaders, run this command in gui/launcher:

agitation-rebalance preset lenient

If you want a tougher experience, you can instead run:

agitation-rebalance preset strict

If you want the visible monitor that shows your current chances of being attacked by nature, run:

agitation-rebalance enable monitor
[h3]fix/stuck-worship[/h3]


You may have noticed that some dwarves can never satisfy their need to worship. They get stuck praying to the same god over and over, but they never seem to get enough. Their job is listed as a purple "Worship!", which means that the need is so strong that they are unable to do anything else. The issue is that despite having needs to pray to several different gods, the dwarf only prays to one, even if they have already satisfied their need for that particular god. This fix ensures that each god gets their fair share of prayer time.

The fix is on by default -- it will start up as soon as you install this beta and load a fort -- but we'd like some verification that it works well in a wide variety of fort setups. If you have dwarves that are already stuck in a Worship! loop and have a backlog of gods they need to pray to, it may still take them a few days to pray themselves out of that hole. However, after a month or so, does your fort seem more productive than it was before? When your dwarves worship, is is now a friendly green instead of a dire purple?
[h3]work details import/export[/h3]


If you go to the Work Details screen (under "Labor"), you'll now see buttons for exporting, importing, and auto-importing your work details for new forts. Try it out! does it make setting up new forts easier?
[h3]autoretrain livestock[/h3]


This one is for those who like to domesticate wild animals. A newborn animal inherits the training level of its parents. If the parents were not yet fully domesticated, the newborn won't be either. If you don't notice that the animal was born and that it doesn't have a trainer assigned, the partial training will decay over time, and eventually the animal will revert to wild, possibly attacking your dwarves or other livestock.

The autoretrainer watches for newborn partially-trained livestock and assigns a trainer. That's it.

You can enable it from the Pets/Livestock screen (under "Creatures")
[h3]labor and skill restrictions for workshops[/h3]


This is a new overlay for workshop and furnace buildings where you can configure the workshop to only accept general work orders that pertain to specific labors (the list of allowed labors is different for every workshop).

For example, by default, all weapon, armor, and blacksmithing general manager orders get sent to all forges. With labor restrictions, you can designate specific forges to handle just weapons, just armor, or just metalsmithing. Then, you can assign appropriate legendary masters to each forge, and they will only receive orders for appropriate products.

Or, instead of assigning a workshop master, you can restrict the skill level to Master and above and leave the workshop at "This workshop is free for anybody to use.". This will allow any citizen that is at least a master of armorsmithing to use the workshop to complete the jobs there.

With labor and skill restrictions, you can simplify your work orders, leaving them generalized and not tied to specific shops. The restrictions will self-organize the orders so they get completed at the right places with the right pool of people, even if one or two masters meet an untimely demise.

Veteran players may remember this as a vanilla feature in pre-v50 Dwarf Fortress. This is actually still the case. The DFHack overlay simply provides a UI for the vanilla feature hiding beneath the surface, just like the civilian alert. There was a previous announcement and discussion of this feature here.
[h2]New Linux Steam launch behavior[/h2]

This one's just for the Linux folks. It's important that DF playtime metrics get to DF, so we updated our launcher on Linux to ensure that both DFHack and DF get marked as "running" when you're playing the game from the Steam client. If you're on Linux, could you try:
  • Launching DFHack from the Steam client
  • Launching DF from the Steam client

In both cases, Steam should show that both DF and DFHack are "running". Could you report back whether this is the case for you on your system?
[h2]Announcements[/h2][h3]PSAs[/h3]
As always, remember that, just like the vanilla DF game, DFHack tools can also have bugs. It is a good idea to save often and keep backups of the forts that you care about.

Many DFHack tools that worked in previous (pre-Steam) versions of DF have not been updated yet and are marked with the "unavailable" tag in their docs. If you try to run them, they will show a warning and exit immediately. You can run the command again to override the warning (though of course the tools may not work). We make no guarantees of reliability for the tools that are marked as "unavailable".

The in-game interface for running DFHack commands (gui/launcher) will not show "unavailable" tools by default. You can still run them if you know their names, or you can turn on dev mode by hitting Ctrl-D while in gui/launcher and they will be added to the autocomplete list. Some tools do not compile yet and are not available at all, even when in dev mode.

If you see a tool complaining about the lack of a cursor, know that it's referring to the keyboard cursor (which used to be the only real option in Dwarf Fortress). You can enable the keyboard cursor by entering mining mode or selecting the dump/forbid tool and hitting Alt-K (the DFHack keybinding for toggle-kbd-cursor). We're working on making DFHack tools more mouse-aware and accessible so this step isn't necessary in the future.
Changelog
[h2]New Tools[/h2]
  • agitation-rebalance: alter mechanics of irriation-related attacks so they are less constant and are more responsive to recent player bahavior
  • fix/stuck-worship: fix prayer so units don't get stuck in uninterruptible "Worship!" states
  • instruments: provides information on how to craft the instruments used by the player civilization.
  • modtools/item-trigger: (reinstated) modder's resource for triggering scripted content when specific items are used
[h2]New Features[/h2]
  • exterminate: new "disintegrate" kill method that additionally destroys carried items
  • gui/settings-manager: add import, export, and autoload for work details
  • logistics: autoretrain will automatically assign trainers to your partially-trained (but not yet domesticated) livestock. this prevents children of partially-trained parents from reverting to wild if you don't notice they were born
  • orders: add overlay for configuring labor and skill level restrictions for workshops
  • quickfort: allow setting of workshop profile properties (e.g. labor, skill restrictions) from build blueprints
  • sort: updated and reinstated military status/squad membership/burrow membership filter for work animal assignment screen
  • stocks: add button/hotkey for removing empty categories from the stocks list
[h2]Fixes[/h2]
  • autochop: fix underestimation of log yield for cavern mushrooms
  • catsplosion: only cause pregnancies in adults
  • control-panel: fix filtering not filtering when running the list command
  • gui/launcher:
    • fix detection on Shift-Enter for running commands and autoclosing the launcher
    • fix history scanning (Up/Down arrow keys) being slow to respond when in minimal mode
  • gui/notify:
    • prevent notification overlay from showing up in arena mode
    • don't zoom to forbidden depots for merchants ready to trade notification
  • logistics:
    • don't melt/trade/dump empty containers that happen to be sitting on the stockpile unless the stockpile accepts those item types
    • don't send autotrade items to forbidden depots
[h2]Misc Improvements[/h2]
  • Dreamfort: the four Craftsdwarf's workshops on the industry level are now specialized for Stonecrafting, Woodcrafting, Bone Carving, and miscellaneous tasks, respectively
  • When launched from the Steam client on Linux, both Dwarf Fortress and DFHack will be shown as "Running". This ensures that DF has proper accounting for Linux player usage.
  • autobutcher: prefer butchering partially trained animals and save fully domesticated animals to assist in wildlife domestication programs
  • autodump: can now teleport items loosely stored in buildings (clutter)
  • clean: protect farm plots when cleaning mud
  • control-panel: enable tweaks quietly on fort load so we don't spam the console
  • devel/tile-browser: simplify interface now that SDL automatically normalizes texture scale
  • exterminate: make race name matching case and space insensitive
  • gui/gm-editor: support opening engraved art for inspection
  • gui/launcher:
    • add interface for browsing and filtering commands by tags
    • add support for history search (Alt-s hotkey) when in minimal mode
    • add support for the clear command and clearing the scrollback buffer
  • gui/teleport: add global Ctrl-Shift-T keybinding (only avaiable when DFHack mortal mode is disabled)
  • suspendmanager: improve performance when there are many active jobs
  • tweak: add quiet option for silent enablement and disablement of tweaks
[h2]API[/h2]
  • Units :: isForgottenBeast: property check for forgotten beasts
  • Units :: isGreatDanger: now includes forgotten beasts
[h2]Lua[/h2]
  • helpdb: search_entries now returns a match if all filters in the include list are matched. previous behavior was to match if any include filter matched.
  • dfhack.units.isForgottenBeast: make new units method available to Lua
  • matinfo.decode: now directly handles plant objects
  • widgets.Label:
  • pen attributes can now either be a pen or a function that dynamically returns a pen
[h2]Structures[/h2]
  • plant_tree_info: define tree body and branch flags
  • plotinfo.hauling: name fields related to the hauling route panel
[h2]Documentation[/h2]
  • introduction: refresh getting started content
  • overlay-dev-guide: updated examples and troubleshooting steps
  • quickstart: refresh quickstart guide

DFHack 50.12-r1

This release is compatible with all distributions of Dwarf Fortress: Steam, Itch, and Classic.

Please report any issues (or feature requests) on the DFHack GitHub issue tracker. When reporting issues, please upload a zip file of your savegame and a zip file of your mods directory to the cloud and add links to the GitHub issue. Make sure your files are downloadable by "everyone with the link". We need your savegame to reproduce the problem and test the fix, and we need your active mods so we can load your savegame. Issues with savegames and mods attached get fixed first!
[h2]Announcements[/h2][h3]PSAs[/h3]
As always, remember that, just like the vanilla DF game, DFHack tools can also have bugs. It is a good idea to save often and keep backups of the forts that you care about.

Many DFHack tools that worked in previous (pre-Steam) versions of DF have not been updated yet and are marked with the "unavailable" tag in their docs. If you try to run them, they will show a warning and exit immediately. You can run the command again to override the warning (though of course the tools may not work). We make no guarantees of reliability for the tools that are marked as "unavailable".

The in-game interface for running DFHack commands (gui/launcher) will not show "unavailable" tools by default. You can still run them if you know their names, or you can turn on dev mode by hitting Ctrl-D while in gui/launcher and they will be added to the autocomplete list. Some tools do not compile yet and are not available at all, even when in dev mode.

If you see a tool complaining about the lack of a cursor, know that it's referring to the keyboard cursor (which used to be the only real option in Dwarf Fortress). You can enable the keyboard cursor by entering mining mode or selecting the dump/forbid tool and hitting Alt-K (the DFHack keybinding for toggle-kbd-cursor). We're working on making DFHack tools more mouse-aware and accessible so this step isn't necessary in the future.
Changelog
[h2]Fixes[/h2]
  • gui/design: no longer comes up when Ctrl-D is pressed but other DFHack windows have focus
  • gui/notify: persist notification settings when toggled in the UI
[h2]Misc Improvements[/h2]
  • gui/launcher: developer mode hotkey restored to Ctrl-D
  • sort: squad assignment overlay rewritten for compatiblity with new vanilla data structures and screen layouts
[h2]Removed[/h2]
  • burrow: removed overlay 3D box select since it is now provided by the vanilla UI
  • sort: removed Search widgets for screens that now have vanilla search
[h2]API[/h2]
  • Gui :: getWidget: retrieve a vanilla DF widget by name or index
[h2]Lua[/h2]
  • dfhack.gui.getWidgetChildren: retrieve a list of child widgets for a given widget container
  • dfhack.gui.getWidget: retrieve a vanilla DF widget by hierarchy path, with each step specified by a widget name or index
>

DFHack 50.11-r7

This release is compatible with all distributions of Dwarf Fortress: Steam, Itch, and Classic.

Please report any issues (or feature requests) on the DFHack GitHub issue tracker. When reporting issues, please upload a zip file of your savegame and a zip file of your mods directory to the cloud and add links to the GitHub issue. Make sure your files are downloadable by "everyone with the link". We need your savegame to reproduce the problem and test the fix, and we need your active mods so we can load your savegame. Issues with savegames and mods attached get fixed first!
[h2]Highlights[/h2][h3]Extended notification and quick-zoom panel[/h3]


There are some things that the game doesn't notify you about, despite being very useful to know. The DFHack notification panel fills in those gaps. A small panel will now appear in the lower left corner when you're on the main map and specific conditions are met:
  • When agitated creatures enter the map. Clicking on the notification will zoom you to the first one. You can zoom to each agitated creature in turn by repeatedly clicking on the notification (or hitting the Enter key).
  • When invaders (or other hostiles) enter the map. You can zoom to each individual hostile just like you can for agitated creatures.
  • When a production mandate is nearing its deadline and someone will soon be punished for violating the mandate. Clicking on the notification will open the nobles screen so you can see what you're supposed to be producing. It will be the icon in angry red.
  • When a dwarf is in a strange mood. The notification will tell you what stage of the mood they are in (finding workshop, gathering materials, working on artifact) and will tell you if they can't find what they are looking for or are otherwise stuck.
  • When you have agreed to build a guildhall or temple, but have not yet done so. Clicking on the notification will give you details about what it was that you agreed to build.
  • When a merchant finishes unloading goods and is ready to trade. Clicking on the notification will zoom you to the trade depot.
  • When a unit is starving or stranded. Clicking on the notification will zoom you to the unit(s).
  • When a "curious" creature enters the map that will seek to steal your stuff.

If there are notifications you'd rather not see, click on the gear icon on the notification window and turn those notifications off. Don't worry if you don't see the notification window at all -- if there aren't any notifications to show, the notification window won't be visible. You can still get to the configuration interface by running gui/notify directly.


[h3]Tweak's bugfixes[/h3]


The tweak tool has been reinstated, along with its library of small tweaks that improve the UI or fix bugs from the DF bug tracker. These tweaks are on by default, but can be disabled (if you so wish) on the "Bug Fixes" tab of gui/control-panel.

It includes the following tweaks/fixes:
  • adamantine-cloth-wear: Prevents adamantine clothing from wearing out while being worn (Bug 6481).
  • craft-age-wear: Fixes crafted items not wearing out over time (Bug 6003). With this tweak, items made from cloth and leather will gain a level of wear every 20 in-game years.
  • eggs-fertile: Displays an indicator on fertile eggs.
  • fast-heat: Improves temperature update performance by ensuring that 1 degree of item temperature is crossed in no more than 100 ticks when updating from the environment temperature. This reduces the time it takes for temperature to reach equilibrium and improves FPS when there are many items.
  • flask-contents: Names filled waterskins, flasks, and vials according to their contents, the same way other containers such as barrels, bins, and cages are named. (Bug 4914)
  • partial-items: Displays percentages on partially-consumed items such as hospital cloth.
  • reaction-gloves: Fixes reactions to produce gloves in sets with correct handedness (Bug 6273).

[h3]Animal assignment UI improvements[/h3]


The DFHack animal assignment screen now displays the distance the creature is from the selected pasture/pit/cage/restraint. You can now also sort by distance.

There is now also an indicator for how many creatures you have assigned to the pasture/pit/cage/restraint.
[h3]Toggle animal designations from the animal info sheet[/h3]


When viewing the info sheet for an animal, you'll now get a small panel that allows you to mark (or unmark) the animal for butchering, gelding, or adoption. If the animal is not already domesticated, you'll also get a toggle for whether a trainer is assigned.


[h2]Announcements[/h2][h3]PSAs[/h3]
As always, remember that, just like the vanilla DF game, DFHack tools can also have bugs. It is a good idea to save often and keep backups of the forts that you care about.

Many DFHack tools that worked in previous (pre-Steam) versions of DF have not been updated yet and are marked with the "unavailable" tag in their docs. If you try to run them, they will show a warning and exit immediately. You can run the command again to override the warning (though of course the tools may not work). We make no guarantees of reliability for the tools that are marked as "unavailable".

The in-game interface for running DFHack commands (gui/launcher) will not show "unavailable" tools by default. You can still run them if you know their names, or you can turn on dev mode by hitting Ctrl-D while in gui/launcher and they will be added to the autocomplete list. Some tools do not compile yet and are not available at all, even when in dev mode.

If you see a tool complaining about the lack of a cursor, know that it's referring to the keyboard cursor (which used to be the only real option in Dwarf Fortress). You can enable the keyboard cursor by entering mining mode or selecting the dump/forbid tool and hitting Alt-K (the DFHack keybinding for toggle-kbd-cursor). We're working on making DFHack tools more mouse-aware and accessible so this step isn't necessary in the future.
Changelog
[h2]New Tools[/h2]
  • add-thought: (reinstated) add custom thoughts to a dwarf
  • combat-harden: (reinstated) set a dwarf's resistence to being affected by visible corpses
  • devel/input-monitor: interactive UI for debugging input issues
  • gui/notify: display important notifications that vanilla doesn't support yet and provide quick zoom links to notification targets.
  • gui/petitions: (reinstated) show outstanding (or all historical) petition agreements for guildhalls and temples
  • list-waves: (reinstated) show migration wave information
  • make-legendary: (reinstated) make a dwarf legendary in specified skills
  • pet-uncapper: (reinstated, renamed from petcapRemover) allow pets to breed beyond the default population cap of 50
  • tweak: (reinstated) a collection of small bugfixes and gameplay tweaks
  • undump-buildings: (reinstated) remove dump designation from in-use building materials
[h2]New Features[/h2]
  • cleanowned: Add a "nodump" option to allow for confiscating items without dumping
  • tweak: Add "flask-contents", makes flasks/vials/waterskins be named according to their contents
[h2]Fixes[/h2]
  • autoclothing: Fix enabled behavior
  • caravan: display book and scroll titles in the goods and trade dialogs instead of generic scroll descriptions
  • dig-now: fix digging stairs in the surface sometimes creating underworld gates.
  • dig: overlay that shows damp designations in ASCII mode now propertly highlights tiles that are damp because of an aquifer in the layer above
  • fix/retrieve-units: prevent pulling in duplicate units from offscreen
  • gui/blueprint: changed hotkey for setting blueprint origin tile so it doesn't conflict with default map movement keys
  • gui/control-panel: fix error when toggling autostart settings
  • gui/design: clicking the center point when there is a design mark behind it will no longer simultaneously enter both mark dragging and center dragging modes. Now you can click once to move the shape, and click twice to move only the mark behind the center point.
  • gui/launcher: developer mode hotkey changed from Ctrl-D to Alt-D so as not to conflict with the hotkey for gui/design
  • item: avoid error when scanning items that have no quality rating (like bars and other construction materials)
  • source: fix issue where removing sources would make some other sources inactive
  • strangemood: correctly recognize Stonecutter and Stone Carver as moodable skills, move the Mason's boosted mood chance to the Stone Carver, and select Fell/Macabre based on long-term stress
  • warn-stranded:
    • don't complain about units that aren't on the map (e.g. soldiers out on raids)
    • when there was at least one truly stuck unit and miners were actively mining, the miners were also confusingly shown in the stuck units list
  • gui.View: getMouseFramePos: function now detects the correct coordinates even when the widget is nested within other frames
  • Gui:: makeAnnouncement, Gui:: autoDFAnnouncement: don't display popup for all announcement types
  • Gui:: revealInDwarfmodeMap: properly center the zoom even when the target tile is near the edge of the map
  • Units:: getVisibleName: don't reveal the true identities of units that are impersonating other historical figures
[h2]Misc Improvements[/h2]
  • autonestbox: assign egg layers to the nestbox they have chosen if they have already chosen a nestbox
  • buildingplan: use closest matching item rather than newest matching item
  • caravan: move goods to trade depot dialog now allocates more space for the display of the value of very expensive items
  • exportlegends: make progress increase smoothly over the entire export and increase precision of progress percentage
  • extinguish: allow selecting units/items/buildings in the UI to target them for extinguishing; keyboard cursor is only required for extinguishing map tiles that cannot be selected any other way
  • gui/autobutcher: ask for confirmation before zeroing out targets for all races
  • gui/mod-manager: will automatically unmark the default mod profile from being the default if it fails to load (due to missing or incompatible mods)
  • gui/quickfort:
    • can now dynamically adjust the dig priority of tiles designated by dig blueprints
    • can now opt to apply dig blueprints in marker mode
  • item:
    • change syntax so descriptions can be searched for without indicating the --description option. e.g. it's now item count royal instead of item count --description royal
    • add --verbose option to print each item as it is matched
  • probe: act on the selected building/unit instead of requiring placement of the keyboard cursor for bprobe and cprobe
  • regrass: also regrow depleted cavern moss
  • zone:
    • animal assignment dialog now shows distance to pasture/cage and allows sorting by distance
    • animal assignment dialog shows number of creatures assigned to this pasture/cage/etc.
[h2]Removed[/h2]
  • gui/create-tree: replaced by gui/sandbox
  • gui/manager-quantity: the vanilla UI can now modify manager order quantities after creation
  • warn-starving: combined into gui/notify
  • warn-stealers: combined into gui/notify
[h2]API[/h2]
  • Gui focus strings will now include dwarfmode/Default if the only other panel open is the Squads panel
  • Gui module Announcement functions now use DF's new announcement alert system
  • Gui:: addCombatReport, Gui:: addCombatReportAuto: add versions that take report
  • instead of report vector index
  • Gui:: MTB_clean, Gui:: MTB_parse, Gui:: MTB_set_width: new functions for manipulating markup_text_boxst
  • Gui:: revealInDwarfmodeMap: unfollow any currently followed units/items so the viewport doesn't just jump back to where it was
  • toupper_cp437(char), tolower_cp437(char): new MiscUtils functions, return a char with case changed, respecting CP437
  • toUpper, toLower: MiscUtils functions renamed to toUpper_cp437 and toLower_cp437, CP437 compliant
[h2]Lua[/h2]
  • Overlay framework now respects active and visible widget attributes
  • dfhack.gui announcement functions use default arguments when omitted
  • dfhack.units.getCitizens now only returns units that are on the map
  • dfhack.upperCp437(string), dfhack.lowerCp437(string): new functions, return string with all chars changed, respecting CP437 code page
[h2]Structures[/h2]
  • buildings_other: add correct types for civzone building vectors
  • job_skill: correct moodable property for several professions