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 Lua global variables library #6472

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

MjnMixael
Copy link
Contributor

Adds a new library for access global variables and defines.

I wanted max ship primary and secondary banks and couldn't decide if that should go in base, ui, tables, or somewhere else. Having it accessible as part of ShipClasses wasn't great because you'd need to access it as part of an existing ship class.

I also wanted access to a couple other global defines and so I decided a global variables library made sense. I could take or leave it if there's a better place to put these, though, as this is purely an organizational question. Actual code access to these values is trivial... they just needed a home.

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

Successfully merging this pull request may close these issues.

1 participant