DFHack 0.47.04-r5
New Scripts
gui/quickfort
: fast access to the quickfort interactive dialogworkorder-recheck
: resets the selected work order to theChecking
state
Fixes
embark-assistant
:- fixed order of factors when calculating min temperature
- improved performance of surveying
quickfort
:- fixed eventual crashes when creating zones
- fixed library aliases for tallow and iron, copper, and steel weapons
- zones are now created in the active state by default
- solve rare crash when changing UI modes
search
: fixed crash when searching thek
sidebar and navigating to another tile with certain keys, like<
or>
seedwatch
: fixed an issue where the plugin would disable itself on map loadstockflow
: fixedj
character being intercepted when naming stockpilesstockpiles
: no longer outputs hotkey help text beneathstockflow
hotkey help text
Misc Improvements
- Lua label widgets (used in all standard message boxes) are now scrollable with Up/Down/PgUp/PgDn keys
autofarm
: now fallows farms if all plants have reached the desired countbuildingplan
:- added ability to set global settings from the console, e.g.
buildingplan set boulders false
- added "enable all" option for buildingplan (so you don't have to enable all building types individually). This setting is not persisted (just like quickfort_mode is not persisted), but it can be set from onMapLoad.init
- modified
Planning Mode
status in the UI to show whether the plugin is in quickfort mode, "enable all" mode, or whether just the building type is enabled.
- added ability to set global settings from the console, e.g.
quickfort
:- Dreamfort blueprint set improvements: added a streamlined checklist for all required dreamfort commands and gave names to stockpiles, levers, bridges, and zones
- added aliases for bronze weapons and armor
- added alias for tradeable crafts
- new blueprint mode:
#ignore
, useful for scratch space or personal notes - implement
{Empty}
keycode for use in quickfort aliases; useful for defining blank-by-default alias values - more flexible commandline parsing allowing for more natural parameter ordering (e.g. where you used to have to write
quickfort list dreamfort -l
you can now writequickfort list -l dreamfort
) - print out blueprint names that a
#meta
blueprint is applying so it's easier to understand what meta blueprints are doing - whitespace is now allowed between a marker name and the opening parenthesis in blueprint modelines. for example,
#dig start (5; 5)
is now valid (you used to be required to write#dig start(5; 5)
)
Lua
dfhack.run_command()
: changed to interface directly with the console when possible, which allows interactive commands and commands that detect the console encoding to work properlyprocessArgsGetopt()
added to utils.lua, providing a callback interface for parameter parsing and getopt-like flexibility for parameter ordering and combination (see docs inlibrary/lua/utils.lua
andlibrary/lua/3rdparty/alt_getopt.lua
for details).
Structures
job
: identifiedorder_id
field
Documentation
- Added documentation for Lua's
dfhack.run_command()
and variants