github DFHack/dfhack 0.47.05-r6
DFHack 0.47.05-r6

latest releases: 50.13-r2, 50.13-r1.1, 50.13-r1...
23 months ago

DFHack 0.47.05-r6

We have some great new visual tools in this release! gui/petitions gives you a scrollable list of your pending (or previous) petitions. Now you no longer have to remember what deity you just agreed to build a temple for : )
image

gui/quickfort is a brand new UI for Quickfort. You can preview how your blueprint will be applied in the live game map, position it interactively, and see whether the blueprint will be successfully applied before you apply it.
image

and gui/quantum is a point and click interface for setting up quantum stockpiles. It will even manage the minecarts for you!
image

New Scripts

  • assign-minecarts: automatically assign minecarts to hauling routes that don't have one
  • deteriorate: combines, replaces, and extends previous deteriorateclothes, deterioratecorpses, and deterioratefood scripts.
  • gui/petitions: shows petitions. now you can see which guildhall/temple you agreed to build!
  • gui/quantum: point-and-click tool for creating quantum stockpiles
  • gui/quickfort: shows blueprint previews on the live map so you can apply them interactively
  • modtools/fire-rate: allows modders to adjust the rate of fire for ranged attacks

Fixes

  • build-now: walls built above other walls can now be deconstructed like regularly-built walls
  • eventful:
    • fix eventful.registerReaction to correctly pass call_native argument thus allowing canceling vanilla item creation. Updated related documentation.
    • renamed NEW_UNIT_ACTIVE event to UNIT_NEW_ACTIVE to match the EventManager event name
    • fixed UNIT_NEW_ACTIVE event firing too often
  • gui/dfstatus: no longer count items owned by traders
  • gui/unit-info-viewer: fix calculation/labeling of unit size
  • job.removeJob(): fixes regression in DFHack 0.47.05-r5 where items/buildings associated with the job were not getting disassociated when the job is removed. Now build-now can build buildings and gui/mass-remove can cancel building deconstruction again
  • widgets.CycleHotkeyLabel: allow initial option values to be specified as an index instead of an option value

Misc Improvements

  • build-now: buildings that were just designated with buildingplan are now built immediately (as long as there are items available to build the buildings with) instead of being skipped until buildingplan gets around to doing its regular scan
  • caravan: new unload command, fixes endless unloading at the depot by reconnecting merchant pack animals that were disconnected from their owners
  • confirm:
    • added a confirmation dialog for removing manager orders
    • allow players to pause the confirmation dialog until they exit the current screen
  • deteriorate: new now command immediately deteriorates items of the specified types
  • dfhack-examples-guide:
    • refine food preparation orders so meal types are chosen intelligently according to the amount of meals that exist and the number of aviailable items to cook with
    • reduce required stock of dye for "Dye cloth" orders
    • fix material conditions for making jugs and pots
    • make wooden jugs by default to differentiate them from other stone tools. this allows players to more easily select jugs out with a properly-configured stockpile (i.e. the new woodentools alias)
  • list-agreements: now displays translated guild names, worshipped deities, petition age, and race-appropriate professions (e.g. "Craftsdwarf" instead of "Craftsman")
  • quickfort-alias-guide:
    • new aliases: forbidsearch, permitsearch, and togglesearch use the search-plugin plugin to alter the settings for a filtered list of item types when configuring stockpiles
    • new aliases: stonetools and woodentools. the jugs alias is deprecated. please use stonetools instead, which is the same as the old jugs alias.
    • new aliases: usablehair, permitusablehair, and forbidusablehair alter settings for the types of hair/wool that can be made into cloth: sheep, llama, alpaca, and troll. The craftrefuse aliases have been altered to use this alias as well.
    • new aliases: forbidthread, permitthread, forbidadamantinethread, permitadamantinethread, forbidcloth, permitcloth, forbidadamantinecloth, and permitadamantinecloth give you more control how adamantine-derived items are stored
  • quickfort:
    • Dreamfort <quickfort-blueprint-guide> blueprint set improvements: automatically create tavern, library, and temple locations (restricted to residents only by default), automatically associate the rented rooms with the tavern
    • Dreamfort <quickfort-blueprint-guide> blueprint set improvements: new design for the services level, including were-bitten hospital recovery rooms and an appropriately-themed interrogation room next to the jail! Also fits better in a 1x1 embark for minimalist players.
  • workorder: a manager is no longer required for orders to be created (matching bevavior in the game itself)

Removed

  • deteriorateclothes: please use deteriorate --types=clothes instead
  • deterioratecorpses: please use deteriorate --types=corpses instead
  • deterioratefood: please use deteriorate --types=food instead
  • devel/unforbidall: please use unforbid instead. You can silence the output with unforbid all --quiet

API

  • word_wrap: argument bool collapse_whitespace converted to enum word_wrap_whitespace_mode mode, with valid modes WSMODE_KEEP_ALL, WSMODE_COLLAPSE_ALL, and WSMODE_TRIM_LEADING.

Lua

  • gui.View: all View subclasses (including all Widgets) can now acquire keyboard focus with the new View:setFocus() function. See docs for details.
  • materials.ItemTraitsDialog: new dialog to edit item traits (where "item" is part of a job or work order or similar). The list of traits is the same as in vanilla work order conditions "t change traits".
  • widgets.EditField:
    • the key_sep string is now configurable
    • can now display an optional string label in addition to the activation key
    • views that have an EditField subview no longer need to manually manage the EditField activation state and input routing. This is now handled automatically by the new gui.View keyboard focus subsystem.
  • widgets.HotkeyLabel: the key_sep string is now configurable

Structures

  • art_image_elementst: identify vmethod markDiscovered and second parameter for getName2
  • art_image_propertyst: identify parameters for getName
  • building_handler: fix vmethod get_machine_hookup_list parameters
  • vermin: identify category field as new enum
  • world.unk_26a9a8: rename to allow_announcements

Don't miss a new dfhack release

NewReleases is sending notifications on new releases.