36 lines
1003 B
Lua
36 lines
1003 B
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 = "autotrek",
|
|
version = stamp .. "-$Format:%h$",
|
|
type = "mod",
|
|
dev_state = "MAINTENANCE_ONLY",
|
|
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",
|
|
long_description = readtext('README.md'),
|
|
screenshots = {readbinary('.cdb-screenshot.png')}
|
|
}
|
|
|
|
-- luacheck: pop
|