Log inGet started
World

Lanternwake

Branchmain
Branchesmain
Commitdc8f400ee9

README.md

village.kit

The vocabulary of Lanternwake, written into a village.geo builder.

Fabric: timberPanel (daub infill, then sill, head, posts, studs and corner braces on top of it — the black frame is the drawing and the pale daub is the paper), window, door, chimney.

Buildings: cottage, manor, church, mill, well.

Street: lampPost, grave, wall, fence, reeds, tree, cart, gate, coachStop.

Every piece is authored with its footprint on the origin and its ground at y = 0, so the caller pushes a position and a yaw and the piece stands there. A piece a body should not walk through appends its world-space footprint to b.solids, which the village module turns into box colliders; a piece that burns appends to b.lamps, which becomes a fog lamp uniform and a point light.

Kit.rng(seed) is the deterministic stream everything varies on. Nothing here calls math.random, which is why the village is identical on every load.