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

Put things in InitCommand #114

Open
2 tasks
XeroOl opened this issue May 28, 2023 · 1 comment
Open
2 tasks

Put things in InitCommand #114

XeroOl opened this issue May 28, 2023 · 1 comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Milestone

Comments

@XeroOl
Copy link
Owner

XeroOl commented May 28, 2023

In the past you could just change "LoadCommand" to "InitCommand", but now it is harder. We should consider ways to make it easy again, and ALSO document this way once we make it.

  • implement
  • document
@XeroOl XeroOl added documentation Improvements or additions to documentation enhancement New feature or request labels May 28, 2023
@XeroOl XeroOl added this to the 6.0.0 rc1 milestone May 28, 2023
@XeroOl
Copy link
Owner Author

XeroOl commented Jul 6, 2023

One way is to try loading init.lua during InitCommand. That way, a modder can provide an init.lua, or rename mods.lua to init.lua, which covers the common use cases.

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

No branches or pull requests

1 participant