Player (Pip) & Interaction Systems
This page is generated from the project corpus and rewritten on every docs build. Edit the source in corpus/, not here.
How the keyboard-controlled 5th farmer Pip works, plus the interaction/visual systems added alongside it (hotbar, hover tooltips, feature collision, bridges). This is the synthesis of the post-brief-35 work that previously lived only in session memory. As of 2026-06-04.
Verify before quoting — this page names specific files/functions; grep them if you're about to act on a claim (see CLAUDE.md → Verifying before quoting the wiki).
In-canvas UI — all GUI on @engine/ui (2026-07-01)
As of 2026-07-01 all of Farm Valley's UI renders in-canvas through the game-agnostic
@engine/ui framework (the same one Citadel proved) — the old raw-DOM panels
are gone from the render path. The only remaining DOM is the home-screen seed <input> (native
text entry — canvas has no text-input widget) and the visually-hidden a11y mirror mounts
(.ui-a11y in index.html); the dev-only DebugOverlay and the JuiceLayer effects overlay are
still DOM but carry no panel UI.
- Panels live in
games/farm/client/src/ui/canvas/*: each is a retained widget tree built once by acreate<Panel>()factory, thenrefresh(state)re-textures it in place and returns whether layout changed (gates the expensivecomputeLayout+ a11y-mirror reconcile). Panels needing icons exposedrawIcons(surface)(and the hotbar/inventory a dragdrawGhost), drawn via rawUISurface.sprite/.rectquads AFTERrenderTree(the widget model has no sprite node). The 5×7 bitmap font is ASCII-only, so glyphs the font can't render (season ✿☀, emoji) become atlas sprites or plain text. - Host + driver.
ui/canvas/ui-host.tsowns oneUISurface+ an ordered list of registered roots, each with its ownInputDispatcher+ optional a11y mirror, and the capture-phase canvas listeners that give the UI first dibs on pointer/wheel/key (gesture ownership decided at press — copies Citadel's routing). The render loop (main/render-loop.ts) drives every panel per frame inside onesurface.begin()/end():refresh → (if changed) computeLayout + mirror.update → renderTree → drawIcons/drawGhost, each panel anchored independently (clock top-centre, hotbar bottom-centre, right-column top-right, playback bottom-right, leaderboard/inventory/help/game-over centred).main/panels.tsbuilds + registers them all. - Screens (home/loading/game-over/fatal) are canvas panels too; the home/loading screens run
through the shared host in their own small RAF loop in
main.tsbefore the sim exists. Boot-failure fatal keeps a DOM fallback (main/fatal.ts) since the renderer may itself be dead.
Reinvented interactions (world-anchored + diegetic)
Beyond the mechanical port, three interactions were reinvented (all client render/input only — no new sim state or protocol; determinism untouched):
- World-anchored inspect card (
ui/canvas/inspect-panel.ts): while a farmer is followed (focusedFarmerId), a live detail card (name/personality/gold/FSM+AP/ region/current intention, from the observer snapshot) floats above that farmer and tracks their world position each frame — viaworldToCanvasCss()inmain/screen-to-tile.ts, the exact inverse ofscreenToWorld(Farm's analogue of Citadel'stileToCanvasCssbadge anchoring). - Drag-from-world hotbar (
ui/canvas/hotbar.ts): the always-visible belt rearranges by drag, reusing the owner-gatedswap-slotsmessage (same as the inventory modal). Capture-phase window listeners with a movement threshold, so a plain click never counts as a drag and still falls through to the world tool-use action. - Diegetic HUD (
ui/canvas/diegetic-hud.ts): a notice-board (latest events, high-drama gold) and standings post (day/time + current top-3) anchored over the world structures the sim already spawns —structure/notice-boardatNOTICE_BOARD_TILEand the auction podium atAUCTION_PODIUM_TILE— so they read as in-world signage. Press J to summon both to screen-centre on demand, again to dismiss (todo decision #7's "hybrid diegetic + summon"). These tiles are stable because world geometry is seeded from the fixedWORLD_GEN_SEED(the run seed drives AI/economy, not layout), so client + server agree on them.
Follow-ups: the superseded old DOM panels under
ui/*(a self-contained dead subgraph; their tests still pass) can be pruned; minor layout polish remains (slate stock-bar text overrun; summoned-HUD overlaps the inspect card; J isn't yet in the help-modal key list). See the closed brief farm-ui-all-rendered-in-canvas.
Collapsible HUD panels (brief 117, 2026-07-15)
Five panels are collapsed by default behind always-visible labeled toggle buttons: the right column's three sub-panels — Farmers (observer), Shop (slate), Activity (event feed) — collapse independently, plus Relations (matrix) and Wealth (graph) bottom-left. Playback, help, clock, hotbar, and the pre-existing toggles (Tab/E/J) are unchanged.
- State lives in
@engine/ui'sstate/panel-prefs.ts(createPanelPrefs<Id>({ storageKey, ids, defaults, storage })) — promoted out of Farm'sui/canvas/panel-prefs.tsby sweep-09 (2026-09-19), which found Farm's and Citadel's copies had already diverged. Farm constructs it inmain/panels.ts: write-throughlocalStorageunderfarm.ui.panels.v1, default closed, in-memory fallback on any storage throw, and a parse allowlist (fixed 5-id union, boolean values only — stored JSON is external input; wholesale copying would admit a literal__proto__key). One shared instance is built inmain/panels.tsand injected into the widgets. - Pattern: each toggle button stays visible in BOTH states (it is the open and close
affordance); the panel body appears below it while open. A toggle restructures the widget tree
synchronously and forces the next
refresh()to returntrueso the host relayouts.wheel()routing is gated on open state (a collapsed panel's last-laid-out rect is stale — never hit-test it). - Shortcuts: F Farmers, O Shop, T Activity, R Relations, G Wealth — listed in
the help modal (
KEY_BINDINGS). Esc deliberately does NOT close these (reserved for modals). - Three traps (all found by review/browser, all fixed in
931694a— remember them when adding panels): (1) a default-closed panel's firstrefresh()returnsfalse, so refresh-gated layout never runs and its button sits at the zero rect, unclickable — anchor blocks need a first-frame/resize size-key sentinel (seematrixLaidOutSizeinrender-loop.ts); (2) keys typed into the home-screen seed input accumulate inKeyboard.justPressed(nothing callsendFrame()before the game loop) and would fire hotkeys + write-through persist bogus state on frame 1 — the loop drains stale input once at its first frame; (3) the wealth graph clamps its bottom edge above the playback bar's rect — the open matrix pushes the bottom-left strip toward the canvas centre at narrow widths.
Citadel counterpart (2026-07-16, d3952ad; consolidated 2026-09-19): Citadel's Status strip uses
the same store, now the shared @engine/ui one, constructed in main/hud-panels.ts alongside
main/status-panel.ts (citadel.ui.panels.v1). It was a from-scratch port under "games never
import each other" — sweep-09 corrected that reading: the rule forbids a game→game edge, not two
games importing the same engine helper (see decisions.md → Duplicate-vs-promote).
Its Status panel defaults OPEN (it's the siege warning signal,
not an opt-in data dive) and status-panel.ts is kept separate from hud-panels.ts so it
unit-tests without sim-client.ts's import-time live client. The engine DebugOverlay also grew an
additive OverlayCorner option (43617b9) — Farm's default is unchanged; Citadel mounts it
bottom-right (top-left is the resource/siege HUD corner).
Panel-layout traps (2026-07-15 trio — flicker / shop overflow / inventory overlap)
Three caller-side misuses of the @engine/ui layout model, fixed 0cae160/8de2572/9744207
(closed todos have the full stories). The rules to carry forward: (1) never reassign .layout
on a node after construction — a partial { width, height } literal silently drops
align/gap back to theme defaults (the Farmers flicker: row width tracked per-tick text);
(2) the box-mirror scroll pattern has no clipping — computeLayout never clips children to a
container's height, so any plain-box list needs its own bottom-edge cull in syncVisibleRows
(pattern now in observer-panel.ts + slate-billboard.ts) or content spills past the panel
(the Shop pumpkin row); (3) a label an icon is painted over must reserve the icon's real size
(layout: { width: ICON_SIZE, height: ICON_SIZE }), not its text metrics — hotbar.ts had it,
inventory.ts didn't.
Pip's-farm marker (2026-07-16)
At zoom ≤ 1.2, main/pip-farm-marker.ts
draws a constant-size screen-space pin (gold diamond + "PIP'S FARM" label) anchored above the
static farm-pip region — region-anchored, not Pip-tracking, so it's stable while Pip wanders
(528bd4d).
Pip — a real farmer driven by input
Pip is a normal farmer entity in the sim worker with the same components as the four AI farmers, so crop-growth / harvest / market / render / animation all treat it identically. The only difference is the source of its intentions: keyboard input instead of an AI personality.
- Tagged by
personality.kind: "pip"and aplayer: { isPlayer, facing, pendingMove, pendingAction, selectedSlot }component (components.ts). PlayerControlSystemruns right beforeActSystem: it moves Pip one tile/tick (walkability-checked, syncscurrentRegionviaregionAt) and, on an action key, builds the sameIntentionshapes the AI emits (till/plant/water/chop-tree/mine-stone) soActSystemruns them unchanged.DeliberateSystemskips any entity with aplayertag. Player movement is NOT AP-gated (free tile-by-tile walking for responsiveness); the action itself still flows throughActSystem's AP/tool/proximity rules.farmer.movedThisTickflag exists so the render walk-cycle animates Pip even though it has no pathfinderpath.
Input plumbing
Post-brief-72 (client/server split), the input path crosses a websocket + an owner gate — it is no longer an in-worker postMessage:
render-loop reads the held axes from keyboard each frame → client.owner gate (only the run owner forwards Pip input; spectators in a shared run may not drive Pip) → resend only when the held axis changes (moveChanged, avoids per-frame flooding; held key persists server-side) → SimClient.sendInput() posts { type: "input", moveX, moveY, action, selectSlot } over the websocket → server RunRegistry.handleControl forwards it only if socket === run.owner → SimHost.applyInput writes pendingMoveX/Y / pendingAction / selectedSlot onto the single player entity → PlayerControlSystem reads pendingMove* each tick (velocity move + per-axis AABB wall-slide). Note pendingMove* is read but not cleared (held-direction model); it persists until a keyup sends null.
Controls: WASD/arrows move, Space recenters camera on Pip, left-click = action on the clicked/faced tile (brief 79; E is no longer action), E = toggle inventory, number keys 1–8 select a hotbar slot, F/O/T/R/G toggle the collapsible HUD panels (brief 117). Speed is set via the sidebar buttons.
Brief 78 (2026-06-11): a reported "Pip doesn't move" was not reproducible in a clean single-player
npm run dev— the full chain (client → registryowner:true→ hostapplyInput→PlayerControlSystem) was verified healthy end-to-end via live instrumentation (Pip moved tile-by-tile, wall-collision intact). Root cause of the live symptom: duplicate dev processes (overlapping sessions left extra Vite/server instances running), so a second socket attached to the same run-key as a spectator (owner:false) andrender-loopsilently swallowed its input. Guarded headlessly byrun-registry.test.ts("input from owner IS forwarded" / "from spectator is NOT"). If it recurs in a clean session, the next suspect is keyboard focus, not the transport.
Click-to-target + action-aware cursor (brief 79, 2026-06-11)
Pip can act on a clicked tile, not only the faced tile:
- Targeting.
PlayercarriespendingActionTile: {x,y} | null(farmer.ts). A canvas left-click converts pointer→tile via the sharedscreenToTilehelper (dpr capped at 2, factored out oftooltip.tsso click/cursor/tooltip all agree) and sends it throughsendInput(..., actionTile)→applyInput→ the player entity.PlayerControlSystemuses the clicked tile when set (else the faced tile for the E key), with a Chebyshev ≤ 1 reach guard (a click >1 tile away is ignored);pendingActionTileis always cleared after consuming, and Pip'sfacingorients toward the click.slotIntentandActSystemstill own all validity (ownership/tool/AP/proximity) — a click only proposes a tile. - Cursor. Slot-generic CSS named cursors (no sim round-trip): axe/pickaxe/fishing-rod →
crosshair; hoe/watering-can/seed →cell; otherwisedefault. Set onmousemovefrom the selected hotbar slot. CSS cursors sidestep the EDG palette guard. - Pan moved to middle/right-drag. Left mouse is now reserved for acting; camera pan is middle (button 1) or right (button 2) drag (camera.ts);
contextmenuis suppressed so right-drag doesn't pop the menu. - Determinism + spectators:
pendingActionTiledefaultsnulland is only set by a click, so AI/headless is inert (3-seed/3-dayEXPORT=jsondiff MATCH ×3). The click isclient.owner-gated — spectators in a shared run cannot act.
Pip's sprite
pip is a PERSONALITY_SUBS entry in atlas-recipes (gold hair y→o, green tunic r→G) which auto-generates the action + facing frames; a small extra block makes the 3 down-base frames. Rebuild with npm run atlas.
Player facing is authoritative, not movement-delta. For AI farmers, snapshot facing is derived from t.x - t.prevX (resolveFacing, 3-way side/up/down + flipX). That heuristic snaps Pip back to "down" the instant it stops between key presses, so for the player entity buildSprites maps the authoritative 4-way player.facing directly: left/right → "side" + flipX (flip on left), up/down as-is. resolveFrameAndBob (render-systems.ts) then builds base + dirSeg + walkSuffix; the farmer/pip/side, /up, and directional walk frames all exist in the atlas.
Hotbar — slot-based action dispatch
The action key uses the selected hotbar slot, not an auto-by-context guess. HOTBAR_SLOTS is the single source of truth, shared by sim dispatch, the PlayerHotbar snapshot field, and ui/hotbar.ts:
| Slot | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
|---|---|---|---|---|---|---|---|---|
| Can | Hoe | Axe | Pickaxe | Rod | Radish | Wheat | Pumpkin |
player.selectedSlot decides what Space/E/left-click does on the faced tile (hoe→till, axe→chop, pickaxe→mine, can→water, rod→fish open water from the isle, seed→plant that crop). Selection lives in the sim and flows out through the snapshot, so the UI panel is a pure reflection (highlights the active slot, dims out-of-stock seeds). The rod was inserted at slot index 4 (2026-06-04), shifting the seeds to 5/6/7 — number keys now run 1–8 and the player-control test's SLOT map was updated to match.
The hotbar is now the top row of a mutable item grid (2026-06-11).
HOTBAR_SLOTSis no longer the layout source of truth — it's superseded by a per-player layout array. See Inventory & the unified item grid below; the table above is just the default layout (defaultItemSlots()).
Inventory & the unified item grid (2026-06-11)
Pip's inventory is a unified item grid (Stardew-style): the bottom hotbar is just the first row; the rows below are the backpack, revealed by pressing E (Esc or E again closes; clicking the dimmed backdrop also closes). The grid is a player-owned cosmetic layout over the aggregate inventory — it decides where each item shows, never how many (counts always come from Inventory/ResourceInventory). So none of this touches the sim economy, and AI farmers (no player tag) carry no grid → determinism is structurally unaffected.
- State.
player.itemSlots: (ItemRef | null)[](components/items.ts, lengthTOTAL_SLOTS=HOTBAR_SIZE8 + 3 backpack rows = 32).ItemRefis a discriminated union over tool / seed / crop / fish / resource / product / fruit / goldenBeans. Seeded fromdefaultItemSlots()(tools + radish/wheat/pumpkin seeds in the hotbar row, matching the oldHOTBAR_SLOTSorder). - Reconciliation.
PlayerControlSystemcallssyncItemSlots()each tick: it appends any newly-held item kind to the first empty slot and never removes a slot (a sold-out item stays as a dimmedx0entry, so the player's manual arrangement is stable). Lazily seedsitemSlotsif absent (older saves / inline-constructed test players). - Dispatch.
refIntent()(wasslotIntent) reads theItemRefatselectedSlot; only tools and seeds produce a field intention — held crops/fish/resources are inert. - Display.
resolveItem(ref, inv, resources)maps a ref →{ label, glyph, frame, text, available, actionable }. Atlas frames: toolstool/*, seedscrop/*/seed, cropscrop/*/mature, shore fishfish/{minnow,bass,salmon}(coral specials + resources + golden beans have no sprite → glyph fallback), productsproduct/*, fruitfruit/*. The snapshot carries the whole grid inplayerInventory: PlayerInventoryand the bottom-bar projectionplayerHotbar(firsthotbarSizeslots) — both built in snapshot-builder/sprites.ts. - Drag-drop = swap. ui/inventory.ts
InventoryPaneluses HTML5 drag-and-drop; dropping slot A on slot B sends a new{type:"swap-slots", a, b}message (protocol/messages.ts) viaSimClient.swapSlots→ owner gate (RunRegistry.handleControl) →SimHost.applySwapSlotsswaps the twoitemSlotsentries (bounds-checked). Moving an item between hotbar and backpack is just a cross-row swap. Layout is sim-authoritative, so the panel re-renders from the next snapshot (no optimistic local state). Swaps are owner-gated — spectators can open the panel to look, not rearrange.
E is no longer "action". Brief 79 moved Pip's action to left-click, freeing E; it now toggles the inventory. (The old "E = action" note in this page's input section is stale.)
Fishing — the fishing isles, bubbles, and rare fish (2026-06-04)
Fishing is a destination activity: travel to a fishing isle, stand on its sandy shore, and cast into the surrounding ocean. The water you cast into determines rarity — calm shoreline yields cheap minnows, bubble spots yield the rarer, more valuable fish.
- Two fishing isles, each an 8×8 sand island in the southern open ocean:
fishing-isle(FISHING_ISLE_BOUNDS= 75–82 × 105–112, bridged to the mill) andfishing-isle-2(FISHING_ISLE_2_BOUNDS= 59–66 × 105–112, bridged to forest-south) — see regions.ts:77-78. (These bounds moved with the 2026-06-09 radial reorg; pre-reorg they were 40–47/22–29 × 68–75.) Both render with atile/sandbackdrop. AFISHING_ISLE_IDSlist +isFishingIsle()helper let the renderer / fishing logic treat them uniformly. - Bubble spots are transient churning-water patches that drift daily in the 1-tile ocean ring around each isle.
BubbleSystem(registered right afterTileFeatureSystem, day-triggered offDAY_START, forks a seeded"bubbles"rng) clears yesterday's bubbles and re-rollsBUBBLE_COUNT(5) fresh ones per isle each new day (rings processed inFISHING_ISLE_IDSorder for deterministic draws). A bubble is afishingSpot: FishingSpotTagentity +structure/fishing-spotsprite (layer 4) on a non-walkable ocean tile — it never blocks movement. Rising-bubble animation (2026-06-05): the spot is three bubbles that climb to the surface and pop, animated over a 3-frame cyclestructure/fishing-spot(A) →-b→-c(~1.2 s A→B→C, per-tile phase offset so neighbours don't bubble in lockstep). The swap happens inresolveFrameAndBob(render-systems.ts) on the single layer-4 snapshot sprite — not a separate overlay — so there's no double-draw;FISHING_SPOT_FRAMESis the exported cycle. Wall-clock driven (nowMs) like the foam/forge animations — purely cosmetic, no determinism impact (bubble tile positions still come from the seededBubbleSystem). The bubbles use pale ocean-foam/white swatches (q/e/w), authored in atlas-recipes. (This replaced the earlier static ring + separatefishing-sparkleoverlay.) - The
fishaction (ActSystem.handleFish) costs 1 AP (AP_COST.fishin ap.ts). Requirements: a held rod, standing ON a fishing-isle tile (isFishingIsle), and an ocean tile in the 4-neighbours to cast into. If any adjacent water tile is a bubble, the cast usesFISH_WEIGHTS_BUBBLE{minnow 25, bass 45, salmon 30}; otherwise calmFISH_WEIGHTS_CALM{minnow 80, bass 17, salmon 3}(components.ts). Fish are minnow / bass / salmon worth 1 / 3 / 5 gold (FISH_VALUE); the catch banks gold immediately + talliesinventory.fish. A random 5–30 s busy window (FISH_MIN_TICKS=100 …FISH_MAX_TICKS=600) is set onbusyUntilTick. Deterministic:ActSystemforks a"fish"rng channel;fishis excluded fromactionTicks(the handler sets its own busy time). - Rod, no durability. One kind,
durability: Infinityso the shared tool find/prune plumbing never removes it. Every farmer starts with one (STARTING_TOOLS). - Player dispatch: the rod slot emits
{ kind: "fish", … }only when Pip stands on a fishing isle and faces an ocean tile (PlayerControlSystem);ActSystemre-checks isle + water + rod and reads bubbles for rarity. - AI farmers fish too — but the cast tiles are STALE (live bug, 2026-06-11).
deliberateFishingsends the opportunist (every 5 days, 3 casts) and aggressive (every 7 days, 2 casts) to the nearest entry inFISHING_CAST_TILES(shared.ts), which still holds the pre-reorg tiles(40,71)/(22,71). The isles are now at 75–82/59–66 × 105–112, so those tiles are off-isle → the farmer travels to open ground/ocean and thefishprecondition (stand ON a fishing isle) never passes → AI fishing no longer fires. Pip's fishing is unaffected (it checksisFishingIsledynamically). This is the same off-screen-coordinate class as brief 73's tavern/festival ocean-tile fix, which missedFISHING_CAST_TILES. Flagged in open-questions.md; a fix moves the sim baseline (re-verify like brief 73).
Forageable berry-bushes — random-seed source (2026-06-11)
Berry-bushes are a third tileFeature kind ("bush", alongside tree/stone — world-features.ts) that reuse the entire trees/stones lifecycle: daily spawn in TileFeatureSystem, feature-collision blocking, plot-sense → beliefs.data.tileFeatures, and despawn-on-collect. Collecting one yields one random seed (no tool needed).
- Spawn rates (forked
tile-clusterrng, shared per-region caps): farm tiles +1% bush (with 2% tree / 1.5% stone, cap 6); forests +8% berry-bush understory (with 25% tree, cap 20); quarries stay stone-only. - Seed reward is rarity-weighted — systems/act/seed-drops.ts
SEED_WEIGHTS(∑=100: radish 30, wheat 22, carrot 18, tomato 12, corn 8, winter-squash 6, pumpkin 3, grape 1) +pickWeightedSeed(rng), mirroringpickWeightedFish. The seed lands ininventory.seeds[crop]. - Tree-chop bonus:
handleChopTreedraws the same forked"forage-seed"rng each chop;TREE_SEED_CHANCE = 0.2→ a chop gives the usual 2 wood and a 20% chance of one weighted seed. It always draws (even on a miss) so the stream stays deterministic. - Collect handler:
handleGatherBush(handlers/resource.ts) — reach-checks, +1 weighted seed, +1 foraging XP, despawns; dispatched on thegather-bushintent (ActSystem). No AP/tool cost (treated likeforage, not a physical tool action). - Player:
PlayerControlSystem.bushAt(tx,ty)— clicking any bush forages it regardless of the selected hotbar slot (foraged by hand). Pip blocks-and-stands-adjacent like chopping a tree (featureAtincludes bushes). AI:deliberateResourceGathergathers bushes with no tool gate, so all four personalities forage them automatically. - Sprite: new
structure/bushrecipe (green shrub + red berries — distinct from the flat decorativedecoration/bushprop). Hover label "Berry Bush". Determinism is preserved (all new rng is forked); the per-chop draw moves the sim baseline (a new mechanic) — re-verify with a multi-seedEXPORT=jsondiff before trusting old baselines.
Hover tooltips — name + description
updateTooltip renders the nearest labeled sprite's label (bold) + description (wrapped) within half-a-tile of the cursor. The snapshot builder sets both fields for farmers, all structures/NPCs, fountains, farmhouses, trees, stones, crops (crops include live growth/water state), and decorative props (2026-06-05). A sprite with label === null is not hover-able.
Props are sprite-only entities with no identifying component, so the snapshot builder (snapshot-builder.ts) names them off their sprite.frame via the DECORATION_LABELS map (decoration/barrel → "Barrel", etc.). A new decoration/* prop just needs one entry in that map to become hover-able.
Feature collision — trees/stones AND solid props block movement
tileFeature entities (trees/stones) are dynamic (spawn daily, despawn on chop/mine), so the static buildWalkableGrid() (regions + roads only) doesn't know about them. FeatureCollisionSystem holds the immutable base grid and each tick re-ORs blocked cells for the current feature tiles onto the shared PathfinderGrid that TravelSystem pathfinds over — so AI farmers route around features (and still stand adjacent to chop/mine, via TravelSystem.resolveReachableTile). It is registered right before TravelSystem in sim-bootstrap.ts, after TileFeatureSystem/HarvestSystem. The player blocks moves onto feature tiles separately via PlayerControlSystem.featureAt(tx,ty), since it walks by isWalkable rather than the grid. Determinism is preserved (depends only on live feature entities).
The same system also blocks solid entities (components.ts Solid) — static tile-occupying obstacles used for the workshop props and big-building footprints (see Big workshop buildings). Solids are placed once at world setup (never moved), but blocking them in the same per-tick pass keeps one walkability authority. PlayerControlSystem.featureAt also checks solid, so Pip and the AI both walk around a forge oven / workbench / building instead of through it. Because blocking a tile can sever a chokepoint, solid-connectivity.test.ts boots a sim, overlays every solid tile onto the base grid, and BFS-asserts every region center / plot / NPC station stays reachable and no solid covers a craft-island bridge mouth.
World dressing, scenery & tile geometry
Split out on 2026-07-09 → farm-world-dressing.md (workshop buildings, island edges, coral zones, bridges, plot layout, the 240×240 radial archipelago layout).