Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load extensions and overwrites from directory #379

Open
Qubus0 opened this issue Apr 1, 2024 · 2 comments
Open

Load extensions and overwrites from directory #379

Qubus0 opened this issue Apr 1, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@Qubus0
Copy link
Collaborator

Qubus0 commented Apr 1, 2024

since we introduced the standard of mirroring the games's file system, we can also reduce the boilerplate required for extensions.

this would mean we walk the file system and use load() instead of preload, but it should not impact loading a lot in the grand scheme of things

@Qubus0 Qubus0 added the enhancement New feature or request label Apr 1, 2024
@KANAjetzt
Copy link
Member

The issue I see with this is that we would load any .gd file under the extensions directory. So you can't store any non-extension scripts there if you want to separate something out but still want to store it in the same place as the extension.

The question is, wouldn't it be sufficient to solve this with tooling Mod Dev Tool?

@Qubus0
Copy link
Collaborator Author

Qubus0 commented Apr 2, 2024

it's not meant to replace the current way, just offer another way.
if you want to store other scripts with your extensions, you can do that and use the current way.

And the dev tool can help, but not everyone is going to use it or should need to use it to have nice ux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants