Trapwright: Dungeon Traps, Secret Rooms and Puzzles Kit
README.md
dungeonKit.traps
The twelve Trapwright traps (spikes, pendulum, arrowWall, flameJet, boulder, collapsingFloor, gasVent, crushingWalls, sawTrack, lightningPylon, turret, frostRunes) and the state machine they share: idle, windup (sound, danger glow and shake), active (damage to whatever the target catches), cooldown. Triggers: plate, tripwire, timer, proximity, lever. Actions: use, trigger, disarm, arm, retarget, setTrigger, setDamage. Loaded by dungeonKit.api.