nodecore-cd2025/.cdbrelease.lua
2021-02-28 08:18:09 -05:00

48 lines
1.3 KiB
Lua

-- LUALOCALS < ---------------------------------------------------------
local dofile
= dofile
-- LUALOCALS > ---------------------------------------------------------
-- luacheck: push
-- luacheck: globals config readtext readbinary
readtext = readtext or function() end
readbinary = readbinary or function() end
local alpha = config and config.branch == "dev"
return {
pkg = alpha and "nodecore_alpha" or "nodecore",
version = dofile("./mods/nc_api/version.lua"),
type = "game",
title = "NodeCore" .. (alpha and " ALPHA" or ""),
short_description = (alpha
and "Experimental early-access release of NodeCore."
or "Original, immersive puzzle/adventure game with NO popup GUIs, minimal HUDs."),
tags = {
"building",
"crafting",
"environment",
"inventory",
"oneofakind__original",
"player_effects",
"puzzle",
"pve",
"technology"
},
content_warnings = {},
license = "MIT",
media_license = "MIT",
long_description = alpha and readtext('.cdb-alpha.md') or readtext('.cdb-release.md'),
repo = "https://gitlab.com/sztest/nodecore",
website = "https://nodecore.mine.nu",
issue_tracker = "https://discord.gg/NNYeF6f",
forums = 24857,
maintainers = {"Warr1024"},
screenshots = (alpha
and {readbinary('.cdb-alpha.jpg'), readbinary('.cdb-release.jpg')}
or {readbinary('.cdb-release.jpg')})
}
-- luacheck: pop