Tsukikage Castle Town: A Sengoku Town of Rooftops, Temples and Rice Terraces, with a Town Builder
README.md
sengokuTownKit tests
Checks the castle town kit end to end. It confirms the same settings always give the same placements (fingerprint), and that changing seed, size, districts or density changes the town. It checks that districts set the kinds of quarter and that every stop of the walk (gate, street, market, tea house, temple, paddies, bridge, hall) lies on dry, walkable ground outside the moat and river. It covers the scatter rules (stalls along the market street, one tea house, climb-ups in front of low eaves, lantern strings), ground surfaces, water and footstep surfaces (packed earth in the streets, paddy mud with water in the fields, gravel or moss in the castle court, a moat bed below the town), the footstep mapping onto soundstage, the atmosphere presets and refusal of unknown names, and the look mapping and frame finishes. Finally it builds a small town far from the scene and checks that it collides, that every collider says what it is made of, and, once sengokuProps is installed, that roofs are kept out of navigation and bale stacks are climbable.
It leaves the props' and materials' own looks to the sengokuProps and sengokuMaterials suites. Run: tools.use("tests", "run", { suite = "sengokuTownKit" }).