Refuel-for-flight should add +50% on top of the required amount #71

Closed
opened 2026-09-21 09:51:38 +02:00 by kamilkrzywda · 0 comments
Owner

The per-leg "Refuel for flight" action in the On board panel currently buys exactly the fuel needed for that leg.

Change it to buy 150% of the required amount (required × 1.5), so burn variance from maintenance and weather (ISS-069, ISS-070) doesn't strand planes mid-route.

Implementation notes:

  • Update the movement math (lib/sim/movement.ts) and any UI preview text that shows the refuel amount/cost.
  • Unit tests for the new formula; e2e where observable in UI. CI-only e2e per AGENTS.md.
The per-leg "Refuel for flight" action in the On board panel currently buys exactly the fuel needed for that leg. Change it to buy **150% of the required amount** (required × 1.5), so burn variance from maintenance and weather (ISS-069, ISS-070) doesn't strand planes mid-route. Implementation notes: - Update the movement math (`lib/sim/movement.ts`) and any UI preview text that shows the refuel amount/cost. - Unit tests for the new formula; e2e where observable in UI. CI-only e2e per AGENTS.md.
kamilkrzywda added the enhancement label 2026-09-21 09:51:38 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: OpenCode/Flight-Ops#71