@ -24,7 +24,7 @@ Changelog
#########
#########
.. contents ::
.. contents ::
:depth: 1
:depth: 2
DFHack Future
DFHack Future
@ -232,15 +232,15 @@ Misc Improvements
DFHack 0.40.24-r2
DFHack 0.40.24-r2
=================
=================
::
Internals
Internals
Lua scripts can set environment variables of each other with dfhack.run_script_with_env.
---------
Lua scripts can now call each others internal nonlocal functions with dfhack.script_environment(scriptName).functionName(arg1,arg2).
- Lua scripts can set environment variables of each other with dfhack.run_script_with_env.
eventful Lua reactions no longer require LUA_HOOK as a prefix: you can register a
- Lua scripts can now call each others internal nonlocal functions with dfhack.script_environment(scriptName).functionName(arg1,arg2).
callback for the completion of any reaction with a name
- `eventful` : Lua reactions no longer require LUA_HOOK as a prefix; you can register a callback for the completion of any reaction with a name
Filesystem module now provides file access/modification times and can list directories (normally and recursively)
- Filesystem module now provides file access/modification times and can list directories (normally and recursively)
Units Module: New functions:
- Units Module: New functions::
isWar
isWar
isHunter
isHunter
isAvailableForAdoption
isAvailableForAdoption
@ -264,108 +264,140 @@ DFHack 0.40.24-r2
isMerchant
isMerchant
isForest
isForest
isMarkedForSlaughter
isMarkedForSlaughter
Buildings Module: New Functions:
- Buildings Module: New Functions::
isActivityZone
isActivityZone
isPenPasture
isPenPasture
isPitPond
isPitPond
isActive
isActive
findPenPitAt
findPenPitAt
Fixes
dfhack.run_script should correctly find save-specific scripts now.
Fixes
Updated add-thought to properly affect stress.
-----
hfs-pit should work now
- `` dfhack.run_script `` should correctly find save-specific scripts now.
Autobutcher takes gelding into account
- `add-thought` : updated to properly affect stress.
init.lua existence checks should be more reliable (notably when using non-English locales)
- `hfs-pit` : should work now
Misc Improvements
- `autobutcher` : takes gelding into account
Multiline commands are now possible inside dfhack.init scripts. See dfhack.init-example for example usage.
- init.lua existence checks should be more reliable (notably when using non-English locales)
Misc Improvements
-----------------
Multiline commands are now possible inside dfhack.init scripts. See :file: `dfhack.init-example` for example usage.
DFHack 0.40.24-r1
DFHack 0.40.24-r1
=================
=================
::
Internals
Internals
CMake shouldn't cache DFHACK_RELEASE anymore. People may need to manually update/delete
---------
their CMake cache files to get rid of it.
CMake shouldn't cache DFHACK_RELEASE anymore. People may need to manually update/delete their CMake cache files to get rid of it.
DFHack 0.40.24-r0
DFHack 0.40.24-r0
=================
=================
::
Internals
Internals
EventManager: fixed crash error with EQUIPMENT_CHANGE event.
---------
key modifier state exposed to Lua
- `EventManager` : fixed crash error with EQUIPMENT_CHANGE event.
Fixes
- key modifier state exposed to Lua (ie :kbd: `Ctrl` , :kbd: `Alt` , :kbd: `Shift` )
dfhack script can now be run from other directories on OSX
New Plugins
Fixes
blueprint: export part of your fortress to quickfort .csv files
-----
New Scripts
`` dfhack.sh `` can now be run from other directories on OSX
hotkey-notes: print key, name, and jump position of hotkeys
Removed
New Plugins
embark.lua
-----------
needs_porting/*
- `blueprint` : export part of your fortress to quickfort .csv files
Misc Improvements
added support for searching more lists
New Scripts
-----------
- `hotkey-notes` : print key, name, and jump position of hotkeys
Removed
-------
- embark.lua
- needs_porting/*
Misc Improvements
-----------------
Added support for searching more lists
DFHack 0.40.23-r1
DFHack 0.40.23-r1
=================
=================
::
Internals
Internals
plugins will not be loaded if globals they specify as required are not located (should prevent some crashes)
- plugins will not be loaded if globals they specify as required are not located (should prevent some crashes)
Fixes
Fixed numerous (mostly Lua-related) crashes on OS X by including a more up-to-date libstdc++
Fixes
Alt should no longer get stuck on Windows (and perhaps other platforms as well)
-----
advfort works again
- Fixed numerous (mostly Lua-related) crashes on OS X by including a more up-to-date libstdc++
autobutcher takes sexualities into account
- :kbd: `Alt` should no longer get stuck on Windows (and perhaps other platforms as well)
devel/export-dt-ini: Updated for 0.40.20+
- `gui/advfort` works again
digfort: now checks file type and existence
- `autobutcher` : takes sexualities into account
exportlegends: Fixed map export
- devel/export-dt-ini: Updated for 0.40.20+
full-heal: Fixed a problem with selecting units in the GUI
- `digfort` : now checks file type and existence
gui/hack-wish: Fixed restrictive material filters
- `exportlegends` : Fixed map export
mousequery: Changed box-select key to Alt+M
- `full-heal` : Fixed a problem with selecting units in the GUI
plugins/dwarfmonitor: correct date display (month index, separator)
- `gui/hack-wish` : Fixed restrictive material filters
scripts/putontable: added to the readme
- `mousequery` : Changed box-select key to Alt+M
siren should work again
- `dwarfmonitor` : correct date display (month index, separator)
stderr.log: removed excessive debug output on OS X
- `putontable` : added to the readme
trackstop: No longer prevents cancelling the removal of a track stop or roller.
- `siren` should work again
Fixed a display issue with PRINT_MODE:TEXT
- stderr.log: removed excessive debug output on OS X
Fixed a symbol error (MapExtras::BiomeInfo::MAX_LAYERS) when compiling DFHack in Debug mode
- `trackstop` : No longer prevents cancelling the removal of a track stop or roller.
New Plugins
- Fixed a display issue with `` PRINT_MODE:TEXT ``
fortplan: designate construction of (limited) buildings from .csv file, quickfort-style
- Fixed a symbol error (MapExtras::BiomeInfo::MAX_LAYERS) when compiling DFHack in Debug mode
New Scripts
gui/stockpiles: an in-game interface for saving and loading stockpile
New Plugins
settings files.
-----------
position: Reports the current date, time, month, and season, plus
- `fortplan` : designate construction of (limited) buildings from .csv file, quickfort-style
some location info. Port/update of position.py
hfs-pit: Digs a hole to hell under the cursor. Replaces needs_porting/hellhole.cpp
New Scripts
Removed
-----------
embark.lua: Obsolete, use `embark-tools`
- `gui/stockpiles` : an in-game interface for saving and loading stockpile settings files.
New tweaks:
- `position` : Reports the current date, time, month, and season, plus some location info. Port/update of position.py
eggs-fertile: Displays an egg fertility indicator on nestboxes
- `hfs-pit` : Digs a hole to hell under the cursor. Replaces needs_porting/hellhole.cpp
max-wheelbarrow: Allows assigning more than 3 wheelbarrows to a stockpile
Misc Improvements
Removed
embark-tools: Added basic mouse support on the local map
-------
Made some adventure mode keybindings in dfhack.init-example only work in adventure mode
- embark.lua: Obsolete, use `embark-tools`
Added a default keybinding for "gui/companion-order"
further work on needs_porting
New tweaks
----------
- `eggs-fertile <tweak>` : Displays an egg fertility indicator on nestboxes
- `max-wheelbarrow <tweak>` : Allows assigning more than 3 wheelbarrows to a stockpile
Misc Improvements
-----------------
- `embark-tools` : Added basic mouse support on the local map
- Made some adventure mode keybindings in :file: `dfhack.init-example` only work in adventure mode
- `gui/companion-order` : added a default keybinding
- further work on needs_porting
DFHack 0.40.19-r1
DFHack 0.40.19-r1
=================
=================
::
Fixes:
Fixes
typo fix in modtools/reaction-trigger
-----
modtools/item-trigger should now work with item types
- `modtools/reaction-trigger` : fixed typo
New plugins:
- `modtools/item-trigger` : should now work with item types
savestock and loadstock: two commands for saving and loading
stockpile settings to a file. They can be used to migrate stockpile
New plugins
settings between worlds and saves.
-----------
New scripts:
- `savestock, loadstock <stocksettings>` : save and load stockpile settings across worlds and saves
remove-stress [all]: set selected or all units unit to -1,000,000 stress
this script replaces removebadthoughts.rb
New scripts
Misc improvements:
-----------
cmd-prompt can now access selected items, units, and buildings
- `remove-stress` : set selected or all units unit to -1,000,000 stress (this script replaces removebadthoughts)
autolabor plugin: add an optional talent pool parameter
Misc improvements
-----------------
- `command-prompt` : can now access selected items, units, and buildings
- `autolabor` : add an optional talent pool parameter
DFHack 0.40.16-r1
DFHack 0.40.16-r1
=================
=================
@ -414,96 +446,113 @@ DFHack 0.40.16-r1
DFHack 0.40.15-r1
DFHack 0.40.15-r1
=================
=================
::
Fixes:
Fixes
- mousequery: Fixed behavior when selecting a tile on the lowest z-level
-----
Internals:
- mousequery: Fixed behavior when selecting a tile on the lowest z-level
- EventManager: deals with frame_counter getting reset properly now.
- modtools/item-trigger: fixed equip/unequip bug and corrected minor documentation error
Misc Improvements
- teleport: Updated with proper argument handling and proper unit-at-destination handling.
-----------------
- autotrade: Removed the newly obsolete "Mark all" functionality.
- `EventManager` : deals with frame_counter getting reset properly now.
- search: Adapts to the new trade screen column width
- `modtools/item-trigger` : fixed equip/unequip bug and corrected minor documentation error
- tweak fast-trade: Switching the fast-trade keybinding to Shift-Up/Shift-Down, due to Select All conflict
- `teleport` : Updated with proper argument handling and proper unit-at-destination handling.
- `autotrade <Stockpile automation>` : Removed the newly obsolete :guilabel: `Mark all` functionality.
- `search` : Adapts to the new trade screen column width
- `tweak fast-trade <tweak>` : Switching the fast-trade keybinding to Shift-Up/Shift-Down, due to Select All conflict
DFHack 0.40.14-r1
DFHack 0.40.14-r1
=================
=================
::
Internals:
Internals
- The DFHack console can now be disabled by setting the DFHACK_DISABLE_CONSOLE
---------
environment variable: "DFHACK_DISABLE_CONSOLE=1 ./dfhack"
- The DFHack console can now be disabled by setting the DFHACK_DISABLE_CONSOLE environment variable: `` DFHACK_DISABLE_CONSOLE=1 ./dfhack ``
Fixes:
- Stopped duplicate load/unload events when unloading a world
Fixes
- Stopped "-e" from being echoed when DFHack quits on Linux
-----
- automelt now uses a faster method to locate items
- Stopped duplicate load/unload events when unloading a world
- autotrade: "Mark all" no longer double-marks bin contents
- Stopped `` -e `` from being echoed when DFHack quits on Linux
- drainaquifer.rb: replaced with a faster less buggy drain-aquifer.lua
- `automelt <Stockpile automation>` : now uses a faster method to locate items
- embark-tools no longer conflicts with keys on the notes screen
- `autotrade <Stockpile automation>` : "Mark all" no longer double-marks bin contents
- fastdwarf: Fixed problems with combat/attacks
- `drain-aquifer` : new script replaces the buggy plugin
- forum-dwarves should work now
- `embark-tools` : no longer conflicts with keys on the notes screen
- manipulator now uses a stable sort, allowing sorting by multiple categories
- `fastdwarf` : Fixed problems with combat/attacks
- rendermax updated to work with 0.40
- `forum-dwarves` : should work now
New plugins:
- `manipulator` : now uses a stable sort, allowing sorting by multiple categories
- trackstop: Shows track stop friction and dump direction in its 'q' menu
- `rendermax` : updated to work with 0.40
New tweaks:
- farm-plot-select: Adds "Select all" and "Deselect all" options to farm plot menus
New Plugins
- import-priority-category: Allows changing the priority of all goods in a
-----------
category when discussing an import agreement with the liaison
- `trackstop` : Shows track stop friction and dump direction in its :kbd: `q` menu
- manager-quantity: Removes the limit of 30 jobs per manager order
- civ-view-agreement: Fixes overlapping text on the "view agreement" screen
New Tweaks
- nestbox-color: Fixes the color of built nestboxes
----------
Misc Improvements:
- farm-plot-select: Adds "Select all" and "Deselect all" options to farm plot menus
- exportlegends.lua can now handle site maps
- import-priority-category: Allows changing the priority of all goods in a category when discussing an import agreement with the liaison
- manager-quantity: Removes the limit of 30 jobs per manager order
- civ-view-agreement: Fixes overlapping text on the "view agreement" screen
- nestbox-color: Fixes the color of built nestboxes
Misc Improvements
-----------------
- `exportlegends` : can now handle site maps
DFHack 0.40.13-r1
DFHack 0.40.13-r1
=================
=================
::
Internals:
Internals
- unified spatter structs
---------
- added ruby df.print_color(color, string) method for dfhack console
- unified spatter structs
Fixes:
- added ruby df.print_color(color, string) method for dfhack console
- no more -e after terminating
- fixed superdwarf
Fixes
-----
- no more `` -e `` after terminating
- fixed `superdwarf`
DFHack 0.40.12-r1
DFHack 0.40.12-r1
=================
=================
::
Fixes:
Internals
- possible crash fixed for hack-wish
---------
- updated search to not conflict with BUILDJOB_SUSPEND
- support for global :file: `onLoadWorld.init` and :file: `onUnloadWorld.init` files, called when loading and unloading a world
- workflow: job_material_category -> dfhack_material_category
- Close file after loading a binary patch.
New plugins:
New Plugins
- hotkeys (by Falconne): Shows ingame viewscreen with all dfhack keybindings active in current mode.
-----------
- automelt: allows marking stockpiles for automelt
- `hotkeys` : Shows ingame viewscreen with all dfhack keybindings active in current mode.
(i.e. any items placed in stocpile will be designated for melting)
- `automelt <Stockpile automation>` : allows marking stockpiles so any items placed in them will be designated for melting
Misc Improvements:
Fixes
- now you can use @ to print things in interactive Lua with subtley different semantics
-----
- optimizations for stockpiles for autotrade and stockflow
- possible crash fixed for `gui/hack-wish`
- updated exportlegends.lua to work with new maps, dfhack 40.11 r1+
- `search` : updated to not conflict with BUILDJOB_SUSPEND
- `workflow` : job_material_category -> dfhack_material_category
Misc Improvements
-----------------
- now you can use `` @ `` to print things in interactive Lua with subtley different semantics
- optimizations for stockpiles for `autotrade <Stockpile automation>` and `stockflow`
- updated `exportlegends` to work with new maps, dfhack 40.11 r1+
Internals:
- support for global onLoadWorld.init and onUnloadWorld.init files,
called when loading and unloading a world
- Close file after loading a binary patch.
DFHack 0.40.11-r1
DFHack 0.40.11-r1
=================
=================
::
Internals:
Internals
- Plugins on OS X now use ".plug.dylib" as an extension instead of ".plug.so"
- Plugins on OS X now use `` .plug.dylib ` as an extension instead of `` .plug.so``
Fixes:
- 3dveins should no longer hang/crash on specific maps
Fixes
- Fixed some autotrade and search layout issues
-----
- Updated deathcause
- `3dveins` : should no longer hang/crash on specific maps
- hack-wish should work now
- `autotrade <Stockpile automation>` , `search` : fixed some layout issues
- reveal no longer allocates data for nonexistent map blocks
- `deathcause` : updated
- Various documentation fixes and updates
- `gui/hack-wish` : should work now
- `reveal` : no longer allocates data for nonexistent map blocks
- Various documentation fixes and updates
DFHack v0.40.10-r1
DFHack v0.40.10-r1
==================
==================