Prototype Richese No-Fields on foreign Homeworlds

This commit is contained in:
Quintine committed 2026-10-28 20:04:03 +11:00
1 parent dd3c199e2e
commit 850227c26d
71 files changed
+1806 -187

No files matched your search

+2 -1
View File
@@ -2,6 +2,7 @@ import type { Player } from './engine';
import { advisorStanceAfterSettlement } from './advisor-automatic-flip';
import type { ForcePresence } from './force-presence';
import { presenceByLocation } from './force-presence';
import { isHomeworldNoFieldLocation } from './richese-no-field';
import { fighterCount, isAdvisor } from './advisors';
import { quoteAidRefunds, PhaseResourceError } from './phase-resource-quote';
import { ecazOccupancyIdentity } from './ecaz-occupy';
@@ -74,7 +75,7 @@ export function settledBoard(g: BoardContext) {
const marker = p.noField?.deployed?.location;
if (marker)
requireBoard(
validGameLocation(g, marker.territory, marker.sector),
isHomeworldNoFieldLocation(marker) || validGameLocation(g, marker.territory, marker.sector),
'The No-Field needs a valid board location.',
);
}