Connect Basic allied reserve shipment and provisional departure policy

This commit is contained in:
Quintine committed 2026-10-08 08:53:44 +11:00
1 parent fbbfabb404
commit d3a09a95fe
9 files changed
+180 -6

No files matched your search

+2
View File
@@ -37,6 +37,7 @@ export function territoryEntryBlock(
playerId: string,
to: string,
advisors = false,
temporaryAlliedShipment = false,
): string | null {
// Validate the complete identity roster even for an empty destination.
ecazOccupancyIdentity(players, playerId, { kind: 'territory', id: to });
@@ -44,6 +45,7 @@ export function territoryEntryBlock(
const player = players.find((p) => p.id === playerId)!;
const ally = players.find((p) => p.id === player.ally);
if (
!temporaryAlliedShipment &&
to !== 'polar_sink' &&
ally &&
presenceAt(ally, to) > 0 &&