Trapwright: Dungeon Traps, Secret Rooms and Puzzles Kit
README.md
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.