DFHack 0.44.10-r1
DFHack 0.44.10-r1
New Scripts
bodyswap
: shifts player control over to another unit in adventure modedevel/find-primitive
: finds a primitive variable in memorygui/autogems
: a configuration UI for theautogems
plugin
New Tweaks
tweak
kitchen-prefs-all: adds an option to toggle cook/brew for all visible items in kitchen preferencestweak
stone-status-all: adds an option to toggle the economic status of all stones
Fixes
-
Lua: registered
dfhack.constructions.designateRemove()
correctly -
Units::getAnyUnit(): fixed a couple problematic conditions and potential segfaults if global addresses are missing
-
exterminate
: fixed documentation ofthis
option -
full-heal
:- units no longer have a tendency to melt after being healed
- healed units are no longer treated as patients by hospital staff
- healed units no longer attempt to clean themselves unsuccessfully
- wounded fliers now regain the ability to fly upon being healing
- now heals suffocation, numbness, infection, spilled guts and gelding
-
liquids
: fixed "range" command to default to 1 for dimensions consistently -
modtools/create-unit
:- creatures of the appropriate age are now spawned as babies or children where applicable
- fix: civ_id is now properly assigned to historical_figure, resolving several hostility issues (spawned pets are no longer attacked by fortress military!)
- fix: unnamed creatures are no longer spawned with a string of numbers as a first name
-
prospector
: fixed crash due to invalid vein materials -
search
: fixed 4/6 keys in unit screen search -
stockpiles
: stopped sidebar option from overlapping withautodump
-
tweak
block-labors: fixed two causes of crashes related in the v-p-l menu -
tweak
max-wheelbarrow: fixed conflict with building renaming -
view-item-info
:- fixed an error with some armor
- stopped appending extra newlines permanently to descriptions
Misc Improvements
-
Added logo to documentation
-
Documented several missing
dfhack.gui
Lua functions -
adv-rumors
: bound to Ctrl-A -
autogems
: can now blacklist arbitrary gem types (seegui/autogems
) -
blueprint
: added a basic Lua API -
command-prompt
: added support forGui::getSelectedPlant()
-
devel/export-dt-ini
: added tool offsets for DT 40 -
devel/save-version
: added current DF version to output -
exterminate
: added more words for current unit, removed warning -
fpause
: now pauses worldgen as well -
gui/advfort
: bound to Ctrl-T -
gui/room-list
: added support forGui::getSelectedBuilding()
-
gui/unit-info-viewer
: bound to Alt-I -
install-info
: added information on tweaks -
modtools/create-unit
: made functions available to other scripts -
search
:- added support for stone restrictions screen (under
z
: Status) - added support for kitchen preferences (also under
z
)
- added support for stone restrictions screen (under
API
-
New functions (all available to Lua as well):
Buildings::getRoomDescription()
Items::checkMandates()
Items::canTrade()
Items::canTradeWithContents()
Items::isRouteVehicle()
Items::isSquadEquipment()
Kitchen::addExclusion()
Kitchen::findExclusion()
Kitchen::removeExclusion()
-
syndrome-util: added
eraseSyndromeData()
Internals
- Added function names to DFHack's NullPointer and InvalidArgument exceptions
- Added some build scripts for Sublime Text
- Added
Gui::inRenameBuilding()
- Changed submodule URLs to relative URLs so that they can be cloned consistently over different protocols (e.g. SSH)
- Fixed compiler warnings on all supported build configurations
- Linux: required plugins to have symbols resolved at link time, for consistency with other platforms
- Windows build scripts now work with non-C system drives
Structures
dfhack_room_quality_level
: new enumglowing_barrier
: identifiedtriggered
, added commentsitem_flags2
: renamedhas_written_content
tounk_book
kitchen_exc_type
: new enum (forui.kitchen
)mandate.mode
: now an enumunit_personality.emotions.flags.memory
: identifiedviewscreen_kitchenprefst.forbidden
,possible
: now a bitfield,kitchen_pref_flag
world_data.feature_map
: added extensive documentation (in XML)