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.luaopened with
require("data.split"), and a mod-relativerequiredoes not resolve —
the engine loads a mod's entry file itself, andpackage.pathstill points
at the engine root, sodata.splitis looked for besidemain.lua
nowhere. All four modules are inlined intomain.lua; the mod now has no
requireof 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 == 0true 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.