bramblewick.package
This package holds more than this page lists. See all of its files in its world.
README.md
roofs
Lays Turning Seasons (seasonsKit) roofs exactly over Hearthvale (townKit) houses, so the village's roofs grow moss in spring, fade in summer, gather leaves in autumn and carry snow in winter.
Hearthvale chooses each house's size and roof pitch from its seed inside its builder. R.measure(kind, seed) runs that builder against a recording stand-in (nothing is built) and reads the roof back from the calls: the slab tilt is the pitch, the ridge cap is the ridge height, and the eave is the ridge height less the slab thickness and the rise. It answers { width, depth, eave, pitch (degrees), variant } in the building's own frame, with the seasonsKit covering that matches Hearthvale's roof material (1 tiles, 2 slate, 3 thatch, 4 tin).
game.VillageBuildings uses it for every home and house.