Charakterbewegungen hinzugefügt, Deko hinzugefügt, Kochrezepte angepasst

This commit is contained in:
N-Nachtigal 2025-05-14 16:36:42 +02:00
parent 95945c0306
commit a0c893ca0b
1124 changed files with 64294 additions and 763 deletions

View file

@ -0,0 +1,28 @@
local f = string.format
return function(version)
local y, m, d, h, mi, s
y, m, d = version:match("^(%d%d%d%d)-(%d%d)-(%d%d)$")
if y and m and d then
return os.time({ year = tonumber(y), month = tonumber(m), day = tonumber(d) })
end
y, m, d, s = version:match("^(%d%d%d%d)-(%d%d)-(%d%d)[%.%s](%d+)$")
if y and m and d and s then
return os.time({ year = tonumber(y), month = tonumber(m), day = tonumber(d), sec = tonumber(s) })
end
y, m, d, h, mi, s = version:match("^(%d%d%d%d)-(%d%d)-(%d%d)[T ](%d%d):(%d%d):(%d%d)$")
if y and m and d and h and mi and s then
return os.time({
year = tonumber(y),
month = tonumber(m),
day = tonumber(d),
hour = tonumber(h),
min = tonumber(mi),
sec = tonumber(s),
})
end
error(f("can't parse version %q", version))
end