Minor fixes and cleanup (#3)

This commit is contained in:
OgelGames 2024-02-27 17:28:29 +11:00 committed by GitHub
parent 1860fa44b6
commit 53c0826bff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 43 additions and 42 deletions

View File

@ -1,7 +0,0 @@
version: 2
updates:
- package-ecosystem: gitsubmodule
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 20

View File

@ -1,13 +1,10 @@
name: luacheck
on: [push, pull_request]
jobs:
build:
luacheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: apt
run: sudo apt-get install -y luarocks
- name: luacheck install
run: luarocks install --local luacheck
- name: luacheck run
run: $HOME/.luarocks/bin/luacheck ./
- name: Checkout
uses: actions/checkout@main
- name: Luacheck
uses: lunarmodules/luacheck@master

View File

@ -1,22 +1,17 @@
unused_args = false
allow_defined_top = true
exclude_files = {".luacheckrc"}
globals = {
"minetest", "xcompat",
"minetest",
"xcompat",
}
read_globals = {
string = {fields = {"split"}},
table = {fields = {"copy", "getn"}},
--luac
"math", "table",
-- Builtin
"vector", "ItemStack", "dump", "DIR_DELIM", "VoxelArea", "Settings", "PcgRandom", "VoxelManip", "PseudoRandom",
--mod produced
"default", "mcl_sounds", "ks_sounds", "nodes_nature", "fl_stone", "fl_topsoil", "fl_trees", "hades_sounds", "rp_sounds",
}
"default",
"mcl_sounds",
"ks_sounds",
"nodes_nature",
"fl_stone",
"fl_topsoil",
"fl_trees",
"hades_sounds",
"rp_sounds",
}

View File

@ -1,15 +1,30 @@
# xcompat
# XCompat
a mod that aims to facilitate other mods to be game agnostic by handling sounds and crafting
[![luacheck](https://github.com/mt-mods/xcompat/workflows/luacheck/badge.svg)](https://github.com/mt-mods/xcompat/actions)
[![ContentDB](https://content.minetest.net/packages/mt-mods/xcompat/shields/downloads/)](https://content.minetest.net/packages/mt-mods/xcompat/)
thanks to:
* MisterE, OgelGames, and Blockhead for naming advice/suggestion
* luk3yx, Blockhead, Buckaroo for bouncing ideas on the concept of this mod
Provides cross compatibility between games and mods for sounds and crafting materials.
## Installing
Thanks to:
* MisterE, OgelGames, and Blockhead for naming advice/suggestion.
* luk3yx, Blockhead, BuckarooBanzai for bouncing ideas on the concept of this mod.
clone via git or install via contentdb (soon)
## Usage
## Dev Docs
See [DEV.md](DEV.md) for detailed documentation.
Can be found at /DEV.md
## Supported games and mods
**Games**
* Minetest Game
* MineClone2
* Mineclonia
* Hades Revisited
* Farlands Reloaded
* Exile
* KSurvive 2
**Mods**
* `basic_materials`
* `mesecons_materials`
* `moreores`

View File

@ -1,2 +1,3 @@
name = xcompat
optional_depends = default, fl_stone, fl_trees, mcl_sounds, hades_sounds, ks_sounds, nodes_nature, fl_topsoil, fl_trees
description = Provides cross compatibility between mods and games for sounds and crafting materials.
optional_depends = default, fl_stone, fl_trees, mcl_sounds, hades_sounds, ks_sounds, nodes_nature, fl_topsoil, fl_trees