Implement Guild Nexus Cunning second shipment and recovery

This commit is contained in:
Quintine committed 2026-09-10 13:35:24 +10:00
1 parent 6ba1050a92
commit 90bf699627
27 files changed
+2657 -43

No files matched your search

+3 -2
View File
@@ -1,3 +1,4 @@
import { nexusGuildShipmentAvailable } from './nexus-guild-cunning-options';
import type { Action, GameView } from './engine';
import { HOMEWORLD_CARDS } from './homeworld-cards';
import { gameTerritories, MOBILE_LOCATION, splitLocation } from './board';
@@ -43,7 +44,7 @@ export function guildHomeworldShipmentChoice(
view.status !== 'playing' ||
view.phase !== 5 ||
view.active !== me.id ||
me.shipped
!nexusGuildShipmentAvailable(view)
) {
result.blocked = 'Use Guild transport during your unused shipment turn.';
return result;
@@ -148,7 +149,7 @@ export function guildHomeworldShipmentActions(
me.faction !== 'guild' ||
!view.guildHomeworldShipment ||
view.guildHomeworldShipment.blocked ||
me.shipped ||
!nexusGuildShipmentAvailable(view) ||
view.phase !== 5 ||
view.active !== me.id
)