defripper-cd2025/.cdbrelease.lua
2022-11-23 14:54:33 -05:00

36 lines
1.0 KiB
Lua

-- LUALOCALS < ---------------------------------------------------------
local math, tonumber
= math, tonumber
local math_floor
= math.floor
-- LUALOCALS > ---------------------------------------------------------
local stamp = tonumber("$Format:%at$")
if not stamp then return end
stamp = math_floor((stamp - 1540612800) / 60)
stamp = ("00000000" .. stamp):sub(-8)
-- luacheck: push
-- luacheck: globals config readtext readbinary
readtext = readtext or function() end
readbinary = readbinary or function() end
return {
user = "Warr1024",
pkg = "defripper",
version = stamp .. "-$Format:%h$",
type = "mod",
dev_state = "BETA",
title = "Definition Ripper",
short_description = "Generate inert facades from node/item definitions for use in other games",
tags = {"building", "chat", "creative", "decorative", "library"},
license = "MIT",
media_license = "MIT",
repo = "https://gitlab.com/sztest/defripper",
long_description = readtext('README.md'),
screenshots = {readbinary('.cdb-screenshot.png')}
}
-- luacheck: pop