nc_skyrealm-cd2025/.cdbrelease.lua
2020-06-30 22:21:14 -04:00

36 lines
968 B
Lua

-- LUALOCALS < ---------------------------------------------------------
local math, tonumber
= math, tonumber
local math_floor
= math.floor
-- LUALOCALS > ---------------------------------------------------------
-- luacheck: push
-- luacheck: globals config readtext readbinary
readtext = readtext or function() end
readbinary = readbinary or function() end
local stamp = tonumber("$Format:%at$")
if not stamp then return end
stamp = math_floor((stamp - 1540612800) / 60)
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",
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')}
}
-- luacheck: pop