From 98f076573890d9fe242636c32df23270fbe6b01e Mon Sep 17 00:00:00 2001 From: Lucas Schwiderski Date: Tue, 28 Mar 2023 22:44:47 +0200 Subject: [PATCH] Update 'Migrating from loose files' --- Migrating-from-loose-files.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Migrating-from-loose-files.md b/Migrating-from-loose-files.md index 8449158..74c3d53 100644 --- a/Migrating-from-loose-files.md +++ b/Migrating-from-loose-files.md @@ -29,7 +29,7 @@ The `.package` file supports wildcards, so the most simple version would look li ```sjson lua = [ - "scripts/mods//*" + "scripts/mods/DMF/*" ] ``` @@ -37,19 +37,19 @@ A suggested final file structure looks as follows: ```none -└── +└──DMF ├──dtmt.cfg ├──packages │ └──mods - │ └──.package + │ └──DMF.package └──scripts └──mods - └── + └──DMF ├──data.lua ├──init.lua └──localization.lua ``` -All additional Lua files can then be dropped into `scripts/mods/` (subdirectories are supported) and can be `require`d in-game with the full path, e.g. `require("scripts/mods//my_extra_file")`. +All additional Lua files can then be dropped into `scripts/mods/DMF` (sub-directories are supported) and can be `require`d in-game with the full path, e.g. `require("scripts/mods/DMF/my_extra_file")`. Modding veterans from VT2 may recognize this file structure 🙂 \ No newline at end of file