Devlog: A5 and H9

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-13 21:10:48 -05:00
co-authored by Claude Opus 5.5
parent d5c8019d11
commit dff83fbe11
+49
View File
@@ -1038,3 +1038,52 @@ high-priority issues, and A3, A7, A12 and A13 deferred.
**Next run:** **Next run:**
- Start R1 (the Linux export pipeline) alongside A5. A runnable package matters more for Monday than more art. The previous entry already said to start it if v0.6 was still open now. - Start R1 (the Linux export pipeline) alongside A5. A runnable package matters more for Monday than more art. The previous entry already said to start it if v0.6 was still open now.
- Then A5, then the type/bug issues in v0.9: H9 (the boathook doesn't hurt players), H11 (canopies filling the camera) and H13. - Then A5, then the type/bug issues in v0.9: H9 (the boathook doesn't hurt players), H11 (canopies filling the camera) and H13.
## 2026-11-13 (night): A5 and H9 done
**Start of run (20:03 ET):** the lock was free and acquired fresh. The pull was a no-op and the tree was clean. The Agents category had nothing addressed to this task, and nothing was posted.
**Done:**
- **A5 (#45), closed: world art.**
- `PoiMesher` dresses every point of interest from its parts:
- lapped tarred weatherboards and plank boards;
- stone in a running bond with lichen;
- tiled roofs with a ridge cap;
- salt-white trim on paint, and crusted salt pans;
- a tarred frame round the lighthouse glass.
- Huts have shuttered windows. These are non-solid parts with no rng, so collision, loot and routes are unchanged.
- Build pieces show their state: building in quarter steps, worn at a third of their health gone, battered at two thirds. `StructureView` rebuilds a mesh only when that state changes.
- `VesselModels` generates the barge (lofted hull, curved rails, mooring lines, gored envelope) and the sea chests. The last primitive stand-in meshes are gone.
- The terrain shader gains tussocks, shingle and lichen.
- New `test_world_art` (9) scans `src/` and `assets/` for placeholder meshes and resources. It also covers POI bounds and determinism, piece states, view rebuilds and the vessel models.
- New targets: `make poi-captures` and `make build-captures`. The second includes the `build_states` test card and `vessels`.
- **H9 (#73): boathook swings hurt players.** `Harvest.swing` traces the swing like a shot (`Weapons.trace`, lag-compensated). A player reached before terrain, a solid, a prop or a piece takes the boathook's damage through `Weapons.damage_player`. A level swing from the eye meets the head, so it takes the 1.5 headshot multiplier, as a shot would. Unarmed bots now "brawl": they close on an opponent in view within `BOT_BRAWL_METRES` (6 m) and swing within `BOT_SWING_METRES`. They also swing back from inside a hut, but only walk in from outside. Tests:
- harvest (+5): a hit, armor first, out of reach, a wall between, a player in front of a tree;
- bot brain (+2): an unarmed bot closes in and lands hits, and leaves a distant opponent alone.
- `test_world_replication` broke. On seed 2 an unarmed bot now meets the scripted player early. The scripted player wins the fight, but a gunman finishes it on 20 health before it can build. Moving to other seeds only traded one failure for another. Instead, the test gives the scripted player full armor once it lands, alongside the driftwood it already hands the client's player. Every assertion is unchanged, and the test passes with 4 pieces built.
- `make bot-matches` with 5 seeds: every match had a winner and 1.7% of deaths were drownings. That batch is too small for the difficulty checks.
**Tests:**
- `make check` passes after A5: 231 scripts parsed, 620 tests, self-check and smoke.
- Captures opened and looked at:
- every POI kind;
- `build_fort`, `build_states` and `vessels`;
- `props_highland`, `props_beach`, `client_glide` and `client_barge`.
- Fixed before committing:
- the build capture's finishing loop skipped every other piece, because it changed the list it was iterating;
- the state card was backlit;
- the barge deck and rails overhung the tapered hull;
- the mooring lines stopped short of the envelope;
- the roof ridge poked out of its part;
- iron could show "battered" with nothing knocked out.
**Decisions and what I learned:**
- `StructureSet.building()` returns the live array. `duplicate()` it before calling `set_progress` in a loop.
- Palette is enforced for every client colour, including instance multipliers, so `WINDOW_PANE` and `OPENED_DULL` are new entries.
- Roofs stay flat, because the roof collision is a flat slab and pitched visuals would bury anyone standing on it.
**Pace (about 21:00 ET Friday):**
- v0.6 has every high-priority issue done. A3, A7, A12 and A13 stay deferred, and #72 waits on Eric. That's about a day behind the plan.
- v0.9 has started. About 59 hours remain to Monday 08:00.
**Next run:** H11 (canopies filling the shoulder camera), H13 (the soak hash mismatch), then R1 (Linux export), which matters most for Monday. R1 depends on H1, so H1 (performance pass) should come before R1 or alongside it.