Skip to content

modern_kanto 0.2.0

Latest

Choose a tag to compare

@github-actions github-actions released this 02 Aug 10:08

0.1.0 did nothing at all. Update. It threw on its first line and
registered none of its five options, neither of its two patches, and not the
Atlas screen. If you installed it, you were running vanilla.

  • Fixed: the mod never ran. main.lua opened with
    require("data.split"), and a mod-relative require does not resolve —
    the engine loads a mod's entry file itself, and package.path still points
    at the engine root, so data.split is looked for beside main.lua
    nowhere. All four modules are inlined into main.lua; the mod now has no
    require of its own beyond engine modules.
  • Fixed: the test suite could not see that. It dofile'd the library
    files directly, so it tested code the mod had never loaded. It now goes
    through the loader and asserts the registrations — options defined, screen
    registered, screen opens — and refuses to run against a disabled mod.
    Two further holes it now closes: the mod is experimental, so the loader
    leaves it off until the player opts in, which made #errors == 0 true and
    meaningless; and the type-chart assertions read the chart after GHOST FIX
    had rewritten it, checking the mod's output against itself.

No behaviour was intentionally changed. Everything below is what 0.1.0
described and now actually does.