nc_cats-cd2025/.cdbrelease.lua

39 lines
1.1 KiB
Lua
Raw Normal View History

-- 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_cats",
2022-01-15 23:09:07 -05:00
type = "mod",
dev_state = "ACTIVELY_DEVELOPED",
version = stamp .. "-$Format:%h$",
2022-01-15 23:09:07 -05:00
title = "NodeCore Cats",
short_description = "Add adorable cats to NodeCore",
tags = {"decorative", "mapgen", "mobs"},
content_warnings = {},
license = "MIT",
media_license = "MIT",
2022-01-15 22:58:05 -05:00
long_description = readtext('README.md'),
2022-01-15 23:09:07 -05:00
repo = "https://gitlab.com/sztest/nc_cats",
issue_tracker = "https://discord.gg/NNYeF6f",
maintainers = {"Warr1024"},
2022-01-15 22:58:05 -05:00
screenshots = {readbinary('.cdb1.jpg'), readbinary('.cdb2.jpg')}
}
-- luacheck: pop