orbit/js
Brian Fertig b66b3b73e3 Fix escort compass chip click not retargeting the ship
- `escortCompassTarget()` now emits a `destination` kind carrying the world's discovery id (a planet's name / a station's settlement id) instead of reusing the `waypoint`/idx shape, which autopilot resolved to `route.waypoints[0]` — the escort's rendezvous point in the destination system
- `autopilotTo()` gains an `escort:obj:` branch that resolves the payload to the world's discovery entry, and maps a stale content-record-id payload onto the live entity so the click no longer silently no-ops
- `_escortDestinationObject()` now matches the live planet/station by discovery name (a Planet's `name` is its class label) and returns the entity's `discoveryId` for compass/autopilot identity
- Compass offscreen listing suppresses the destination world's own slot when the escort arrow stands it, mirroring the existing route-gate rule
- Add headless unit test (`dev/escort-compass.test.mjs`) covering planet/station destinations, the stale record-id payload, and the old `patrol:wp:` shape, plus a Playwright repro (`dev/escort-compass-click.mjs`) that drives a real mouse click on the chip in a live browser
2026-09-23 22:30:47 -06:00
..
build
…
combat Add Escort side quest: convoy rendezvous, elevated lane combat, and rese 2026-09-23 05:45:18 -06:00
comms
…
config
…
dev
…
economy Add XP rewards for sidequest patrols and cargo sale profit 2026-09-19 20:44:48 -06:00
entities Add faction-tinted swirl to locked jump gates 2026-09-21 19:07:18 -06:00
galaxy Add faction gate lock blocking neutral→faction jumps below level 5 2026-09-21 18:56:31 -06:00
mining
…
quests Add escort delivery touchdown animation and on-screen witness check 2026-09-23 21:39:59 -06:00
reputation
…
research
…
save Make side quest job boards per-surface-world instead of per-system 2026-09-22 19:14:33 -06:00
scan
…
scenes Fix escort compass chip click not retargeting the ship 2026-09-23 22:30:47 -06:00
ship
…
tether
…
ui Fix Job Board detail text word-wrap for Phaser 4 2026-09-22 19:33:21 -06:00
utils Add combat soundtrack that swaps in when combat goes live 2026-09-20 20:38:07 -06:00
vendor
…
vignettes
…
visuals
…
main.js
…