DFHack 0.47.05-r4
This release features extensive improvements to the blueprint
plugin and related gui/blueprint
frontend, along with continued improvements to quickfort
and the large-scale full-fort dreamfort
blueprint set.
DFHack 0.47.05-r4
Fixes
blueprint
:- fixed passing incorrect parameters to
gui/blueprint
when you runblueprint gui
with optional params - key sequences for constructed walls and down stairs are now correct
- fixed passing incorrect parameters to
exportlegends
: fix issue where birth year was outputted as birth secondsquickfort
:- produce a useful error message instead of a code error when a bad query blueprint key sequence leaves the game in a mode that does not have an active cursor
- restore functionality to the
--verbose
commandline flag - don't designate tiles for digging if they are within the bounds of a planned or constructed building
- allow grates, bars, and hatches to be built on flat floor (like DF itself allows)
- allow tracks to be built on hard, natural rock ramps
- allow dig priority to be properly set for track designations
- fix incorrect directions for tracks that extend south or east from a track segment pair specified with expansion syntax (e.g. T(4x4))
- fix parsing of multi-part extended zone configs (e.g. when you set custom supply limits for hospital zones AND set custom flags for a pond)
- fix error when attempting to set a custom limit for plaster powder in a hospital zone
tailor
: fixed some inconsistencies (and possible crashes) when parsing certain subcommands, e.g.tailor help
tiletypes-here
,tiletypes-here-point
: fix crash when running from an unsuspended core context
Misc Improvements
- Core: DFHack now prints the name of the init script it is running to the console and stderr
automaterial
: ensure construction tiles are laid down in order when usingbuildingplan
to plan the constructionsblueprint
:- all blueprint phases are now written to a single file, using
quickfort
multi-blueprint file syntax. to get the old behavior of each phase in its own file, pass the--splitby=phase
parameter toblueprint
- you can now specify the position where the cursor should be when the blueprint is played back with
quickfort
by passing the--playback-start
parameter - generated blueprints now have labels so
quickfort
can address them by name - all building types are now supported
- multi-type stockpiles are now supported
- non-rectangular stockpiles and buildings are now supported
- blueprints are no longer generated for phases that have nothing to do (unless those phases are explicitly enabled on the commandline or gui)
- new "track" phase that discovers and records carved tracks
- new "zone" phase that discovers and records activity zones, including custom configuration for ponds, gathering, and hospitals
- all blueprint phases are now written to a single file, using
dig-now
: no longer leaves behind a designated tile when a tile was designated beneath a tile designated for channelinggui/blueprint
:- support the new
--splitby
and--format
options forblueprint
- hide help text when the screen is too short to display it
- support the new
orders
: addedlist
subcommand to show existing exported ordersquickfort-library-guide
: added light aquifer tap and pump stack blueprints (with step-by-step usage guides) to the quickfort blueprint libraryquickfort
:- Dreamfort blueprint set improvements: added iron and flux stock level indicators on the industry level and a prisoner processing quantum stockpile in the surface barracks. also added help text for how to manage sieges and how to manage prisoners after a siege.
- add
quickfort.apply_blueprint()
API function that can be called directly by other scripts - by default, don't designate tiles for digging that have masterwork engravings on them. quality level to preserve is configurable with the new
--preserve-engravings
param - implement single-tile track aliases so engraved tracks can be specified tile-by-tile just like constructed tracks
- allow blueprints to jump up or down multiple z-levels with a single command (e.g.
#>5
goes down 5 levels) - blueprints can now be repeated up and down a specified number of z-levels via
repeat
markers in meta blueprints or the--repeat
commandline option - blueprints can now be rotated, flipped, and shifted via
transform
andshift
markers in meta blueprints or the corresponding commandline options
quickfort
,dfhack-examples-guide
: Dreamfort blueprint set improvements based on playtesting and feedback. includes updated profession definitions.
Removed
digfort
: please usequickfort
insteadfortplan
: please usequickfort
instead
API
Buildings::findCivzonesAt()
: lookups now complete in constant time instead of linearly scanning through all civzones in the game
Lua
argparse.processArgsGetopt()
: you can now have long form parameters that are not an alias for a short form parameter. For example, you can now have a parameter like--longparam
without needing to have an equivalent one-letter-l
param.dwarfmode.enterSidebarMode()
:df.ui_sidebar_mode.DesignateMine
is now a suported target sidebar mode
Structures
historical_figure_info.spheres
: give spheres vector a usable nameunit.enemy
: fix definition ofenemy_status_slot
and addcombat_side_id