diff --git a/Migrating-from-loose-files.md b/Migrating-from-loose-files.md index 56992b2..1b9298b 100644 --- a/Migrating-from-loose-files.md +++ b/Migrating-from-loose-files.md @@ -17,16 +17,18 @@ description = "" // A version number to track changes in your mod with. Not used, yet, but good practice to always have anyways. version = "" -// The Lua files passed in the second parameter of DMF's `new_mod` +// File paths to Lua files, as passed in the second parameter of DMF's `new_mod` resources = { - // The Lua file to be called by DMF when it initializes your mod. + // The Lua file to be called by DMF when it initializes your mod. init = "" + // The Lua file returning the mod's DMF configuration. data = "" + // The Lua file returning localization strings to be registered with DMF. localization = "" } packages = [ - // At least one package file to load your files. It doesn't have to be named after your mod's ID value, but it is good practice to do so. + // At least one package file to load your files. It doesn't have to be named after your mod's ID value, but it is good practice to do so. "packages/" ] ``` @@ -37,7 +39,7 @@ The `.package` file supports wildcards, so the most simple version would look li ```sjson lua = [ - "scripts/mods//*" + "scripts/mods//*" ] ```