Page 1 of 1

Getting Started

Posted: Tue Jun 11, 2019 8:24 am
by petri
Welcome to modding Druidstone!

Official documentation:
https://github.com/ctrlaltninja/druidstone_modding/wiki

Example mod source files:
https://github.com/ctrlaltninja/gauntlet_glade
https://github.com/ctrlaltninja/testmod

The game loads mods from Documents/Ctrl Alt Ninja/Druidstone/mods/ at startup. For example,
Documents/Ctrl Alt Ninja/Druidstone/mods/testmod/...
Documents/Ctrl Alt Ninja/Druidstone/mods/anothermod/...

Each mod should have a mod_main.lua file, which can then import other Lua files. See the "testmod" project for an example:
Download the example mod from Github and place it in Documents/Ctrl Alt Ninja/Druidstone/mods/testmod. Restart the game and a new mission should appear on the world map.

NOTE: the game loads *all* mods from the location at startup, so you can have more than one mod active at the same time.