Dwarffortressmod.zip
Extract your mod folder into the Dwarf Fortress/mods/ directory.
Creating a useful Dwarf Fortress mod in a DwarfFortressMod.zip file involves organizing your content to conform to the game’s raw data structure, specifically targeting objects for functionality or graphics for visuals. Since July 2025, modern modding also allows for Lua scripting to change procedural generation for creatures, necromancers, and evil weather. DwarfFortressMod.zip
: Subfolder for raw files (.txt) defining new items, creatures, or reactions. graphics/ : Subfolder for new sprites. scripts/ : (Optional) Subfolder for .lua scripts. Example info.txt content: Extract your mod folder into the Dwarf Fortress/mods/
When generating a new world, select your mod in the "Mods" section of the advanced world generation screen. : Subfolder for raw files (
If your mod includes scripts, it should be designed to run with DFHack , the primary tool for automated management and advanced, user-friendly gameplay modifications.
For complex behavioral changes, create init.lua in your mod root.
Idea: Tweak tavern keepers to serve food faster, or reduce the damage of "snatchers".