DFHack 0.47.04-beta1
0.47.04 support is hopefully nearly complete. We're relying on community testing to promote this to a stable release, so let us know what you find!
To download, scroll down to "assets".
Updates since this was released:
- There is a fixed exportlegends script that can generate maps here. To use, click "Raw", download the file, and save it to your hack/scripts folder (this should replace the file that is already there - if not, make sure you only give it the
.luaextension).
New Scripts
color-schemes: manages color schemesdevel/print-event: prints the description of an event by ID or indexgui/color-schemes: an in-game interface forcolor-schemeslight-aquifers-only: changes heavy aquifers to light aquiferson-new-fortress: runs DFHack commands only in a new fortressonce-per-save: runs DFHack commands unless already run in the current saveresurrect-adv: brings your adventurer back to lifereveal-hidden-units: exposes all sneaking unitsworkorder: allows queuing manager jobs; smart about shear and milk creature jobs
Fixes
-
Fixed a crash when starting DFHack in headless mode with no terminal
-
devel/visualize-structure: fixed padding detection for globals -
exportlegends:- added UTF-8 encoding and XML escaping for more fields
- added checking for unhandled structures to avoid generating invalid XML
- fixed missing fields in
history_event_assume_identitystexport
-
full-heal:- when resurrected by specifying a corpse, units now appear at the location of the corpse rather than their location of death
- resurrected units now have their tile occupancy set (and are placed in the prone position to facilitate this)
Misc Improvements
-
Added "bit" suffix to downloads (e.g. 64-bit)
-
Tests:
- moved from DF folder to hack/scripts folder, and disabled installation by default
- made test runner script more flexible
-
dfhack-run: added color output support -
embark-assistant:- updated embark aquifer info to show all aquifer kinds present
- added neighbor display, including kobolds (SKULKING) and necro tower count
- updated aquifer search criteria to handle the new variation
- added search criteria for embark initial tree cover
- added search criteria for necro tower count, neighbor civ count, and specific neighbors. Should handle additional entities, but not tested
-
devel/export-dt-ini: updated some field names for DT for 0.47 -
devel/visualize-structure: added human-readable lengths to containers -
exportlegends:- added evilness and force IDs to regions
- added profession and weapon info to relevant entities
- added support for many new history events in 0.47
- added historical event relationships and supplementary data
-
full-heal:- made resurrection produce a historical event viewable in Legends mode
- made error messages more explanatory
-
install-info: added DFHack build ID to report -
modtools/create-item: added-matchingGlovesand-matchingShoesarguments -
modtools/create-unit:- added
-durationargument to make the unit vanish after some time - added
-locationRangeargument to allow spawning in a random position within a defined area - added
-locationTypeargument to specify the type of location to spawn in
- added
Internals
- Improved support for tagged unions, allowing tools to access union fields more safely
- Added separate changelogs in the scripts and df-structures repos
- Moved
reversingscripts to df_misc repo
Structures
- Added an XML schema for validating df-structures syntax
- Added
divination_set_next_idandimage_set_next_idglobals activity_entry_type: new enum typeadventure_optionst: identified many vmethodsagreement_details: identified most fields of most sub-structsartifact_claim: identified several fieldsartifact_record: identified several fieldscaste_raw_flags: renamed and identified many flags to match information from Toadycreature_raw_flags: renamed and identified many flags to match information from Toadycrime_type: new enum typedfhack_room_quality_level: added enum attributes for names of rooms of each qualityentity_site_link_type: new enum typeexport_map_type: new enum typehistorical_entity.flags: identified several flagshistorical_entity.relations: renamed fromunknown1band identified several fieldshistorical_figure.vague_relationships: identifiedhistorical_figure_info.known_info: renamed fromsecret, identified some fieldshistorical_figure: renamedunit_id2tonemesis_idhistory_event_circumstance_info: new struct type (and changed severalhistory_eventsubclasses to use this)history_event_reason_info: new struct type (and changed severalhistory_eventsubclasses to use this)honors_type: identified several fieldsinteraction_effect_create_itemst: new struct typeinteraction_effect_summon_unitst: new struct typeitem: identified several vmethodslayer_type: new enum typeplant.damage_flags: addedis_deadplot_role_type: new enum typeplot_strategy_type: new enum typerelationship_event_supplement: new struct typerelationship_event: new struct typespecific_ref: moved union data todatafieldui_look_list: moved union fields todataand renamed to matchtypeenumui_sidebar_menus.location: added new profession-related fields, renamed and fixed types of deity-related fieldsui_sidebar_mode: addedZonesLocationInfounit_action: rearranged as tagged union with new sub-types; existing code should be compatiblevague_relationship_type: new enum typevermin_flags: identifiedis_roaming_colonyviewscreen_justicest: identified interrogation-related fieldsworld_data.field_battles: identified and named several fields