Update 'Building your first mod'
parent
bdc9f16b5d
commit
86005ffc21
1 changed files with 3 additions and 2 deletions
|
@ -2,7 +2,7 @@ In a Command Prompt/terminal, run `dtmt new <path/to/new/folder>` to create a sk
|
|||
During this, DTMT will prompt for several fields, including:
|
||||
|
||||
- `name`: The human-readable name of your mod. This will show up in various places like DTMM's mod list or DMF's mod options view.
|
||||
- `id`: A unique ID for your mod. The default is generated from `name` and should be good enough in most cases (clicking Enter without typing accepts the default value). This will be used throughout your code (e.g. in `get_mod()` calls).
|
||||
- `id`: A unique ID for your mod. The default is generated from `name` and should be good enough in most cases (clicking `Enter` without typing accepts the default value). This will be used throughout your code (e.g. in `get_mod()` calls).
|
||||
|
||||
DTMT will now create the given directory from the mod template:
|
||||
|
||||
|
@ -11,7 +11,8 @@ DTMT will now create the given directory from the mod template:
|
|||
└──<id>
|
||||
├──dtmt.cfg
|
||||
├──packages
|
||||
│ └──<id>.package
|
||||
│ └──mods
|
||||
│ └──<id>.package
|
||||
└──scripts
|
||||
└──mods
|
||||
└──<id>
|
||||
|
|
Loading…
Add table
Reference in a new issue