Generating raws with Lua | Dwarf Fortress Modding Tutorial

Channel:
Subscribers:
29,500
Published on ● Video Link: https://www.youtube.com/watch?v=QMxgsUogIIk



Dwarf Fortress
Game:
Duration: 0:00
2,337 views
240


Learn how to create a Dwarf Fortress mod that uses the Lua procedural generation API. This is a tutorial by DPh Kraken (https://www.patreon.com/c/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.php/Lua_scripting
Copiable scripts: https://dwarffortresswiki.org/index.php/Lua_script_examples
Example secret: https://github.com/Putnam3145/Putnam-Mini-Mods/blob/master/Secrets and Curses/objects/interaction_secret_putnamagic.txt

Join the Kitfox Discord server: https://discord.gg/kitfoxgames







Other Statistics

Dwarf Fortress Statistics For Kitfox Games

Kitfox Games presently has 3,791,715 views for Dwarf Fortress across 76 videos, and roughly 3 days worth of Dwarf Fortress videos were uploaded to his channel. This makes up 60.27% of the content that Kitfox Games has uploaded to YouTube.