Enforce Atomics shipment ban across transport
Verify and publish checkpoint container / container (push) Successful in 10m7s

This commit is contained in:
Quintine committed 2026-10-29 03:03:18 +11:00
1 parent 4feb418488
commit 0f8e0b4153
17 files changed
+477 -19

No files matched your search

+4 -1
View File
@@ -18,6 +18,7 @@ import {
} from './homeworld-shipment-options';
import { liveShipmentPromises, matchesShipment } from './shipment-promises';
import { quoteAdvisorTransportMatching, AdvisorTransportMatchingError } from './advisor-transport-matching';
import { atomicsShipmentBlocked } from './moritani-atomics';
export function junctionTransportOrigins(view: GameView) {
const me = view.players.find((player) => player.id === view.me);
@@ -236,7 +237,9 @@ export function junctionTransportChoice(
arrival.territory,
result.advisors,
);
if (arrival.territory === MOBILE_STRONGHOLD && me.faction !== 'ixians')
if (atomicsShipmentBlocked(view.moritaniAtomics, arrival.territory))
result.blocked = 'Atomics Aftermath permanently blocks shipments into this territory.';
else if (arrival.territory === MOBILE_STRONGHOLD && me.faction !== 'ixians')
result.blocked =
'Only Ixians may ship directly into the mobile stronghold.';
else if (arrival.sector !== 0 && arrival.sector === view.storm)