This is a lua language provider for Puzzle Loader
Checkout Example Mod Lua for help
Step 1: Add CRModder's Maven in your build.gradle at the end of your repositories tag.
Here is an example repositories
section
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
Step 2: Add Flux to your dependencies using the text below
mod "com.github.PuzzleLoader:puzzle-language-lua:1.0.1"
Use the lua
adapter for your mod by setting the adapter
property in the puzzle.mod.json
file.
Remember to the add a dependency entry to your puzzle.mod.json
file:
{
"entrypoints": {
"main": [
{
"adapter": "lua",
"value": "path/to/file/file.lua"
}
]
},
"depends": {
"puzzle-language-lua": ">=1.0.0"
}
}
For testing in the dev env, you can use the gradle runClient
task
For building, the usual gradle buildBundleJar
task can be used. The output will be in the build/libs/
folder