- Replace the instant "delivered" completion with a two-phase flow: phase `delivering` (convoy breaks off, glides beside the destination world, fades out) followed by the seal/payout on fade close. - The delivery now requires the destination world to be visible in the camera's world rect (`_escortObjectOnScreen`) rather than merely within a distance radius. - Add `_runEscortDelivery` (time-driven ease-out approach + alpha/scale fade, frame-rate independent) and `_sealEscortDelivery` (tear down convoy, close phase, complete quest, toast). - Extend `normalizeEscort` to accept the new `delivering` phase. - `_escortDestinationObject` now returns the world's rendered radius so the landing slot can anchor just off the planet/station disc. - Add `escortArrivingToast` UI string for the "convoy inbound" moment. - Update escort-flow test to assert the delivering → delivered sequence and add a standalone repro script (`dev/escort-delivery-repro.mjs`). |
||
|---|---|---|
| .. | ||
| build | ||
| combat | ||
| comms | ||
| config | ||
| dev | ||
| economy | ||
| entities | ||
| galaxy | ||
| mining | ||
| quests | ||
| reputation | ||
| research | ||
| save | ||
| scan | ||
| scenes | ||
| ship | ||
| tether | ||
| ui | ||
| utils | ||
| vendor | ||
| vignettes | ||
| visuals | ||
| main.js | ||