Support Sapho ordering for shared arrivals
Verify and publish checkpoint container / container (push) Canceled after 0s

This commit is contained in:
Quintine committed 2026-10-29 05:29:51 +11:00
1 parent b18a767470
commit e457478f7d
18 files changed
+808 -23

No files matched your search

+7
View File
@@ -4358,6 +4358,13 @@ export function botActions(g: GameView): Action[] {
return g.status === 'playing' && !g.roomControl?.paused && !g.roomControl?.closed && !g.automaticContinuationPending
? policyActions(g) : [];
if (g.homeworldTupileBlocked) return [];
if (g.saphoArrivalOrder) {
const own = g.players.find(player => player.id === g.me), order = g.saphoArrivalOrder;
return (own?.bot || own?.autopilot) && g.status === 'playing' &&
!g.roomControl?.paused && !g.roomControl?.closed && !g.automaticContinuationPending &&
order.order.includes(g.me) && !order.passed.includes(g.me)
? [{type: 'arrivalOrderPass', event: order.event, revision: order.revision}] : [];
}
const dealPayer = g.players.find(player => player.id === g.me);
if ((dealPayer?.bot || dealPayer?.autopilot) && g.status === 'playing' &&
!g.roomControl?.paused && !g.roomControl?.closed && !g.automaticContinuationPending) {