Compose Planetologist movement with Ornithopter flights

This commit is contained in:
Quintine committed 2026-10-26 09:53:21 +11:00
1 parent 90c50736f2
commit 4af90e547c
24 files changed
+1607 -50

No files matched your search

+3 -1
View File
@@ -103,6 +103,7 @@ export function botGroundMoveAllowed(
to: string,
elite: number,
planetologist?: PlanetologistMoveMode,
fixedRange?: 3,
) {
const source = splitLocation(from),
target = splitLocation(to);
@@ -130,7 +131,8 @@ export function botGroundMoveAllowed(
)
)
return false;
return groundMoveRouteDistance(g, p, from, to) <= botMovementRange(g, p, elite, planetologist);
return groundMoveRouteDistance(g, p, from, to) <=
(fixedRange ?? botMovementRange(g, p, elite, planetologist));
}
/** Fremen reinforcement radius is static territory geometry, not a ground route. */
export function fremenReserveEntry(to: string) {