nightCourtyard.module
README.md
nightCourtyard
The night outside the flat's windows, as real buildings at depth: brick apartment blocks round a courtyard three floors down (three across it, a wing closing each side, three taller blocks further off) and along the streets on the kitchen/bedroom side (+x) and past the kitchen's side window (+z). Each building is one CitySwinger BuildingGen Generator (systems.BuildingGen.Building) over outside.CourtyardHudson (the Hudson kit's pieces, residential only: no shopfronts, signs or lettering): sash windows with stone surrounds, corner piers, cornices, roofs with water tanks, HVAC and stair bulkheads, fire escapes on the side and rear walls, one street door each, setbacks on some. Every window slot is glazed with a FakeInteriors room via outside.courtyardWindows (lit, dim or dark per window, curtains, TV glow), from the slots baked in outside.courtyardSlots. Below: the courtyard lawn and paths, paved streets, nine lamp posts with warm point lights; cool fill lights for the upper facades; a ring of city-night sky all round. This building's own wing outside the living-room window is brick with real windows.
Called from a scene's build.luau: require("outside.nightCourtyard").build(build, { ground = -9 }). The build only places Generators and meshes (a scene build may not cook a graph). After changing BUILDINGS or the kit, run require("outside.nightCourtyard").bakeSlots() outside a build (it cooks each building's slots and rewrites outside.courtyardSlots), then touch the comment above the call in build.luau so the meshes re-make.