Skip to content

Conversation

@RNU4
Copy link

@RNU4 RNU4 commented Jan 31, 2022

adds Lua support and a few bindings. main.lua contains a simple script to destroy blocks quickly and refuel the torch, it also prints out the player's position

@RNU4
Copy link
Author

RNU4 commented Jan 31, 2022

i dont have linux so someone who have should test it.

@garv-shah
Copy link
Collaborator

I think the GitHub workflows should essentially automatically it (well test if it builds), so that's all g
question, do u have to recompile for the Lua script to work, or does it load the script in whenever the game launches (such that it works in the precompiled build)?

@RNU4
Copy link
Author

RNU4 commented Feb 1, 2022

I think the GitHub workflows should essentially automatically it (well test if it builds), so that's all g question, do u have to recompile for the Lua script to work, or does it load the script in whenever the game launches (such that it works in the precompiled build)?

The lua scripts are loaded when the game launches so you can change them without recompiling.
jac rich tested it and it works on linux too

@garv-shah
Copy link
Collaborator

oh dope, sick :D
is there a reason it hasn't been merged yet??

@RNU4
Copy link
Author

RNU4 commented Feb 1, 2022

oh dope, sick :D is there a reason it hasn't been merged yet??

jac rich thinks its maybe to early to add it, but if we add it now we can expand on it when new functions are added

@IgorAlexey
Copy link
Collaborator

I love the idea of Lua! And look forward for this to be implemented, however i can't review right now as I am not currently using linux

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.

3 participants