Seeded placement of original locations: fishing hamlets, docks, a lighthouse, a quarry, salt works and hilltop shrines. Each is assembled from modular parts with loot spawn markers.
Acceptance
At least 6 POI types, with 10 to 16 placed per island, spaced and sited on suitable ground.
Spawn markers are exposed to the loot system.
Interiors are walkable, proven by an automated traversal test.
**Depends on:** W3
Seeded placement of original locations: fishing hamlets, docks, a lighthouse, a quarry, salt works and hilltop shrines. Each is assembled from modular parts with loot spawn markers.
**Acceptance**
- At least 6 POI types, with 10 to 16 placed per island, spaced and sited on suitable ground.
- Spawn markers are exposed to the loot system.
- Interiors are walkable, proven by an automated traversal test.
claude
added this to the v0.2 Movement and Island milestone 2026-11-09 05:26:06 +00:00
src/sim/poi_set.gd: PoiSet.generate(island) places 10 to 16 POIs per island from the seed, in six original kinds: hilltop shrine, lighthouse, dock, salt works, quarry and fishing hamlet. They are at least 85 m apart (POI_SPACING_METRES). Each kind has a siting rule (height band, flatness, near the coast or on a summit), which loosens step by step until the kind's minimum is placed. Docks are sited so the pier deck clears the ground all the way out to water 1.5 m deep.
src/sim/poi.gd: modular parts in a local frame turned in quarter turns, so every solid stays an axis-aligned box. The parts are walls with a door and lintel, plinths, steps down to the ground, roofs, and a lighthouse stair to a loft. Every POI has loot spawn markers, exposed through PoiSet.loot_markers() as {position, poi, kind}, plus walking routes into its interiors.
Simulation adds all POI solids to the ground, and doesn't spawn players inside them.
SimGround now indexes solids in 8 m cells. With about 300 solids, smoke p95 is 0.47 ms per tick (it was 0.37 ms).
Movement fix: step-up now tests the body at the height it will step up to. Without that, stairs with treads narrower than the body couldn't be climbed. The traversal test found the lighthouse stair was impassable.
src/client/poi/poi_view.gd: one MultiMesh per look, in the tarred-wood, plank, stone, faded-roof, salt-paint palette. These are blockout visuals for the v0.6 art pass.
Summit terrain is darker, because it read as snow in captures.
Tests (make check passes)
On 30 seeds, every kind is within its min and max, totals are 10 to 16, spacing holds, nothing is sited in the sea, and each kind is in its height band. Placement is deterministic.
Loot markers stand on a floor and aren't inside a solid, and every kind has loot.
Traversal: on 4 seeds, a player using the real Movement walks every route of every POI (over 40 routes): from open ground, up the steps, through the door, to the loot. In the lighthouse, that includes the stair to the loft. This test caught the stair bug and missing steps up to the pier decks.
Stairs with 0.45 m treads are climbed, and that test fails without the movement fix. A step can't carry the body into a wall behind it. The solid index gives the same answers as a full scan.
I checked captures of all six kinds by eye (poi_hamlet, poi_lighthouse, poi_dock, poi_salt_works, poi_quarry, poi_shrine).
Follow-ups: piers stand over bare sea floor until W6 adds water. The look is flat-coloured boxes until the v0.6 art pass.
Done in 5021d13.
**What changed**
- `src/sim/poi_set.gd`: `PoiSet.generate(island)` places 10 to 16 POIs per island from the seed, in six original kinds: hilltop shrine, lighthouse, dock, salt works, quarry and fishing hamlet. They are at least 85 m apart (`POI_SPACING_METRES`). Each kind has a siting rule (height band, flatness, near the coast or on a summit), which loosens step by step until the kind's minimum is placed. Docks are sited so the pier deck clears the ground all the way out to water 1.5 m deep.
- `src/sim/poi.gd`: modular parts in a local frame turned in quarter turns, so every solid stays an axis-aligned box. The parts are walls with a door and lintel, plinths, steps down to the ground, roofs, and a lighthouse stair to a loft. Every POI has **loot spawn markers**, exposed through `PoiSet.loot_markers()` as `{position, poi, kind}`, plus walking routes into its interiors.
- `Simulation` adds all POI solids to the ground, and doesn't spawn players inside them.
- `SimGround` now indexes solids in 8 m cells. With about 300 solids, smoke p95 is 0.47 ms per tick (it was 0.37 ms).
- **Movement fix:** step-up now tests the body at the height it will step up to. Without that, stairs with treads narrower than the body couldn't be climbed. The traversal test found the lighthouse stair was impassable.
- `src/client/poi/poi_view.gd`: one MultiMesh per look, in the tarred-wood, plank, stone, faded-roof, salt-paint palette. These are blockout visuals for the v0.6 art pass.
- Summit terrain is darker, because it read as snow in captures.
**Tests** (`make check` passes)
- On 30 seeds, every kind is within its min and max, totals are 10 to 16, spacing holds, nothing is sited in the sea, and each kind is in its height band. Placement is deterministic.
- Loot markers stand on a floor and aren't inside a solid, and every kind has loot.
- **Traversal:** on 4 seeds, a player using the real `Movement` walks every route of every POI (over 40 routes): from open ground, up the steps, through the door, to the loot. In the lighthouse, that includes the stair to the loft. This test caught the stair bug and missing steps up to the pier decks.
- Stairs with 0.45 m treads are climbed, and that test fails without the movement fix. A step can't carry the body into a wall behind it. The solid index gives the same answers as a full scan.
- I checked captures of all six kinds by eye (`poi_hamlet`, `poi_lighthouse`, `poi_dock`, `poi_salt_works`, `poi_quarry`, `poi_shrine`).
**Follow-ups:** piers stand over bare sea floor until W6 adds water. The look is flat-coloured boxes until the v0.6 art pass.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Depends on: W3
Seeded placement of original locations: fishing hamlets, docks, a lighthouse, a quarry, salt works and hilltop shrines. Each is assembled from modular parts with loot spawn markers.
Acceptance
Done in
5021d13.What changed
src/sim/poi_set.gd:PoiSet.generate(island)places 10 to 16 POIs per island from the seed, in six original kinds: hilltop shrine, lighthouse, dock, salt works, quarry and fishing hamlet. They are at least 85 m apart (POI_SPACING_METRES). Each kind has a siting rule (height band, flatness, near the coast or on a summit), which loosens step by step until the kind's minimum is placed. Docks are sited so the pier deck clears the ground all the way out to water 1.5 m deep.src/sim/poi.gd: modular parts in a local frame turned in quarter turns, so every solid stays an axis-aligned box. The parts are walls with a door and lintel, plinths, steps down to the ground, roofs, and a lighthouse stair to a loft. Every POI has loot spawn markers, exposed throughPoiSet.loot_markers()as{position, poi, kind}, plus walking routes into its interiors.Simulationadds all POI solids to the ground, and doesn't spawn players inside them.SimGroundnow indexes solids in 8 m cells. With about 300 solids, smoke p95 is 0.47 ms per tick (it was 0.37 ms).src/client/poi/poi_view.gd: one MultiMesh per look, in the tarred-wood, plank, stone, faded-roof, salt-paint palette. These are blockout visuals for the v0.6 art pass.Tests (
make checkpasses)Movementwalks every route of every POI (over 40 routes): from open ground, up the steps, through the door, to the loot. In the lighthouse, that includes the stair to the loft. This test caught the stair bug and missing steps up to the pier decks.poi_hamlet,poi_lighthouse,poi_dock,poi_salt_works,poi_quarry,poi_shrine).Follow-ups: piers stand over bare sea floor until W6 adds water. The look is flat-coloured boxes until the v0.6 art pass.