dfhack icon indicating copy to clipboard operation
dfhack copied to clipboard

Memory hacking library for Dwarf Fortress and a set of tools that use it

Results 736 dfhack issues
Sort by recently updated
recently updated
newest added

Creates "canonical" examples of class 1 (non-enableable), class 2 (enableable from dfhack.init), and class 3 (enableable after world loaded, keeps persistent state in world) plugins. also: - moves `skeleton.cpp` to...

Fixes #1941 This PR makes two changes: - The internal map of plant id -> plant index now only contains plants that have seeds. This will allow us to print...

As discussed on Discord

Added autoDFAnnouncement, which takes a report_init and a string, and handles them like DF does. (E.g., handling repeats and ignoring those in unrevealed map.) Added pauseRecenter, which recenters on an...

Looking to rewrite via: - @myk002 and the one following.

If BUILD_TESTS=ON: - Adds a 'test' target for ninja - Adds a library/MiscUtils.test unit test executable This uses the CTest tool that is part of CMake. Hopefully it might provide...

This adds code for saving event data for future ticks, and the updated callbacks sending the appropriate saved data. edited: undo of formatting and force pushed, description changed accordingly

I've had an [onUnitAction event](https://github.com/Putnam3145/SPARKING-Dwarf-Fortress-DBZ-mod/blob/master/raw/scripts/modtools/putnam_events.lua) that I've wanted to move to C++ since, oh, 2015. I only got DFHack compiled recently, so here it is. Tested to work with my...

eventful

After a few weeks of posting mostly idiotic questions out on the DFHack Discord, I finally managed to implement what I had long since wanted in DF: an alternative logic...