Generating raws with Lua | Dwarf Fortress Modding Tutorial

Опубликовано: 03 Август 2026
на канале: Kitfox Games
4,971
350

Learn how to create a Dwarf Fortress mod that uses the Lua procedural generation API. This is a tutorial by DPh Kraken (  / dphkraken  ) for experienced modders.

0:00 Introduction
0:35 Adding init.lua
0:57 Registering Raws with do_once
1:56 Pre-scripted Raws from a Table
2:38 Random Generation
3:21 generate_from_list
4:23 Custom Divine Metals
5:33 Conclusion

Links:

Text guide: https://dwarffortresswiki.org/index.p...
Copiable scripts: https://dwarffortresswiki.org/index.p...
Example secret: https://github.com/Putnam3145/Putnam-...

Join the Kitfox Discord server:   / discord