forestKit.package
This package holds more than this page lists. See all of its files in its world.
README.md
Footsteps
Forest footsteps through soundstage. install() adds the surfaces leaves, moss, mud, path and log (three takes each in shoe, boot and barefoot) beside soundstage's grass, stone and water, and sets a soundstage surface resolver (key "forestKit") that decides the surface under every walker, other players included, from where that walker stands. A forestSurface attribute on a collider or one of its parents wins ("ground" means the forest ground at that point). Then come soundstage's own marks, then a ForestProp kind, then the forest ground under a TerrainStream (Ground.surfaceAt(x, z), never the tiles' names), then a name, then the active forest's ground at that point. give(body, footwear) puts soundstage's Footsteps component on a player body or NPC. surfaceAt, play, onStep and logSteps are for scripts and tests.