dfhack/NEWS

655 lines
33 KiB
Plaintext

2015-01-05 18:34:09 -07:00
DFHack Future
2015-01-31 21:22:42 -07:00
Internals
2015-02-11 17:10:50 -07:00
Lua scripts will only be reloaded if necessary
Added support for onLoadMap/onUnloadMap.init scripts
New internal commands:
hide/show: hide and show the console on Windows
sc-script: Allows additional scripts to be run when certain events occur (similar to onLoad*.init scripts)
2015-01-31 21:22:42 -07:00
Fixes
2015-02-11 17:10:50 -07:00
Made PRELOAD_LIB more extensible on Linux
add-spatter/eventful: Fixed crash on world load
Gave add-thought a proper subthought arg.
fix-armory compiles and is available again (albeit with issues)
gui/gm-editor: Added search option (accessible with "s")
hack-wish: Made items stack properly.
modtools/skill-change: made level granularity work properly.
show-unit-syndromes should work
zone: Stopped crash when scrolling cage owner list
2015-01-31 21:22:42 -07:00
New Plugins
New Scripts
2015-02-11 17:10:50 -07:00
modtools/reaction-product-trigger: triggers callbacks when products are produced (contrast with when reactions complete)
2015-01-31 21:22:42 -07:00
New Tweaks
2015-02-11 17:10:50 -07:00
tradereq-pet-gender: Displays pet genders on the trade request screen
2015-01-31 21:22:42 -07:00
Removed
Misc Improvements
2015-01-31 21:36:34 -07:00
DFHack 0.40.24-r2
Internals
2015-01-26 19:55:28 -07:00
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).
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
2015-01-30 15:38:38 -07:00
Filesystem module now provides file access/modification times and can list directories (normally and recursively)
2015-01-29 12:59:15 -07:00
Units Module: New functions:
isWar
isHunter
isAvailableForAdoption
isOwnCiv
isOwnRace
getRaceName
getRaceNamePlural
getRaceBabyName
getRaceChildName
isBaby
isChild
isAdult
isEggLayer
isGrazer
isMilkable
isTrainableWar
isTrainableHunting
isTamable
isMale
isFemale
isMerchant
isForest
isMarkedForSlaughter
Buildings Module: New Functions:
isActivityZone
isPenPasture
isPitPond
isActive
2015-01-29 13:02:54 -07:00
findPenPitAt
Fixes
2015-01-26 19:55:28 -07:00
dfhack.run_script should correctly find save-specific scripts now.
2015-01-26 20:13:24 -07:00
Updated add-thought to properly affect stress.
hfs-pit should work now
2015-01-28 19:27:00 -07:00
Autobutcher takes gelding into account
2015-01-30 15:38:38 -07:00
init.lua existence checks should be more reliable (notably when using non-English locales)
New Plugins
New Scripts
New Tweaks
Removed
Misc Improvements
Multiline commands are now possible inside dfhack.init scripts. See dfhack.init-example for example usage.
2015-01-23 20:58:23 -07:00
DFHack 0.40.24-r1
Internals
CMake shouldn't cache DFHACK_RELEASE anymore. People may need to manually update/delete their CMake cache files to get rid of it.
2015-01-23 20:58:23 -07:00
DFHack 0.40.24-r0
2015-01-15 20:16:13 -07:00
Internals
EventManager: fixed crash error with EQUIPMENT_CHANGE event.
2015-01-15 20:30:28 -07:00
key modifier state exposed to Lua
Fixes
dfhack script can now be run from other directories on OSX
New Plugins
2015-01-14 17:29:06 -07:00
blueprint: export part of your fortress to quickfort .csv files
2015-01-15 20:30:28 -07:00
New Scripts
hotkey-notes: print key, name, and jump position of hotkeys
2015-01-15 20:30:28 -07:00
Removed
embark.lua
needs_porting/*
2015-01-15 20:30:28 -07:00
New Tweaks
Misc Improvements
added support for searching more lists
2015-01-05 18:34:09 -07:00
2015-01-05 15:07:13 -07:00
DFHack 0.40.23-r1
2014-12-04 21:58:19 -07:00
Internals
2015-01-05 14:29:03 -07:00
plugins will not be loaded if globals they specify as required are not located (should prevent some crashes)
2014-12-04 21:58:19 -07:00
Fixes
Fixed numerous (mostly Lua-related) crashes on OS X by including a more up-to-date libstdc++
Alt should no longer get stuck on Windows (and perhaps other platforms as well)
2015-01-05 14:29:03 -07:00
advfort works again
autobutcher takes sexualities into account
devel/export-dt-ini: Updated for 0.40.20+
digfort: now checks file type and existence
2015-01-05 14:29:03 -07:00
exportlegends: Fixed map export
full-heal: Fixed a problem with selecting units in the GUI
gui/hack-wish: Fixed restrictive material filters
mousequery: Changed box-select key to Alt+M
plugins/dwarfmonitor: correct date display (month index, separator)
scripts/putontable: added to the readme
siren should work again
2015-01-05 14:29:03 -07:00
stderr.log: removed excessive debug output on OS X
trackstop: No longer prevents cancelling the removal of a track stop or roller.
Fixed a display issue with PRINT_MODE:TEXT
2015-01-05 14:29:03 -07:00
Fixed a symbol error (MapExtras::BiomeInfo::MAX_LAYERS) when compiling DFHack in Debug mode
2014-12-04 21:58:19 -07:00
New Plugins
2015-01-07 19:02:07 -07:00
fortplan: designate construction of (limited) buildings from .csv file, quickfort-style
2014-12-04 21:58:19 -07:00
New Scripts
2014-12-05 05:32:01 -07:00
gui/stockpiles: an in-game interface for saving and loading stockpile
settings files.
position: Reports the current date, time, month, and season, plus
some location info. Port/update of position.py
hfs-pit: Digs a hole to hell under the cursor. Replaces needs_porting/hellhole.cpp
Removed
embark.lua: Obsolete, use `embark-tools`
2015-01-01 12:38:14 -07:00
New tweaks:
eggs-fertile: Displays an egg fertility indicator on nestboxes
max-wheelbarrow: Allows assigning more than 3 wheelbarrows to a stockpile
2014-12-04 21:58:19 -07:00
Misc Improvements
embark-tools: Added basic mouse support on the local map
Made some adventure mode keybindings in dfhack.init-example only work in adventure mode
Added a default keybinding for "gui/companion-order"
further work on needs_porting
2014-12-04 21:58:19 -07:00
DFHack 0.40.19-r1
2014-11-19 22:05:33 -07:00
Internals:
Fixes:
2014-11-28 21:03:39 -07:00
typo fix in modtools/reaction-trigger
modtools/item-trigger should now work with item types
2014-11-19 22:05:33 -07:00
New plugins:
savestock and loadstock: two commands for saving and loading
stockpile settings to a file. They can be used to migrate stockpile
settings between worlds and saves.
2014-11-19 22:05:33 -07:00
New scripts:
remove-stress [all]: set selected or all units unit to -1,000,000 stress
this script replaces removebadthoughts.rb
2014-11-19 22:05:33 -07:00
Misc improvements:
cmd-prompt can now access selected items, units, and buildings
autolabor plugin: add an optional talent pool parameter
2014-11-19 22:05:33 -07:00
DFHack 0.40.16-r1
Internals:
EventManager should handle INTERACTION triggers a little better. It still can get confused about who did what but only rarely.
EventManager should no longer trigger REPORT events for old reports after loading a save.
2014-11-14 16:57:09 -07:00
lua/persist-table.lua: a convenient way of using persistent tables of arbitrary structure and dimension in Lua
Fixes:
2014-11-15 14:48:06 -07:00
mousequery: Disabled when linking levers
stocks: Melting should work now
scripts/full-heal: Updated with proper argument handling.
scripts/modtools/reaction-trigger-transition.lua
should produce the correct syntax now
scripts/superdwarf.rb should work better now
scripts/forum-dwarves.lua
update for new df-structures changes
2014-11-10 02:46:23 -07:00
New scripts:
scripts/
adaptation.rb
view or set the cavern adaptation level of your citizens
2014-11-10 02:46:23 -07:00
add-thought.lua
allows the user to add thoughts to creatures.
2014-11-14 22:24:02 -07:00
gaydar.lua
detect the sexual orientation of units on the map
markdown.lua
Save a copy of a text screen in markdown (for reddit among others).
devel/
all-bob.lua: renames everyone Bob to help test interaction-trigger
Misc improvements:
2014-11-15 14:48:06 -07:00
autodump:
Can now mark a stockpile for auto-dumping (similar to
automelt and autotrade)
buildingplan:
Can now auto-allocate rooms to dwarves with specific positions
(e.g. expedition leader, mayor)
dwarfmonitor
Now displays a weather indicator and date
lua/syndrome-util.lua
now you can remove syndromes by SYN_CLASS
scripts/modtools/add-syndrome.lua
now you can remove syndromes by SYN_CLASS
No longer writes empty .history files
2014-11-08 23:46:31 -07:00
DFHack 0.40.15-r1
2014-11-07 13:39:24 -07:00
Fixes:
- mousequery: Fixed behavior when selecting a tile on the lowest z-level
2014-11-06 21:46:56 -07:00
Internals:
- EventManager: deals with frame_counter getting reset properly now.
- modtools/item-trigger: fixed equip/unequip bug and corrected minor documentation error
- teleport: Updated with proper argument handling and proper unit-at-destination handling.
2014-11-06 21:47:14 -07:00
- autotrade: Removed the newly obsolete "Mark all" functionality.
2014-11-06 22:28:13 -07:00
- search: Adapts to the new trade screen column width
- tweak fast-trade: Switching the fast-trade keybinding to Shift-Up/Shift-Down, due to Select All conflict
DFHack 0.40.14-r1
Internals:
- 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
- Stopped "-e" from being echoed when DFHack quits on Linux
- automelt now uses a faster method to locate items
- autotrade: "Mark all" no longer double-marks bin contents
- drainaquifer.rb: replaced with a faster less buggy drain-aquifer.lua
- embark-tools no longer conflicts with keys on the notes screen
- fastdwarf: Fixed problems with combat/attacks
- forum-dwarves should work now
- manipulator now uses a stable sort, allowing sorting by multiple categories
- rendermax updated to work with 0.40
2014-09-28 18:43:19 -06:00
New plugins:
- trackstop: Shows track stop friction and dump direction in its 'q' menu
2014-09-27 18:04:05 -06:00
New tweaks:
- farm-plot-select: Adds "Select all" and "Deselect all" options to farm plot menus
- 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
2014-09-28 11:13:01 -06:00
- civ-view-agreement: Fixes overlapping text on the "view agreement" screen
- nestbox-color: Fixes the color of built nestboxes
2014-09-16 15:51:29 -06:00
Misc Improvements:
- exportlegends.lua can now handle site maps
2014-09-19 14:42:06 -06:00
DFHack 0.40.13-r1
Internals:
- unified spatter structs
2014-09-25 07:53:03 -06:00
- added ruby df.print_color(color, string) method for dfhack console
2014-09-19 14:26:23 -06:00
Fixes:
- no more -e after terminating
2014-09-25 14:02:31 -06:00
- fixed superdwarf
2014-09-19 14:26:23 -06:00
2014-09-16 15:51:29 -06:00
DFHack 0.40.12-r1
2014-09-16 15:03:05 -06:00
Fixes:
- possible crash fixed for hack-wish
2014-09-16 15:24:33 -06:00
- updated search to not conflict with BUILDJOB_SUSPEND
2014-09-16 15:26:01 -06:00
- workflow: job_material_category -> dfhack_material_category
2014-09-16 15:12:49 -06:00
New plugins:
- hotkeys (by Falconne): Shows ingame viewscreen with all dfhack keybindings active in current mode.
- automelt: allows marking stockpiles for automelt (i.e. any items placed in stocpile will be designated for melting)
2014-09-16 15:19:06 -06:00
Misc Improvements:
- now you can use @ to print things in interactive Lua with subtley different semantics
- optimizations for stockpiles for autotrade and stockflow
- updated exportlegends.lua to work with new maps, dfhack 40.11 r1+
2014-09-16 15:22:48 -06:00
Internals:
- support for global onLoadWorld.init and onUnloadWorld.init files,
called when loading and unloading a world
- Close file after loading a binary patch.
2014-09-08 14:12:51 -06:00
DFHack 0.40.11-r1
2012-09-30 17:22:52 -06:00
Internals:
- 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
- Fixed some autotrade and search layout issues
- Updated deathcause
- hack-wish should work now
- reveal no longer allocates data for nonexistent map blocks
- Various documentation fixes and updates
2014-09-08 10:53:30 -06:00
2014-08-29 03:26:48 -06:00
DFHack v0.40.10-r1
A few bugfixes.
2014-08-15 07:25:45 -06:00
DFHack v0.40.08-r2
2014-07-03 14:12:09 -06:00
Internals:
supported per save script folders
2014-07-03 14:12:09 -06:00
Items module: added createItem function
Sorted CMakeList for plugins and plugins/devel
diggingInvaders no longer builds if plugin building is disabled
EventManager:
EQUIPMENT_CHANGE now triggers for new units
new events:
ON_REPORT
UNIT_ATTACK
UNLOAD
INTERACTION
New scripts:
lua/
2014-07-03 18:32:15 -06:00
repeat-util.lua
2014-07-03 14:12:09 -06:00
makes it easier to make things repeat indefinitely
syndrome-util.lua
makes it easier to deal with unit syndromes
scripts/
2014-07-09 04:21:52 -06:00
forum-dwarves.lua
2014-08-15 03:54:33 -06:00
helps copy df viewscreens to a file
2014-07-09 04:21:52 -06:00
full-heal.lua
2014-08-15 03:54:33 -06:00
fully heal a unit
2014-07-09 04:21:52 -06:00
remove-wear.lua
2014-07-03 14:12:09 -06:00
removes wear from all items in the fort
repeat.lua
repeatedly calls a script or a plugin
ShowUnitSyndromes.rb
shows syndromes affecting units and other relevant info
2014-07-03 16:44:33 -06:00
teleport.lua
2014-07-03 14:12:09 -06:00
teleports units
scripts/devel/
2014-07-09 04:21:52 -06:00
print-args.lua
2014-07-03 14:12:09 -06:00
scripts/fix/
2014-07-09 04:21:52 -06:00
blood-del.lua
2014-07-03 14:12:09 -06:00
makes it so civs don't bring barrels full of blood ichor or goo
feeding-timers.lua
reset the feeding timers of all units
scripts/gui/
2014-07-09 04:21:52 -06:00
hack-wish.lua
2014-07-03 14:12:09 -06:00
creates items out of any material
unit-info-viewer.lua
displays information about units
scripts/modtools/
add-syndrome.lua
add a syndrome to a unit or remove one
2014-08-15 03:54:33 -06:00
anonymous-script.lua
execute an lua script defined by a string. For example, 'scripts/modtools/anonymous-script "print(args[2] .. args[1])" one two' will print 'twoone'. Useful for the *-trigger scripts.
2014-07-03 14:12:09 -06:00
force.lua
forces events: caravan, migrants, diplomat, megabeast, curiousbeast, mischievousbeast, flier, siege, nightcreature
item-trigger.lua
triggers commands based on equipping, unequipping, and wounding units with items
interaction-trigger.lua
triggers commands when interactions happen
invader-item-destroyer.lua
destroys invaders' items when they die
2014-07-03 15:33:38 -06:00
moddable-gods.lua
standardized version of Putnam's moddable gods script
2014-07-09 04:21:52 -06:00
outside-only.lua
register buildings as outside only or inside only
replaces outsideOnly plugin
2014-07-03 16:28:05 -06:00
projectile-trigger.lua
standardized version of projectileExpansion
2014-07-03 14:12:09 -06:00
reaction-trigger.lua
trigger commands when custom reactions complete
replaces autoSyndrome
reaction-trigger-transition.lua
a tool for converting mods from autoSyndrome to reaction-trigger
random-trigger.lua
triggers random scripts that you register
2014-07-03 18:03:22 -06:00
skill-change.lua
for incrementing and setting skills
2014-07-03 17:22:01 -06:00
spawn-flow.lua
creates flows, like mist or dragonfire
2014-07-03 14:12:09 -06:00
syndrome-trigger.lua
trigger commands when syndromes happen
transform-unit.lua
shapeshifts a unit, possibly permanently
New commands:
New tweaks:
New plugins:
Misc improvements:
2014-07-09 04:21:52 -06:00
new function in utils.lua for standardized argument processing
2014-07-03 14:12:09 -06:00
Removed
digmat.rb: digFlood does the same functionality with less FPS impact
scripts/invasionNow: scripts/modtools/force.lua does it better
autoSyndrome replaced with scripts/modtools/reaction-trigger.lua
syndromeTrigger replaced with scripts/modtools/syndrome-trigger.lua
2014-08-15 04:07:31 -06:00
devel/printArgs plugin converted to scripts/devel/print-args.lua
2014-06-20 01:09:43 -06:00
2014-08-15 07:25:45 -06:00
DFHack v0.40.08-r1
Was a mistake. Don't use it.
2014-06-20 01:09:43 -06:00
DFHack v0.34.11-r5
Internals:
- support for calling a lua function via a protobuf request (demonstrated by dfhack-run --lua).
2014-06-18 13:47:17 -06:00
- support for basic filesystem operations (e.g. chdir, mkdir, rmdir, stat) in C++ and Lua
2014-02-14 05:29:27 -07:00
- Lua API for listing files in directory. Needed for mod-manager.
- Lua API for creating unit combat reports and writing to gamelog.
2014-06-15 20:51:43 -06:00
- Lua API for running arbitrary DFHack commands
- support for multiple raw/init.d/*.lua init scripts in one save.
2014-05-04 09:27:18 -06:00
- eventful now has a more friendly way of making custom sidebars
2014-06-10 03:32:15 -06:00
- on Linux and OSX the console now supports moving the cursor back and forward by a whole word.
New scripts:
- gui/mod-manager: allows installing/uninstalling mods into df from df/mods directory.
- gui/clone-uniform: duplicates the currently selected uniform in the military screen.
- fix/build-location: partial work-around for bug 5991 (trying to build wall while standing on it)
- undump-buildings: removes dump designation from materials used in buildings.
2014-05-12 11:50:32 -06:00
- exportlegends: exports data from legends mode, allowing a set-and-forget export of large worlds.
- log-region: each time a fort is loaded identifying information will be written to the gamelog.
2014-05-12 11:55:49 -06:00
- dfstatus: show an overview of critical stock quantities, including food, drinks, wood, and bars.
New commands:
- 'plant create' - spawn a new shrub under the cursor
- command-prompt: a dfhack command prompt in df.
2013-10-19 18:42:54 -06:00
New tweaks:
- craft-age-wear: make crafted items wear out with time like in old versions (bug 6003)
- adamantine-cloth-wear: stop adamantine clothing from wearing out (bug 6481)
2014-06-15 20:55:02 -06:00
- confirm-embark: adds a prompt before embarking (on the "prepare carefully" screen)
New plugins:
- rendermax: replace the renderer with something else. Most interesting is "rendermax light"- a lighting engine for df.
2014-06-04 04:12:30 -06:00
- automelt: allows marking stockpiles for automelt (i.e. any items placed in stocpile will be designated for melting)
2014-06-15 20:50:41 -06:00
- embark-tools: implementations of Embark Anywhere, Nano Embark, and a few other embark-related utilities
- building-hacks: Allows to add custom functionality and/or animations to buildings.
2014-06-19 21:22:51 -06:00
- petcapRemover: triggers pregnancies in creatures so that you can effectively raise the default pet population cap from the default 50
2013-10-19 18:42:54 -06:00
2013-10-30 08:25:16 -06:00
Misc improvements:
2014-06-19 21:22:51 -06:00
- plant: move the 'grow', 'extirpate' and 'immolate' commands as 'plant' subcommands
2013-10-30 08:25:16 -06:00
- digfort: improved csv parsing, add start() comment handling
2014-02-26 15:56:53 -07:00
- exterminate: allow specifying a caste (exterminate gob:male)
- createitem: in adventure mode it now defaults to the controlled unit as maker.
- autotrade: adds "(Un)mark All" options to both panes of trade screen.
- mousequery: several usability improvements.
- mousequery: show live overlay (in menu area) of what's on the tile under the mouse cursor.
2014-05-04 04:04:03 -06:00
- search: workshop profile search added.
- dwarfmonitor: add screen to summarise preferences of fortress dwarfs.
- getplants: add autochop function to automate woodcutting.
- stocks: added more filtering and display options.
2013-10-30 08:25:16 -06:00
Siege engine plugin:
- engine quality and distance to target now affect accuracy
- firing the siege engine at a target produces a combat report
- improved movement speed computation for meandering units
- operators in Prepare To Fire mode are released from duty once
hungry/thirsty if there is a free replacement
2013-10-24 17:37:08 -06:00
DFHack v0.34.11-r4
2013-10-19 18:42:54 -06:00
New commands:
2013-10-20 09:20:48 -06:00
- diggingInvaders - allows invaders to dig and/or deconstruct walls and buildings in order to get at your dwarves.
2013-06-25 17:57:17 -06:00
- digFlood - automatically dig out specified veins as they are revealed
2013-10-20 09:20:48 -06:00
- enable, disable - Built-in commands that can be used to enable/disable many plugins.
- restrictice - Restrict traffic on squares above visible ice.
2013-10-20 09:20:48 -06:00
- restrictliquid - Restrict traffic on every visible square with liquid.
- treefarm - automatically chop trees and dig obsidian
2013-03-15 18:37:06 -06:00
New scripts:
2013-04-24 09:26:43 -06:00
- autobutcher: A GUI front-end for the autobutcher plugin.
- invasionNow: trigger an invasion, or many
2013-10-20 09:20:48 -06:00
- locate_ore: scan the map for unmined ore veins
- masspit: designate caged creatures in a zone for pitting
- multicmd: run a sequence of dfhack commands, separated by ';'
2013-04-30 10:31:28 -06:00
- startdwarf: change the number of dwarves for a new embark
2013-10-11 11:15:56 -06:00
- digmat: dig veins/layers tile by tile, as discovered
2013-03-15 17:51:04 -06:00
Misc improvements:
2013-05-25 18:44:07 -06:00
- autoSyndrome:
disable by default
reorganized special tags
minimized error spam
reset policies: if the target already has an instance of the syndrome you can skip, add another instance, reset the timer, or add the full duration to the time remaining
2013-10-20 09:20:48 -06:00
- core: fix SC_WORLD_(UN)LOADED event for arena mode
- exterminate: renamed from slayrace, add help message, add butcher mode
2013-05-25 18:44:07 -06:00
- fastdwarf: fixed bug involving fastdwarf and teledwarf being on at the same time
2013-10-20 09:20:48 -06:00
- magmasource: rename to 'source', allow water/magma sources/drains
- ruby: add df.dfhack_run "somecommand"
- syndromeTrigger: replaces and extends trueTransformation. Can trigger things when syndromes are added for any reason.
- tiletypes: support changing tile material to arbitrary stone.
2013-10-20 09:20:48 -06:00
- workNow: can optionally look for jobs when jobs are completed
New tweaks:
- hive-crash: Prevent crash if bees die in a hive with ungathered products (bug 6368).
New plugins:
2013-10-20 10:43:54 -06:00
- 3dveins: Reshapes all veins on the map in a way that flows between Z levels. May be unstable. Backup before using.
2013-10-20 09:20:48 -06:00
- autotrade: Automatically send items in marked stockpiles to trade depot, when trading is possible.
- buildingplan: Place furniture before it's built
- dwarfmonitor: Records dwarf activity to measure fort efficiency
- mousequery: Look and poke at the map elements with the mouse.
2013-10-20 09:20:48 -06:00
- outsideOnly: make raw-specified buildings impossible to build inside
- resume: A plugin to help display and resume suspended constructions conveniently
- stocks: An improved stocks display screen.
2013-05-25 18:44:07 -06:00
Internals:
- Core: there is now a per-save dfhack.init file for when the save is loaded, and another for when it is unloaded
- EventManager: fixed job completion detection, fixed removal of TICK events, added EQUIPMENT_CHANGE event
- Lua API for a better random number generator and perlin noise functions.
2013-10-20 09:20:48 -06:00
- Once: easy way to make sure something happens once per run of DF, such as an error message
2013-03-13 23:48:31 -06:00
DFHack v0.34.11-r3
2012-10-06 02:40:46 -06:00
Internals:
- support for displaying active keybindings properly.
- support for reusable widgets in lua screen library.
2013-01-07 10:36:11 -07:00
- Maps::canStepBetween: returns whether you can walk between two tiles in one step.
- EventManager: monitors various in game events centrally so that individual plugins
don't have to monitor the same things redundantly.
2013-03-16 11:37:16 -06:00
- Now works with OSX 10.6.8
Notable bugfixes:
- autobutcher can be re-enabled again after being stopped.
- stopped Dwarf Manipulator from unmasking vampires.
2013-03-16 11:37:16 -06:00
- Stonesense is now fixed on OSX
2012-10-06 02:40:46 -06:00
Misc improvements:
- fastdwarf: new mode using debug flags, and some internal consistency fixes.
- added a small stand-alone utility for applying and removing binary patches.
- removebadthoughts: add --dry-run option
2012-11-16 09:46:41 -07:00
- superdwarf: work in adventure mode too
- tweak stable-cursor: carries cursor location from/to Build menu.
- deathcause: allow selection from the unitlist screen
- slayrace: allow targetting undeads
New tweaks:
- tweak military-training: speed up melee squad training up to 10x (normally 3-5x).
New scripts:
- binpatch: the same as the stand-alone binpatch.exe, but works at runtime.
- region-pops: displays animal populations of the region and allows tweaking them.
- lua: lua interpreter front-end converted to a script from a native command.
- dfusion: misc scripts with a text based menu.
- embark: lets you embark anywhere.
- lever: list and pull fort levers from the dfhack console.
- stripcaged: mark items inside cages for dumping, eg caged goblin weapons.
- soundsense-season: writes the correct season to gamelog.txt on world load.
- create-items: spawn items
- fix/cloth-stockpile: fixes bug 5739; needs to be run after savegame load every time.
New GUI scripts:
- gui/guide-path: displays the cached path for minecart Guide orders.
- gui/workshop-job: displays inputs of a workshop job and allows tweaking them.
- gui/workflow: a front-end for the workflow plugin (part inspired by falconne).
- gui/assign-rack: works together with a binary patch to fix weapon racks.
- gui/gm-editor: an universal editor for lots of dfhack things.
- gui/companion-order: a adventure mode command interface for your companions.
2012-12-08 16:24:36 -07:00
- gui/advfort: a way to do jobs with your adventurer (e.g. build fort).
New binary patches (for use with binpatch):
- armorstand-capacity: doubles the capacity of armor stands.
- custom-reagent-size: lets custom reactions use small amounts of inputs.
- deconstruct-heapfall: stops some items still falling on head when deconstructing.
- deconstruct-teleport: stops items from 16x16 block teleporting when deconstructing.
- hospital-overstocking: stops hospital overstocking with supplies.
- training-ammo: lets dwarves with quiver full of combat-only ammo train.
- weaponrack-unassign: fixes bug that negates work done by gui/assign-rack.
Workflow plugin:
- properly considers minecarts assigned to routes busy.
- code for deducing job outputs rewritten in lua for flexibility.
- logic fix: collecting webs produces silk, and ungathered webs are not thread.
- items assigned to squads are considered busy, even if not in inventory.
- shearing and milking jobs are supported, but only with generic MILK or YARN outputs.
- workflow announces when the stock level gets very low once a season.
New Fix Armory plugin:
Together with a couple of binary patches and the gui/assign-rack script,
this plugin makes weapon racks, armor stands, chests and cabinets in
properly designated barracks be used again for storage of squad equipment.
New Search plugin by falconne:
Adds an incremental search function to the Stocks, Trading, Stockpile and Unit List screens.
New AutoMaterial plugin by falconne:
Makes building constructions (walls, floors, fortifications, etc) a little bit easier by
saving you from having to trawl through long lists of materials each time you place one.
Dfusion plugin:
Reworked to make use of lua modules, now all the scripts can be used from other scripts.
New Eventful plugin:
A collection of lua events, that will allow new ways to interact with df world.
2013-01-16 09:42:55 -07:00
Auto syndrome plugin:
A way of automatically applying boiling rock syndromes and calling dfhack commands controlled by raws.
Infinite sky plugin:
Create new z-levels automatically or on request.
True transformation plugin:
A better way of doing permanent transformations that allows later transformations.
Work now plugin:
Makes the game assign jobs every time you pause.
2012-09-30 17:22:52 -06:00
DFHack v0.34.11-r2
Internals:
- full support for Mac OS X.
- a plugin that adds scripting in ruby.
- support for interposing virtual methods in DF from C++ plugins.
- support for creating new interface screens from C++ and lua.
- added various other API functions.
Notable bugfixes:
- better terminal reset after exit on linux.
- seedwatch now works on reclaim.
- the sort plugin won't crash on cages anymore.
Misc improvements:
- autodump: can move items to any walkable tile, not just floors.
- stripcaged: by default keep armor, new dumparmor option.
- zone: allow non-domesticated birds in nestboxes.
- workflow: quality range in constraints.
- cleanplants: new command to remove rain water from plants.
- liquids: can paint permaflow, i.e. what makes rivers power water wheels.
- prospect: pre-embark prospector accounts for caves & magma sea in its estimate.
- rename: supports renaming stockpiles, workshops, traps, siege engines.
- fastdwarf: now has an additional option to make dwarves teleport to their destination.
2012-09-29 03:17:28 -06:00
New commands:
- misery: multiplies every negative thought gained (2x by default).
- digtype: designates every tile of the same type of vein on the map for 'digging' (any dig designation).
New tweaks:
- tweak stable-cursor: keeps exact cursor position between d/k/t/q/v etc menus.
- tweak patrol-duty: makes Train orders reduce patrol timer, like the binary patch does.
- tweak readable-build-plate: fix unreadable truncation in unit pressure plate build ui.
- tweak stable-temp: fixes bug 6012; may improve FPS by 50-100% on a slow item-heavy fort.
- tweak fast-heat: speeds up item heating & cooling, thus making stable-temp act faster.
- tweak fix-dimensions: fixes subtracting small amounts from stacked liquids etc.
- tweak advmode-contained: fixes UI bug in custom reactions with container inputs in advmode.
2012-09-28 06:08:42 -06:00
- tweak fast-trade: Shift-Enter for selecting items quckly in Trade and Move to Depot screens.
- tweak military-stable-assign: Stop rightmost list of military->Positions from jumping to top.
- tweak military-color-assigned: In same list, color already assigned units in brown & green.
New scripts:
- fixnaked: removes thoughts about nakedness.
- setfps: set FPS cap at runtime, in case you want slow motion or speed-up.
- siren: wakes up units, stops breaks and parties - but causes bad thoughts.
- fix/population-cap: run after every migrant wave to prevent exceeding the cap.
- fix/stable-temp: counts items with temperature updates; does instant one-shot stable-temp.
2012-09-14 06:49:40 -06:00
- fix/loyaltycascade: fix units allegiance, eg after ordering a dwarf merchant kill.
2012-09-21 07:47:46 -06:00
- deathcause: shows the circumstances of death for a given body.
2012-09-14 06:49:40 -06:00
- digfort: designate areas to dig from a csv file.
- drainaquifer: remove aquifers from the map.
2012-09-14 06:49:40 -06:00
- growcrops: cheat to make farm crops instantly grow.
- magmasource: continuously spawn magma from any map tile.
- removebadthoughts: delete all negative thoughts from your dwarves.
- slayrace: instakill all units of a given race, optionally with magma.
- superdwarf: per-creature fastdwarf.
New GUI scripts:
- gui/mechanisms: browse mechanism links of the current building.
- gui/room-list: browse other rooms owned by the unit when assigning one.
- gui/liquids: a GUI front-end for the liquids plugin.
- gui/rename: renaming stockpiles, workshops and units via an in-game dialog.
- gui/power-meter: front-end for the Power Meter plugin.
- gui/siege-engine: front-end for the Siege Engine plugin.
- gui/choose-weapons: auto-choose matching weapons in the military equip screen.
Autolabor plugin:
- can set nonidle hauler percentage.
- broker excluded from all labors when needed at depot.
- likewise, anybody with a scheduled diplomat meeting.
New Dwarf Manipulator plugin:
Open the unit list, and press 'l' to access a Dwarf Therapist like UI in the game.
New Steam Engine plugin:
Dwarven Water Reactors don't make any sense whatsoever and cause lag, so this may be
a replacement for those concerned by it. The plugin detects if a workshop with a
certain name is in the raws used by the current world, and provides the necessary
behavior. See hack/raw/*_steam_engine.txt for the necessary raw definitions.
Note: Stuff like animal treadmills might be more period, but absolutely can't be
done with tools dfhack has access to.
New Power Meter plugin:
When activated, implements a pressure plate modification that detects power in gear
boxes built on the four adjacent N/S/W/E tiles. The gui/power-meter script implements
the necessary build configuration UI.
2012-09-17 04:59:59 -06:00
New Siege Engine plugin:
When enabled and configured via gui/siege-engine, allows aiming siege engines
at a designated rectangular area with 360 degree fire range and across Z levels;
this works by rewriting the projectile trajectory immediately after it appears.
2012-09-17 04:59:59 -06:00
Also supports loading catapults with non-boulder projectiles, taking from a stockpile,
and restricting operator skill range like with ordinary workshops.
Disclaimer: not in any way to undermine the future siege update from Toady, but
the aiming logic of existing engines hasn't been updated since 2D, and is almost
useless above ground :(. Again, things like making siegers bring their own engines
is totally out of the scope of dfhack and can only be done by Toady.
New Add Spatter plugin:
Detects reactions with certain names in the raws, and changes them from adding
improvements to adding item contaminants. This allows directly covering items
with poisons. The added spatters are immune both to water and 'clean items'.
Intended to give some use to all those giant cave spider poison barrels brought
by the caravans.