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

How to resolve requires("path.file") ? #117

Open
i-make-robots opened this issue Apr 17, 2024 · 2 comments
Open

How to resolve requires("path.file") ? #117

i-make-robots opened this issue Apr 17, 2024 · 2 comments

Comments

@i-make-robots
Copy link

Hello! Great project, thank you for all your hard work.

I'm playing around with Java and Factorio, which uses Lua. The C:\Program Files (x86)\Steam\steamapps\common\Factorio\data\core\data.lua file has lines like

require("prototypes.fonts")
require("prototypes.noise-layers")
require("prototypes.style")
require("prototypes.utility-constants")

etc...
I know that, for example, .\prototypes\fonts.lua exists.

How would I resolve these in LuaJ so that I can load the entire script?

Thank you!

@farmboy0
Copy link

This is not a support forum. Besides the project is mostly inactive.

@i-make-robots
Copy link
Author

Then what forum / active project do you suggest?

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

No branches or pull requests

2 participants