api.module
Versions
Every version of this package its world published, newest first by when it first appeared. A version published again later keeps its place.
manorKit 1.1.3: creak/knock scan cheap while the player is still or sneaking. Knockable positions read once at grid rebuild (rebuilt on add/remove, re-read every 10 s; Knockable marks the grid stale on wake), avatar read without per-frame closures, and while the smoothed speed is at or below the lowest trigger speed (sneak/bump overrides, quietSpeed, 0.6 x quietSpeed) the scan skips its inner loop and returns 0.1 s. Gallery, standing on a board with 14 props in the cells: 1.1.2 full scan every frame ~0.19 ms/call; 1.1.3 0 full scans in 12 s, 0.1 s speed check ~0.10 ms/call at 8/s. Same rules on every peer. New test (still player no per-item work; running player creaks a board and topples a prop). 25/25 tests.
5H7D6DDZ266FYPNWSWQQ318D0478bbf8c56aBrowse filesCompare with previousCompare from heremanorKit 1.1.2: guides, README and skills use the current names (hauntKit, not ghostKit; no mansionKit requires). Heist example guide renamed to example-build-a-small-haunted-heist-level-with-manorKit-heistKit-and-hauntKit and its calls match the current apis: Haunt.setup/addLair/spawn('widow', at, { route }), Heist.addEscape per exit anchor, Heist.addLoot({ kind, position, access }). README 'Upgrading from 1.0' keeps one formerly-named sentence. VERSION 1.1.2, package.yaml, changelog. 24/24 tests pass.
1TRPENA2FHZ01XHX93022MX7E81a9eefc671Browse filesCompare with previousCompare from heremanorKit 1.1.1: Manor.bakeLighting counts lightmap receivers and applied lightmaps via globalIllumination's Lightmap.isApplied (1.1.0 looked for a 'Lightmap' component no engine registers, so it answered 0 receivers). VERSION, package.yaml, README changelog. Fixes #4
62134R1WJ56E5E5Q4BHY4H7865f6bc4ecd61Browse filesCompare with previousCompare from heremanorKit 1.1.0 (formerly mansionKit, same guid): require('manorKit.api'), Mansion names kept (Manor.Mansion alias). Nordic timber manor style; storm decay; stairs = straight|lTurn|uReturn|spiral|imperial with nav stairs links and hiding spots; textured world-scale PBR finishes (finish = textured default | flat) from woods/stone/masonry/fabrics materials; Light mobility + Manor.bakeLighting; shadows = key|all|none (default key: one ceiling fixture per room, gothic manor 17 -> 14 shadowed fittings) and fitting ranges held to their room; manorKit.Piece component; labelled gallery scene in the package; manorKit guide; README counts + changelog; 24 tests. @builtin upgraded to 381c517. Fixes #3 Fixes #4
75XPHA6SECZQM1GMV00KKYV4ZAf1d71fdd07Browse filesCompare with previousCompare from heremansionKit 1.0.2: creaky boards and knockable props cost next to nothing when no player is near. The shared Noise scan reads a 4 m spatial grid around the player every 0.2 s while no board/prop is within reach + 2.5 m and every frame only while one is; non-leaders sleep 30 s and a removed leader wakes a successor. Same sneak/walk/run rules and aiKit creak/smash noises on every peer. Demo: was 0.4-0.7 ms/frame (Creak leader), now ~0.01 ms/frame away from boards, 0.2-0.3 ms on a board. New test: board quiet for a sneak, creaks with its loudness when crossed briskly, creaks again after cooldown, scan sleeps when no player near. Mansion.VERSION, package.yaml, README changelog 1.0.2. Fixes #2
403ZSCWY22KXMPVGJK0QKHEQ7Be3c330494fBrowse filesCompare with previousCompare from heremansionKit 1.0.1: resolve concealKit/interactKit/navKit/aiKit lazily at the point of use and retry until they load (a transient require failure no longer leaves hiding places, doors, the nav map or noises off for good); warn once naming the kit and how many hiding places/doors were skipped or that the nav map was not baked; tests stub a failing first require. Fixes #1
169MGXT3FGZBB0QK095EXGRB537d605eb988Browse filesCompare with previousCompare from heremansionKit 1.0.0: multi-floor haunted mansion builder (7 styles, 4 decays, 3 plans + seeded/custom, 22 room types, 69 furniture pieces, concealKit hiding, eerieLightsKit fittings, interactKit doors, creaks/knocks for aiKit, navKit map, anchors), guides, tests, manor demo and style gallery
0QFDWXWXKNEJ7QX8CEV2NCW8DKff82ae2747Browse filesCompare from here