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

Add Support for Modules in Atlas Framework #3

Open
8char opened this issue Jan 28, 2023 · 0 comments
Open

Add Support for Modules in Atlas Framework #3

8char opened this issue Jan 28, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@8char
Copy link
Owner

8char commented Jan 28, 2023

Issue Summary

Add support for modules in the Atlas Framework

Description

The Atlas Framework currently lacks support for modules, which would greatly improve organization and flexibility in the development of addons. Specifically, I propose the following features for modules in the framework:

  • A protected environment that allows for scoping from the global, but does not create global variables when defining them. This would allow for the global scope to still exist, but make it possible for the local environment to overshadow global counterparts.
  • A modules file that includes a MODULE variable, which would be read from to define modules using structs similar to weapons.
  • Entities per module, which would allow for better organization and management of entities within an addon.
  • Config per module, which would allow for individual configuration options for each module.
  • Ability to disable modules, which would provide more control over which features are enabled within an addon.
  • Module dependencies, which would allow for modules to depend on other modules in order to function properly.
  • Renaming and properly introducing the existing AtlasLoader that already loads a module, similar to what is described above. As it currently sits very lonely loading parallel to it and not using the load order from the other AtlasLoader which is causing conflicts. The new implementation should be expanded upon and made consistent with the overall eco-system of the framework.

Additional context

This feature would greatly improve the organization and flexibility of addons developed using the Atlas Framework. It would also provide a more structured approach to developing addons, allowing for easier maintenance and scalability.

Please let me know if you need any more information or if there is something unclear.

@8char 8char added enhancement New feature or request help wanted Extra attention is needed labels Jan 28, 2023
@8char 8char self-assigned this Jan 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant