Update 'Migrating from loose files'
parent
70e5892758
commit
cc36dd3d2e
1 changed files with 6 additions and 4 deletions
|
@ -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/<id>"
|
||||
]
|
||||
```
|
||||
|
@ -37,7 +39,7 @@ The `.package` file supports wildcards, so the most simple version would look li
|
|||
|
||||
```sjson
|
||||
lua = [
|
||||
"scripts/mods/<id>/*"
|
||||
"scripts/mods/<id>/*"
|
||||
]
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue