scripts icon indicating copy to clipboard operation
scripts copied to clipboard

DFHack scripts

Results 48 scripts issues
Sort by recently updated
recently updated
newest added

These changes fix the errors when running the script, although it doesn't correctly create a unit when running it.

Issue https://github.com/DFHack/dfhack/issues/3342 Depends on https://github.com/DFHack/dfhack/pull/3423 - Make aliases available to lua - Ensure aliases typed in `gui/launcher` show proper help entry - Enhance help entry with aliased command information -...

Info gathering script for deities and religions. Comes with a GUI and print to console options. It's all set code-wise, but most likely not up to lint and formatting standards...

- closes [dfhack #3183](https://github.com/DFHack/dfhack/issues/3183) - unforbid.lua -> claim.lua - unforbid.rst -> claim.rst - update documentation to use claim / claimed - Update "forbid.lua" to hint at "claim all" instead of...

This adds a label that displays `pause` or `unpause` depending on game state. It is enabled or disabled according to the state of the input editfield

VERY WIP. I started writing these updates on 0.47.5, not sure if it even works in 50.05, and have learned a lot more about DFhack since then. Will try to...

For some food categories, this script saves the mat_state wrong. That is, differently from how the game does it. Dunno if it has any actual effect, apart from Dwarf Therapist...

This script recreates workshop jobs upon completion in case they come from a work order with amount set to infinite. Usually a job for an infinite work order is only...

The tool gives options to modders to restrict adventurers from using particular adventurer reactions (normally in vanilla, absolutely all reactions that are flagged as for adventure mode are available to...

The script filters reports out from announcelist screen (`a`), which doesn't prevent them from entering gamelog.txt. Example usage: in announcements.txt add `D_D` to regular and combat conversations like this. ```...