nodecore-cd2025/.cdbrelease.lua

59 lines
1.6 KiB
Lua
Raw Normal View History

2019-03-31 09:05:33 -04:00
-- LUALOCALS < ---------------------------------------------------------
local dofile
= dofile
-- LUALOCALS > ---------------------------------------------------------
2020-03-28 06:48:57 -04:00
-- luacheck: push
2020-03-28 08:53:35 -04:00
-- luacheck: globals config readtext readbinary
2020-03-28 06:48:57 -04:00
2020-03-28 08:53:35 -04:00
readtext = readtext or function() end
readbinary = readbinary or function() end
2020-03-28 06:48:57 -04:00
local alpha = config and config.branch == "dev"
local tags = {
"building",
"crafting",
"education",
"environment",
"inventory",
"oneofakind__original",
"player_effects",
"puzzle",
"pve",
"technology"
}
local screenshots = {}
if alpha then screenshots[1] = readbinary('.cdb-alpha.jpg') end
screenshots[#screenshots + 1] = readbinary('.cdb-release.jpg')
for i = 1, 5 do
screenshots[#screenshots + 1] = readbinary('.cdb-screen' .. i .. '.jpg')
end
2019-03-31 09:05:33 -04:00
return {
2020-05-18 10:54:50 -04:00
pkg = alpha and "nodecore_alpha" or "nodecore",
2020-03-28 06:48:57 -04:00
version = dofile("./mods/nc_api/version.lua"),
2021-02-28 08:18:09 -05:00
type = "game",
2020-03-28 08:53:35 -04:00
title = "NodeCore" .. (alpha and " ALPHA" or ""),
short_description = (alpha
2021-07-23 23:59:15 -04:00
and "Early-access edition of NodeCore with latest features (and maybe bugs)"
2021-07-20 21:15:12 -04:00
or "Minetest's top original voxel game about emergent mechanics and exploration"),
2021-12-21 20:47:11 -05:00
dev_state = alpha and "BETA" or "ACTIVELY_DEVELOPED",
tags = tags,
content_warnings = {},
license = "MIT",
media_license = "MIT",
2021-07-20 21:15:12 -04:00
long_description = readtext('.cdb-header.md') .. "\n\n"
.. (alpha and readtext('.cdb-alpha.md') or readtext('.cdb-release.md'))
.. "\n\n" .. readtext('.cdb-footer.md'),
repo = "https://gitlab.com/sztest/nodecore",
website = "https://nodecore.mine.nu",
issue_tracker = "https://discord.gg/NNYeF6f",
forums = 24857,
maintainers = {"Warr1024"},
screenshots = screenshots
2019-03-31 09:05:33 -04:00
}
2020-03-28 06:48:57 -04:00
-- luacheck: pop