mirror of
https://github.com/bryanthaboi/gen1recomp.git
synced 2026-08-16 00:02:23 +02:00
big ass modding update
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
-- Single source of every compatibility-relevant number: engine release,
|
||||
-- mod API major, link protocol, save format and ROM cache generation. Zero
|
||||
-- requires so it loads during love.conf and under plain Lua for tools and
|
||||
-- tests.
|
||||
|
||||
local Version = {
|
||||
engine = "1.0.0", -- game/engine release (semver triple)
|
||||
modApi = 2, -- mod API major (manifest `api`)
|
||||
linkProtocol = 2, -- link handshake wire version (Handshake.PROTOCOL)
|
||||
saveFormat = 2, -- save.meta.format
|
||||
cache = "rom-cache-v5", -- ROM import cache generation (RomImporter marker)
|
||||
}
|
||||
|
||||
-- "Pokemon Red (Gen 1 Recompilation Project) v1.0.0"
|
||||
function Version.title(base)
|
||||
return (base or "Pokemon Red (Gen 1 Recompilation Project)")
|
||||
.. " v" .. Version.engine
|
||||
end
|
||||
|
||||
return Version
|
||||
Reference in New Issue
Block a user