github DFHack/dfhack 0.44.10-r1
DFHack 0.44.10-r1

latest releases: 50.13-r2, 50.13-r1.1, 50.13-r1...
5 years ago

DFHack 0.44.10-r1

New Scripts

  • bodyswap: shifts player control over to another unit in adventure mode
  • devel/find-primitive: finds a primitive variable in memory
  • gui/autogems: a configuration UI for the autogems plugin

New Tweaks

  • tweak kitchen-prefs-all: adds an option to toggle cook/brew for all visible items in kitchen preferences
  • tweak 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 of this 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 with autodump

  • 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 (see gui/autogems)

  • blueprint: added a basic Lua API

  • command-prompt: added support for Gui::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 for Gui::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)

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 enum
  • glowing_barrier: identified triggered, added comments
  • item_flags2: renamed has_written_content to unk_book
  • kitchen_exc_type: new enum (for ui.kitchen)
  • mandate.mode: now an enum
  • unit_personality.emotions.flags.memory: identified
  • viewscreen_kitchenprefst.forbidden, possible: now a bitfield, kitchen_pref_flag
  • world_data.feature_map: added extensive documentation (in XML)

Don't miss a new dfhack release

NewReleases is sending notifications on new releases.