path
The tram route drawn onto the diorama, read from `HL.TILES` so a slab always stands where a pawn lands.
path
The tram route drawn onto the diorama, read from HL.TILES so a slab always
stands where a pawn lands.
route(b)the paved corridor and its rails where the route is on the ground, and a dashed ferry lane where it crosses open watercatenary(b)the poles that carry the overhead wireslabs(b)the 43 counters in their kind colours, each with a modelled icon — a coin stack, a briefcase, a mortarboard, two rings, a fan of cards — and a wooden pontoon instead wherever the route stands over waterforkMarks(b)the arrows painted where the route splits at Pasila stationlines()/smooth(pts, passes)the route in travel order, and the resampling every ribbon along it uses
Consumed by game.board.Board.
Interface
What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.
conforms to
zero/source-extract/v2path — the tram route drawn onto the diorama. The route is HL.TILES and nothing else: this module reads the same graph the rules slice walks, so a slab always stands where a pawn lands. It lays a paved corridor with two rails along the tile order, then an octagonal slab on every tile in its kind's colour, then a small modelled icon on top of each so a player can read the board without the HUD. route() the paved corridor, the rails, the fork's two arms slabs() the 43 tiles and their icons The sea tiles are not slabs but pontoons — the ferry crossing is water, and a painted tile floating on it would read as an error.
lines( ) → void
The tile ids in travel order down the spine, and down the branch.
points(ids: { number }) → void
| arg | type | description |
|---|---|---|
| ids | { number } |
smooth(pts: { { number } }, passes: number) → void
Resample a polyline so the corridor turns in curves rather than corners.
| arg | type | description |
|---|---|---|
| pts | { { number } } | |
| passes | number |
splitOverGround(line: { { number } }) → void
Which stretches of a route line stand on something and which cross open water. The tram is paved; the ferry leg is not, and paving it would read as a causeway where the fiction says a boat.
| arg | type | description |
|---|---|---|
| line | { { number } } |
route(b: ?) → void
The paved corridor the trams run in, with its two rails and a kerb, and the marked lane the ferry takes across the strait.
| arg | type | description |
|---|---|---|
| b | ? |
catenary(b: ?) → void
The poles that carry the overhead wire, set along the outside of every curve. They say "tram" louder than the rails do, and they give the strip either side of the route something standing in it.
| arg | type | description |
|---|---|---|
| b | ? |
coin(b: ?, x: number, z: number, y: number, r: number) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| x | number | |
| z | number | |
| y | number | |
| r | number |
house(b: ?, x: number, z: number, y: number, s: number, wall: string, roof: string) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| x | number | |
| z | number | |
| y | number | |
| s | number | |
| wall | string | |
| roof | string |
figure(b: ?, x: number, z: number, y: number, s: number, hex: string) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| x | number | |
| z | number | |
| y | number | |
| s | number | |
| hex | string |
start(b: ?, x: ?, z: ?, y: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| x | ? | |
| z | ? | |
| y | ? |
event(b: ?, x: ?, z: ?, y: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| x | ? | |
| z | ? | |
| y | ? |
payday(b: ?, x: ?, z: ?, y: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| x | ? | |
| z | ? | |
| y | ? |
career(b: ?, x: ?, z: ?, y: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| x | ? | |
| z | ? | |
| y | ? |
study(b: ?, x: ?, z: ?, y: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| x | ? | |
| z | ? | |
| y | ? |
stop(b: ?, x: ?, z: ?, y: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| x | ? | |
| z | ? | |
| y | ? |
home(b: ?, x: ?, z: ?, y: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| x | ? | |
| z | ? | |
| y | ? |
wedding(b: ?, x: ?, z: ?, y: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| x | ? | |
| z | ? | |
| y | ? |
family(b: ?, x: ?, z: ?, y: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| x | ? | |
| z | ? | |
| y | ? |
finish(b: ?, x: ?, z: ?, y: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| x | ? | |
| z | ? | |
| y | ? |
octagon(cx: number, cz: number, half: number, cut: number) → void
An octagon the size of one tile: a square board with its corners cut, so the route reads as a chain of counters rather than a run of bricks.
| arg | type | description |
|---|---|---|
| cx | number | |
| cz | number | |
| half | number | |
| cut | number |
pontoon(b: ?, x: number, z: number) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| x | number | |
| z | number |
slabs(b: ?) → void
| arg | type | description |
|---|---|---|
| b | ? |
forkMarks(b: ?) → void
The fork's two arms get a painted marker where the route splits, so the choice at Pasila station is visible on the board itself.
| arg | type | description |
|---|---|---|
| b | ? |
Sub-parts
Everything contained inside this part. Assets are composite children (clickable cards). Files are leaf payloads. Expand any row to view its source.
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.