puzzles
The six Trapwright puzzles: platesOrder, mirrors (light-beam), symbolStatues, leverCombo, blockPush and codeTerminal (the hacker's puzzle, with a rewritable ACCESS line). Solved on the host; solving fires solved, plays the chime and opens, repairs or disarms every piece in opts.l…
dungeonKit.puzzles
The six Trapwright puzzles: platesOrder, mirrors (light-beam), symbolStatues, leverCombo, blockPush and codeTerminal (the hacker's puzzle, with a rewritable ACCESS line). Solved on the host; solving fires solved, plays the chime and opens, repairs or disarms every piece in opts.link. Loaded by dungeonKit.api.
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.puzzles: six puzzle kinds. Pressure plates in order, light-beam mirrors, rotating symbol statues, a lever combination, a block push and a code terminal (the hacker's puzzle: dial the code, or READ and REWRITE its ACCESS line). A puzzle is solved on the host; solving fires "solved", plays the chime and opens, repairs or disarms every piece named in opts.link.
at(piece: any, lx: number, ly: number, lz: number) → void
| arg | type | description |
|---|---|---|
| piece | any | |
| lx | number | |
| ly | number | |
| lz | number |
trip(id: string, by: string?) → void
What solving a puzzle does to a linked piece: the first of unlock, open, repair, disarm it answers to.
| arg | type | description |
|---|---|---|
| id | string | |
| by | string? |
solve(piece: any, by: string?) → void
| arg | type | description |
|---|---|---|
| piece | any | |
| by | string? |
wrong(piece: any, extra: any?) → void
| arg | type | description |
|---|---|---|
| piece | any | |
| extra | any? |
progress(piece: any, n: number, of: number) → void
| arg | type | description |
|---|---|---|
| piece | any | |
| n | number | |
| of | number |
puzzleDef(d: any) → any
| arg | type | description |
|---|---|---|
| d | any |
state0(piece: any, o: any) → void
| arg | type | description |
|---|---|---|
| piece | any | |
| o | any |
solve(piece: any, _a: any, by: any) → void
| arg | type | description |
|---|---|---|
| piece | any | |
| _a | any | |
| by | any |
onState(piece: any, h: any, patch: any) → void
| arg | type | description |
|---|---|---|
| piece | any | |
| h | any | |
| patch | any |
rewrite(piece: any) → void
| arg | type | description |
|---|---|---|
| piece | any |
applyRewrite(piece: any, key: string, value: any, by: any) → void
| arg | type | description |
|---|---|---|
| piece | any | |
| key | string | |
| value | any | |
| by | any |
solvedGlow(piece: any, t: number) → number
| arg | type | description |
|---|---|---|
| piece | any | |
| t | number |
state0(piece: ?, o: ?) → void
| arg | type | description |
|---|---|---|
| piece | ? | |
| o | ? |
build(piece: ?, root: ?, L: ?, o: ?) → void
| arg | type | description |
|---|---|---|
| piece | ? | |
| root | ? | |
| L | ? | |
| o | ? |
host(piece: ?, t: ?) → void
| arg | type | description |
|---|---|---|
| piece | ? | |
| t | ? |
step(piece: ?, i: ?) → void
| arg | type | description |
|---|---|---|
| piece | ? | |
| i | ? |
onState(piece: ?, h: ?, patch: ?) → void
| arg | type | description |
|---|---|---|
| piece | ? | |
| h | ? | |
| patch | ? |
tick(piece: ?, h: ?, t: ?) → void
| arg | type | description |
|---|---|---|
| piece | ? | |
| h | ? | |
| t | ? |
_step(piece: any, i: number) → boolean
| arg | type | description |
|---|---|---|
| piece | any | |
| i | number |
turn(m: string, dx: number, dz: number) → void
| arg | type | description |
|---|---|---|
| m | string | |
| dx | number | |
| dz | number |
trace(piece: any) → void
Trace the beam of a mirrors puzzle: returns the list of cells it passes and whether it reaches the crystal.
| arg | type | description |
|---|---|---|
| piece | any |
state0(piece: ?, o: ?) → void
| arg | type | description |
|---|---|---|
| piece | ? | |
| o | ? |
build(piece: ?, root: ?, L: ?, o: ?) → void
| arg | type | description |
|---|---|---|
| piece | ? | |
| root | ? | |
| L | ? | |
| o | ? |
cp(cx: number, cz: number, y: number) → void
| arg | type | description |
|---|---|---|
| cx | number | |
| cz | number | |
| y | number |
usable(piece: ?) → void
| arg | type | description |
|---|---|---|
| piece | ? |
use(piece: ?, i: ?) → void
| arg | type | description |
|---|---|---|
| piece | ? | |
| i | ? |
onState(piece: ?, h: ?, patch: ?) → void
| arg | type | description |
|---|---|---|
| piece | ? | |
| h | ? | |
| patch | ? |
tick(piece: ?, h: ?, t: ?) → void
| arg | type | description |
|---|---|---|
| piece | ? | |
| h | ? | |
| t | ? |
glyph(parent: any, L: any, sym: string, col: { number }) → any
| arg | type | description |
|---|---|---|
| parent | any | |
| L | any | |
| sym | string | |
| col | { number } |
state0(piece: ?, o: ?) → void
| arg | type | description |
|---|---|---|
| piece | ? | |
| o | ? |
build(piece: ?, root: ?, L: ?, o: ?) → void
| arg | type | description |
|---|---|---|
| piece | ? | |
| root | ? | |
| L | ? | |
| o | ? |
usable(piece: ?) → void
| arg | type | description |
|---|---|---|
| piece | ? |
use(piece: ?, i: ?) → void
| arg | type | description |
|---|---|---|
| piece | ? | |
| i | ? |
onState(piece: ?, h: ?, patch: ?) → void
| arg | type | description |
|---|---|---|
| piece | ? | |
| h | ? | |
| patch | ? |
tick(piece: ?, h: ?, t: ?) → void
| arg | type | description |
|---|---|---|
| piece | ? | |
| h | ? | |
| t | ? |
state0(piece: ?, o: ?) → void
| arg | type | description |
|---|---|---|
| piece | ? | |
| o | ? |
build(piece: ?, root: ?, L: ?, o: ?) → void
| arg | type | description |
|---|---|---|
| piece | ? | |
| root | ? | |
| L | ? | |
| o | ? |
usable(piece: ?) → void
| arg | type | description |
|---|---|---|
| piece | ? |
use(piece: ?, i: ?) → void
| arg | type | description |
|---|---|---|
| piece | ? | |
| i | ? |
onState(piece: ?, h: ?, patch: ?) → void
| arg | type | description |
|---|---|---|
| piece | ? | |
| h | ? | |
| patch | ? |
tick(piece: ?, h: ?, t: ?) → void
| arg | type | description |
|---|---|---|
| piece | ? | |
| h | ? | |
| t | ? |
state0(piece: ?, o: ?) → void
| arg | type | description |
|---|---|---|
| piece | ? | |
| o | ? |
build(piece: ?, root: ?, L: ?, o: ?) → void
| arg | type | description |
|---|---|---|
| piece | ? | |
| root | ? | |
| L | ? | |
| o | ? |
cp(cx: number, cz: number) → void
| arg | type | description |
|---|---|---|
| cx | number | |
| cz | number |
usable(piece: ?) → void
| arg | type | description |
|---|---|---|
| piece | ? |
use(piece: ?, _a: ?, by: ?) → void
| arg | type | description |
|---|---|---|
| piece | ? | |
| _a | ? | |
| by | ? |
push(piece: ?, dir: ?) → void
| arg | type | description |
|---|---|---|
| piece | ? | |
| dir | ? |
onState(piece: ?, h: ?, patch: ?) → void
| arg | type | description |
|---|---|---|
| piece | ? | |
| h | ? | |
| patch | ? |
tick(piece: ?, h: ?, t: ?) → void
| arg | type | description |
|---|---|---|
| piece | ? | |
| h | ? | |
| t | ? |
_push(piece: any, dx: number, dz: number) → boolean
| arg | type | description |
|---|---|---|
| piece | any | |
| dx | number | |
| dz | number |
state0(piece: ?, o: ?) → void
| arg | type | description |
|---|---|---|
| piece | ? | |
| o | ? |
build(piece: ?, root: ?, L: ?, o: ?) → void
| arg | type | description |
|---|---|---|
| piece | ? | |
| root | ? | |
| L | ? | |
| o | ? |
usable(piece: ?) → void
| arg | type | description |
|---|---|---|
| piece | ? |
use(piece: ?, i: ?) → void
| arg | type | description |
|---|---|---|
| piece | ? | |
| i | ? |
enter(piece: ?, code: ?) → void
| arg | type | description |
|---|---|---|
| piece | ? | |
| code | ? |
rewrite(piece: ?) → void
| arg | type | description |
|---|---|---|
| piece | ? |
applyRewrite(piece: ?, key: ?, value: ?, by: ?) → void
| arg | type | description |
|---|---|---|
| piece | ? | |
| key | ? | |
| value | ? | |
| by | ? |
onState(piece: ?, h: ?, patch: ?) → void
| arg | type | description |
|---|---|---|
| piece | ? | |
| h | ? | |
| patch | ? |
tick(piece: ?, h: ?, t: ?) → void
| arg | type | description |
|---|---|---|
| piece | ? | |
| h | ? | |
| t | ? |
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.