autotrek/.cdbrelease.lua

36 lines
1003 B
Lua
Raw Permalink Normal View History

2019-10-03 20:12:08 -04:00
-- 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)
2020-07-17 06:10:03 -04:00
-- luacheck: push
-- luacheck: globals config readtext readbinary
readtext = readtext or function() end
readbinary = readbinary or function() end
2019-10-03 20:12:08 -04:00
return {
user = "Warr1024",
pkg = "autotrek",
2020-07-17 06:10:03 -04:00
version = stamp .. "-$Format:%h$",
2021-03-05 08:38:40 -05:00
type = "mod",
2021-12-26 13:48:42 -05:00
dev_state = "MAINTENANCE_ONLY",
2021-03-05 08:38:40 -05:00
title = "Auto-Trek",
short_description = "Automatic long-distance walking via assisted auto-forward",
tags = {"transport", "player_effects"},
license = "MIT",
media_license = "MIT",
repo = "https://gitlab.com/sztest/autotrek",
2021-02-27 18:46:16 -05:00
long_description = readtext('README.md'),
2021-03-05 08:38:40 -05:00
screenshots = {readbinary('.cdb-screenshot.png')}
2019-10-03 20:12:08 -04:00
}
2020-07-17 06:10:03 -04:00
-- luacheck: pop