From 3fde3b5a662ea58339e68793a56cca509ea52b00 Mon Sep 17 00:00:00 2001 From: Aaron Suen Date: Sat, 27 Feb 2021 20:02:00 -0500 Subject: [PATCH] CDB metadata update --- .cdb.json | 9 +++++++++ .cdbrelease.lua | 9 --------- .gitattributes | 1 + api_player.lua | 4 ++-- mod.conf | 3 ++- 5 files changed, 14 insertions(+), 12 deletions(-) create mode 100644 .cdb.json diff --git a/.cdb.json b/.cdb.json new file mode 100644 index 0000000..a024c5f --- /dev/null +++ b/.cdb.json @@ -0,0 +1,9 @@ +{ + "type": "mod", + "title": "SkyRealm for NodeCore", + "short_desc": "SkyBlocks inside vanilla NodeCore", + "tags": ["mapgen", "building", "crafting", "transport"], + "license": "MIT", + "repo": "https://gitlab.com/sztest/nc_skyrealm", + "issue_tracker": "https://discord.gg/NNYeF6f" +} \ No newline at end of file diff --git a/.cdbrelease.lua b/.cdbrelease.lua index e507100..89b6a06 100644 --- a/.cdbrelease.lua +++ b/.cdbrelease.lua @@ -19,17 +19,8 @@ stamp = ("00000000" .. stamp):sub(-8) return { user = "Warr1024", pkg = "nc_skyrealm", - min = "5.0", version = stamp .. "-$Format:%h$", - path = ".", - type = "mod", - title = "SkyRealm for NodeCore", - short_desc = "SkyBlocks inside vanilla NodeCore", - tags = "mapgen, building, crafting, transport", - license = "mit", desc = readtext('README.md'), - repo = "https://gitlab.com/sztest/nc_skyrealm", - issueTracker = "https://discord.gg/NNYeF6f", screenshots = {readbinary('.cdb1.jpg'), readbinary('.cdb2.jpg')} } diff --git a/.gitattributes b/.gitattributes index d1a89f9..346d659 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,4 +1,5 @@ .cdbrelease.lua export-subst +.cdb.json export-ignore .cdb*.jpg export-ignore .git* export-ignore .lua* export-ignore diff --git a/api_player.lua b/api_player.lua index be19fe9..181a59f 100644 --- a/api_player.lua +++ b/api_player.lua @@ -1,6 +1,6 @@ -- LUALOCALS < --------------------------------------------------------- -local math, minetest, nodecore, pairs - = math, minetest, nodecore, pairs +local math, minetest, next, nodecore, pairs + = math, minetest, next, nodecore, pairs local math_cos, math_floor, math_pi = math.cos, math.floor, math.pi -- LUALOCALS > --------------------------------------------------------- diff --git a/mod.conf b/mod.conf index b84296d..e41a07b 100644 --- a/mod.conf +++ b/mod.conf @@ -1,2 +1,3 @@ depends = nc_api_all, nc_terrain, nc_sponge, nc_tree, nc_lode, nc_lux, nc_concrete, nc_fire -optional_depends = nc_guide \ No newline at end of file +optional_depends = nc_guide +min_minetest_version = 5.3 \ No newline at end of file