Castaway Isle: Island Survival and Crafting Kit
README.md
nightCreaturesKit tests
This suite has 15 tests. It checks that every creature in nightCreaturesKit has sane stats and two looks that colour every part, that every threat set lists only known creatures with positive weights and a real look for each, that every density is complete, that setup takes each threat set and density by name and refuses an unknown one, that pick() follows each threat set's weights, that spawnerKit kind ids round-trip, that build draws every creature in every look onto a temporary entity (with a light for glowing ones), that a registered firelight fades as 1 - (d/r)^2 and is gone once removed, and that the version and the README's creature table agree with the code. It spawns temporary entities far from the scene and removes them, and restores the setup it changes. It leaves the NightDirector's dusk, spawning and dawn retreat to play testing. Run it with asset.resolve("nightCreaturesKit", "testSuite"):run().