arena
Boss arena hazards driven by fight phases: `shockwaveRing` (a ring of force expanding from a dais; jump it or stand behind a pillar), `fallingDebris` (rocks drop on flashing ground markers; a rock that lands on a pillar cracks it), `floorPanels` (a grid of tiles; the unsafe ones…
dungeonKit.arena
Boss arena hazards driven by fight phases: shockwaveRing (a ring of force expanding from a dais; jump it or stand behind a pillar), fallingDebris (rocks drop on flashing ground markers; a rock that lands on a pillar cracks it), floorPanels (a grid of tiles; the unsafe ones flash, then burn; at least one tile always stays safe) and pillarCover (destructible pillars with colliders that block shockwaves; from phase 2 the boss knocks them down, Dungeon.hitPillar and debris crack them, phase 1 restores them). Every hazard sits dormant at phase 0 and runs its own windup, active and cooldown cycle once Dungeon.arenaPhase(id, n) or Dungeon.arenaPhaseAll(n) sets phase 1 to 3; each phase is faster, denser and harsher. They are host-decided and multiplayer-safe (random spots come from the piece seed and the cycle number, the same on every peer), rewritable like traps (target, armed, damage, phase) and built in all eight looks.
Interface
What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.
conforms to
zero/source-extract/v2nonstrict dungeonKit.arena: boss arena hazards driven by fight phases. Four kinds (shockwaveRing, fallingDebris, floorPanels, pillarCover) sit dormant at phase 0 and run on their own once `Dungeon.arenaPhase(id, n)` (or `arenaPhaseAll(n)`) sets a phase: every higher phase is faster, denser and harsher. Each cycle runs idle -> windup (the tell: rings charge, markers and tiles flash) -> active (it hurts what its target catches) -> cooldown on the host. Pillars are cover: a shockwave does not pass an intact pillar, falling debris cracks them, and they can be hit down. Every hazard is rewritable (target, armed, damage, phase) and built in all eight looks.
phaseOf(piece: any) → number
| arg | type | description |
|---|---|---|
| piece | any |
go(piece: any, stage: string, t: number, extra: any?) → void
| arg | type | description |
|---|---|---|
| piece | any | |
| stage | string | |
| t | number | |
| extra | any? |
timing(piece: any, phase: number?) → void
A hazard's timing at a phase: windup, active and the period between cycles (seconds). Higher phases tighten all three.
| arg | type | description |
|---|---|---|
| piece | any | |
| phase | number? |
step(piece: any, t: number) → string
One host step at shared time t. Returns the stage it is in.
| arg | type | description |
|---|---|---|
| piece | any | |
| t | number |
hurt(piece: any, b: any, extra: any?) → void
| arg | type | description |
|---|---|---|
| piece | any | |
| b | any | |
| extra | any? |
pillars( ) → void
Every intact pillar of every pillarCover piece: { piece, index, x, z, r } in world space.
covered(bx: number, bz: number, sx: number, sz: number) → boolean
Is a body at (bx, bz) behind an intact pillar as seen from (sx, sz)? Shockwaves do not pass cover.
| arg | type | description |
|---|---|---|
| bx | number | |
| bz | number | |
| sx | number | |
| sz | number |
setPhase(piece: any, n: any) → void
| arg | type | description |
|---|---|---|
| piece | any | |
| n | any |
phase(piece: any, n: any) → void
| arg | type | description |
|---|---|---|
| piece | any | |
| n | any |
trigger(piece: any) → void
| arg | type | description |
|---|---|---|
| piece | any |
disarm(piece: any) → void
| arg | type | description |
|---|---|---|
| piece | any |
arm(piece: any) → void
| arg | type | description |
|---|---|---|
| piece | any |
setDamage(piece: any, v: any) → void
| arg | type | description |
|---|---|---|
| piece | any | |
| v | any |
applyRewrite(piece: any, key: string, value: any, _by: any) → void
| arg | type | description |
|---|---|---|
| piece | any | |
| key | string | |
| value | any | |
| _by | any |
rewriteSpec(piece: any) → any
| arg | type | description |
|---|---|---|
| piece | any |
arenaDef(spec: any) → any
| arg | type | description |
|---|---|---|
| spec | any |
state0(piece: any, o: any) → void
| arg | type | description |
|---|---|---|
| piece | any | |
| o | any |
onState(piece: any, h: any, patch: any) → void
| arg | type | description |
|---|---|---|
| piece | any | |
| h | any | |
| patch | any |
tick(piece: any, h: any, t: number, dt: number) → void
| arg | type | description |
|---|---|---|
| piece | any | |
| h | any | |
| t | number | |
| dt | number |
host(piece: any, t: number) → void
| arg | type | description |
|---|---|---|
| piece | any | |
| t | number |
phaseGem(root: any, L: any, h: any, pos: { number }) → void
a phase gem every hazard carries: dim when dormant, brighter each phase
| arg | type | description |
|---|---|---|
| root | any | |
| L | any | |
| h | any | |
| pos | { number } |
activeFor(piece: any, n: number) → void
| arg | type | description |
|---|---|---|
| piece | any | |
| n | number |
pose(piece: any, h: any, stg: string, u: number, t: number, L: any) → void
| arg | type | description |
|---|---|---|
| piece | any | |
| h | any | |
| stg | string | |
| u | number | |
| t | number | |
| L | any |
build(piece: any, root: any, L: any, o: any) → void
| arg | type | description |
|---|---|---|
| piece | any | |
| root | any | |
| L | any | |
| o | any |
hostActive(piece: any, u: number, _t: number, _n: number) → void
| arg | type | description |
|---|---|---|
| piece | any | |
| u | number | |
| _t | number | |
| _n | number |
debrisSpot(piece: any, cycle: number, i: number) → void
Where rock `i` of cycle `cycle` lands (local x, z), the same on every peer.
| arg | type | description |
|---|---|---|
| piece | any | |
| cycle | number | |
| i | number |
debrisCount(piece: any, n: number) → number
How many rocks fall per volley at phase n.
| arg | type | description |
|---|---|---|
| piece | any | |
| n | number |
pose(piece: any, h: any, stg: string, u: number, t: number, L: any) → void
| arg | type | description |
|---|---|---|
| piece | any | |
| h | any | |
| stg | string | |
| u | number | |
| t | number | |
| L | any |
build(piece: any, root: any, L: any, o: any) → void
| arg | type | description |
|---|---|---|
| piece | any | |
| root | any | |
| L | any | |
| o | any |
hostActive(piece: any, u: number, _t: number, n: number) → void
| arg | type | description |
|---|---|---|
| piece | any | |
| u | number | |
| _t | number | |
| n | number |
hostDone(piece: any, _t: number, n: number) → void
| arg | type | description |
|---|---|---|
| piece | any | |
| _t | number | |
| n | number |
tileUnsafe(piece: any, cycle: number, i: number, n: number) → boolean
Is tile `i` unsafe in cycle `cycle` at phase n (the same on every peer)? At least one tile always stays safe.
| arg | type | description |
|---|---|---|
| piece | any | |
| cycle | number | |
| i | number | |
| n | number |
tilePos(piece: any, i: number) → void
Local centre of tile `i` (1-based, row by row).
| arg | type | description |
|---|---|---|
| piece | any | |
| i | number |
pose(piece: any, h: any, stg: string, u: number, t: number, L: any) → void
| arg | type | description |
|---|---|---|
| piece | any | |
| h | any | |
| stg | string | |
| u | number | |
| t | number | |
| L | any |
build(piece: any, root: any, L: any, o: any) → void
| arg | type | description |
|---|---|---|
| piece | any | |
| root | any | |
| L | any | |
| o | any |
hostActive(piece: any, _u: number, _t: number, n: number) → void
| arg | type | description |
|---|---|---|
| piece | any | |
| _u | number | |
| _t | number | |
| n | number |
pillarPos(piece: any, i: number) → void
Local position of pillar `i`.
| arg | type | description |
|---|---|---|
| piece | any | |
| i | number |
hitPillar(piece: any, i: number, amount: number?, by: string?) → boolean
Knock `amount` (default 1) off pillar `i` of a pillarCover piece (authority). Emits "broken" when it falls.
| arg | type | description |
|---|---|---|
| piece | any | |
| i | number | |
| amount | number? | |
| by | string? |
state0(piece: any, o: any) → void
| arg | type | description |
|---|---|---|
| piece | any | |
| o | any |
pose(piece: any, h: any, stg: string, u: number, t: number, L: any) → void
| arg | type | description |
|---|---|---|
| piece | any | |
| h | any | |
| stg | string | |
| u | number | |
| t | number | |
| L | any |
onState(piece: any, h: any, patch: any) → void
| arg | type | description |
|---|---|---|
| piece | any | |
| h | any | |
| patch | any |
onPhase(piece: any, v: number, patch: any) → void
| arg | type | description |
|---|---|---|
| piece | any | |
| v | number | |
| patch | any |
build(piece: any, root: any, L: any, o: any) → void
| arg | type | description |
|---|---|---|
| piece | any | |
| root | any | |
| L | any | |
| o | any |
hostDone(piece: any, _t: number, n: number) → void
| arg | type | description |
|---|---|---|
| piece | any | |
| _t | number | |
| n | number |
hit(piece: any, arg: any, by: any) → void
| arg | type | description |
|---|---|---|
| piece | any | |
| arg | any | |
| by | any |
Sub-parts
Everything contained inside this part. Assets are composite children (clickable cards). Files are leaf payloads. Expand any row to view its source.
Showing up to 3 levels deep. Open a part to see what it holds further down.
Problems
Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.
agent_score is exposed.+ quality × 0.35
+ performance × 0.25
± compat factor
Usability ratings
Did the part work as advertised when consumers tried to drop it in. Separate from upvotes: those are taste; this is "did it function".
Scoped to this part · feeds back into the world's score.