DFHack 0.47.04-r4
New Scripts
fix/corrupt-equipment
: fixes some military equipment-related corruption issues that can cause DF crashes
Fixes
- Fixed an issue on some Linux systems where DFHack installed through a package manager would attempt to write files to a non-writable folder (notably when running
exportlegends
orgui/autogems
) adaptation
: fixed handling of units with no cave adaptation suffered yetassign-goals
: fixed error preventing new goals from being createdassign-preferences
: fixed handling of preferences for flourbuildingplan
:- fixed an issue preventing artifacts from being matched when the maximum item quality is set to
artifacts
- stopped erroneously matching items to buildings while the game is paused
- fixed a crash when pressing 0 while having a noble room selected
- fixed an issue preventing artifacts from being matched when the maximum item quality is set to
deathcause
: fixed an error when inspecting certain corpsesdwarfmonitor
: fixed a crash when opening theprefs
screen if units have vague preferencesdwarfvet
: fixed a crash that could occur when discharging patientsembark-assistant
:- fixed an issue causing incursion resource matching (e.g. sand/clay) to skip some tiles if those resources were provided only through incursions
- corrected river size determination by performing it at the MLT level rather than the world tile level
quickfort
:- fixed handling of modifier keys (e.g.
{Ctrl}
or{Alt}
) in query blueprints - fixed misconfiguration of nest boxes, hives, and slabs that were preventing them from being built from build blueprints
- fixed valid placement detection for floor hatches, floor grates, and floor bars (they were erroneously being rejected from open spaces and staircase tops)
- fixed query blueprint statistics being added to the wrong metric when both a query and a zone blueprint are run by the same meta blueprint
- added missing blueprint labels in gui dialog list
- fixed occupancy settings for extent-based structures so that stockpiles can be placed within other stockpiles (e.g. in a checkerboard or bullseye pattern)
- fixed handling of modifier keys (e.g.
search
: fixed an issue where search options might not display if screens were destroyed and recreated programmatically (e.g. withquickfort
)unsuspend
: now leaves buildingplan-managed buildings alone and doesn't unsuspend underwater tasksworkflow
: fixed an error when creating constraints on "mill plants" jobs and some other plant-related jobszone
: fixed an issue causing theenumnick
subcommand to run when attempting to runassign
,unassign
, orslaughter
Misc Improvements
buildingplan
:- added support for all buildings, furniture, and constructions (except for instruments)
- added support for respecting building job_item filters when matching items, so you can set your own programmatic filters for buildings before submitting them to buildingplan
- changed default filter setting for max quality from
artifact
tomasterwork
- changed min quality adjustment hotkeys from 'qw' to 'QW' to avoid conflict with existing hotkeys for setting roller speed - also changed max quality adjustment hotkeys from 'QW' to 'AS' to make room for the min quality hotkey changes
- added a new global settings page accessible via the
G
hotkey when on any building build screen;Quickfort Mode
toggle for legacy Python Quickfort has been moved to this page - added new global settings for whether generic building materials should match blocks, boulders, logs, and/or bars - defaults are everything but bars
devel/export-dt-ini
: updated for Dwarf Therapist 41.2.0embark-assistant
: split the lair types displayed on the local map into mound, burrow, and lairgui/advfort
: added support for linking to hatches and pressure plates with mechanismsmodtools/add-syndrome
: added support for specifying syndrome IDs instead of namesprobe
: added more output for designations and tile occupancyquickfort
:- The Dreamfort sample blueprints now have complete walkthroughs for each fort level and importable orders that automate basic fort stock management
- added more blueprints to the blueprints library: several bedroom layouts, the Saracen Crypts, and the complete fortress example from Python Quickfort: TheQuickFortress
- query blueprint aliases can now accept parameters for dynamic expansion - see dfhack-config/quickfort/aliases.txt for details
- alias names can now include dashes and underscores (in addition to letters and numbers)
- improved speed of first call to
quickfort list
significantly, especially for large blueprint libraries - added
query_unsafe
setting to disable query blueprint error checking - useful for query blueprints that send unusual key sequences - added support for bookcases, display cases, and offering places (altars)
- added configuration support for zone pit/pond, gather, and hospital sub-menus in zone blueprints
- removed
buildings_use_blocks
setting and replaced it with more flexible functionality inbuildingplan
- added support for creating uninitialized stockpiles with :kbd:
c
API
buildingplan
: added Lua interface APIBuildings::setSize()
: changed to reuse existing extents when possibledfhack.job.isSuitableMaterial()
: added an item type parameter so thenon_economic
flag can be properly handled (it was being matched for all item types instead of just boulders)
Lua
utils.addressof()
: fixed for raw userdata
Structures
building_extents_type
: new enum, used forbuilding_extents.extents
world_mountain_peak
: new struct (was previously inline) - used inworld_data.mountain_peaks
Documentation
- Quickfort alias guide: alias syntax and alias standard library documentation for
quickfort
blueprints - Quickfort library guide: overview of the quickfort blueprint library