Loads Archer from other Mods with its designated folder #6
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I have been working on improving the filesystem API for FortRise, and now I wanted to try and see if the content loading would improved. I wanted the filesystem API to be more usable and friendlier to use, so it will allows the other mods to have a working zip format to be used in released, so the user doesn't need to extract a file, or delete and extract a file because folders cannot be overwritten, only the files. This is will also allows for optimization like the hot reloading won't work if its in the zip format because it doesn't make sense to have hot reloading in released mods anyway.
This new filesystem API also allows the mods look inside of other content mods allowing this archer loader mod to load the archers in other mod if provided a designated way on where the archers should be loaded. This can actually be done before, but the API is hard to use.
Implementation:
Testing:
This PR needs #7 first to be pushed first