Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Lua Language Support For Cosmic Reach :D

Notifications You must be signed in to change notification settings

PuzzleLoader/puzzle-language-lua

 
 

Repository files navigation

Puzzle Language Lua

This is a lua language provider for Puzzle Loader

How to use

Checkout Example Mod Lua for help

How to add as a dependency

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"

Adapter

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"
    }
}

How to test/build

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

About

Lua Language Support For Cosmic Reach :D

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 78.9%
  • Lua 21.1%