-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: ♻️ mod loading refactor (#485)
* refactor: ♻️ should probably start committing * refactor: ♻️ load mod zips * refactor: ♻️ move DOCS const to Store * refactor: ♻️ draw the rest of the owl * refactor: 🔥 remove old mod_loader.gd * fix: 🐛 only log pck warning if zip is loaded * refactor: ♻️ leaner mod order logging * refactor: ♻️ always have `mod_data` available * refactor: ♻️ prevent error if mods dir doesn't exists * style: 🎨 formating * style: ✏️ looong * test: 🧪 fix for non static manifest * fix: 🐛 Add back cache saving on `_exit_tree()` * fix: 🐛 Add back restart scene on new hooks created * fix: 🐛 bring back `_ready()` * refactor: ♻️ skip config loading if mod is not loadable * fix: ✏️ don't log success if mod is not loaded * refactor: ♻️ move `get_zip_paths_in()` to `_ModLoaderPath` and use it for `get_mod_paths_from_all_sources()`, also removed the logging from `get_zip_paths_in()` and moved it to `ModLoader` * docs: ✏️ better error message * feat: ✨ added `_ModLoaderFile.get_mod_dir_name_in_zip()` and used it in `ModData` * refactor: ♻️ remove unused `else` * refactor: ♻️ removed class from func call * refactor: ♻️ use `is_zip()` * style: ✏️ changed `mod_i` to `mod_index` * refactor: 📝 mention the dev tool in `any_mod_hooked` info log * style: ✏️ fix typo
- Loading branch information
Showing
12 changed files
with
417 additions
and
525 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.