Support Advanced No-Field reveal during foreign movement
Verify and publish checkpoint container / container (push) Successful in 13m13s
Verify and publish checkpoint container / container (push) Successful in 13m13s
This commit is contained in:
1 parent
ee8ec0a84e
commit
51c48e371b
8 files changed
+316
-9
No files matched your search
@@ -5,9 +5,10 @@ import { presenceAt } from './force-presence';
|
||||
export type MovementPending = 'pendingFremenMove' | 'pendingIxMove' | 'pendingChoamMove';
|
||||
type MovementOrder = NonNullable<Game['pendingIxMove']>;
|
||||
|
||||
/** Identify a single, well-formed ordinary Basic movement awaiting its native reaction. */
|
||||
export function basicPendingMovement(g: Game): { key: MovementPending; player: string } | null {
|
||||
if (g.status !== 'playing' || g.advanced || g.phase !== 5 ||
|
||||
/** Identify a single, well-formed ordinary movement awaiting its native reaction.
|
||||
* Existing Basic callers retain their mode fence unless they explicitly opt in. */
|
||||
export function basicPendingMovement(g: Game, options?: {allowAdvanced?: boolean}): { key: MovementPending; player: string } | null {
|
||||
if (g.status !== 'playing' || (g.advanced && !options?.allowAdvanced) || g.phase !== 5 ||
|
||||
!Number.isSafeInteger(g.turn) || g.turn < 1 || g.phaseOpening || g.truthtrance ||
|
||||
g.ornithopter || g.choamMarket || !Array.isArray(g.players)) return null;
|
||||
|
||||
|
||||
+1
-1
@@ -1143,7 +1143,7 @@ export const RULE_TOPICS: RuleTopic[] = [
|
||||
'In supported Basic native games, voluntary revelation is also available during an Ix phase opening or selected auction and market decisions without replacing that decision. Other interruption windows remain unfinished.',
|
||||
'In supported Basic games, your voluntary reveal can also interrupt a clean Emperor allied spice gift or extra-revival response, Tleilaxu revival-income response, Atreides Movement-phase Spice forecast without Bene Gesserit, or Guild’s own ordinary reserve-shipment rate response when the shipment enters a different territory from the marker. If Richese receives the extra revival, reveal from current reserves before that return. The original response and payment continue once; other interruptions remain guarded.',
|
||||
'An active public agreement does not by itself prevent a supported reveal. Existing current-turn travel and other binding commitments still retain their separate safeguards, and a reveal does not settle or cancel a payment.',
|
||||
'During supported Basic games you can also reveal while another faction’s ordinary movement waits for a Fremen or Ixian response or a CHOAM decision. The original move and its response remain pending; a zero No-Field disappears without creating physical forces.',
|
||||
'During supported Basic or Advanced games you can also reveal while another faction’s ordinary movement waits for a Fremen or Ixian response or a CHOAM decision. The original move and its response remain pending; a zero No-Field disappears without creating physical forces. An Advanced Bene Gesserit movement into the marker’s own territory remains guarded while its arrival stance is unresolved.',
|
||||
'These supported clean Basic interruptions also work with the Ecaz/Moritani deck and native factions. A token already present does not enter again when it is revealed; pending Ambassador and Terror reactions keep their own controls.',
|
||||
'Provisional Guild transport treats your owned concealed marker as one billable force alongside any same-origin physical counters. Native Guild allies may cross-ship it through the normal permission and rate responses. The actual absent-Guild Secret Ally may cross-ship or return it face down, spending its Nexus once and paying the Bank. Cross keeps concealment; return creates no denomination-sized reserve deposit and retains the same-token next-shipment ban. Ordinary Guild allies cannot return. Select the marker separately from physical counters; ordinary movement remains available.',
|
||||
'In supported native Homeworld games, you may provisionally ship one concealed No-Field from your supply to a foreign non-allied Homeworld, alone or with physical forces from those reserves. Advanced also permits a fresh marker-only placement on your own Homeworld for one spice; physical reserves are already there and cannot accompany it. On a later turn, you may ship that same concealed marker between distinct eligible Homeworlds, alone or with selected physical Richese counters from the marker’s current World; its own Homeworld is an eligible endpoint only in Advanced. Price the whole moving group as one plus those counters; a purchased Guild rate halves the total, rounding up once. The marker retains its identity and last-shipment history, and its value does not materialize until reveal; available reserves are placed there unless it is already on its own World, where the physical pool stays unchanged. Only one marker may be deployed globally. Optional-module combinations remain unavailable. The supplied revised rulebook permits World-to-World shipment (physical p. 22) and counts a concealed marker as one force for effects (physical p. 36), but does not settle its off-board source or native-world physical representation; this placement is provisional.',
|
||||
|
||||
@@ -12,6 +12,12 @@ export function richeseRevealForeignMovementPending(g: Game): MovementPending |
|
||||
const deployed = richese?.noField?.deployed;
|
||||
if (!richese || !deployed || deployed.controller !== richese.id ||
|
||||
!deployed.location || !('territory' in deployed.location)) return null;
|
||||
const movement = basicPendingMovement(g);
|
||||
const movement = basicPendingMovement(g, {allowAdvanced:true});
|
||||
// A zero marker can remove the only other faction at a BG destination.
|
||||
// Preserve the already selected Advanced arrival stance for all hidden
|
||||
// marker values until that special continuation can be re-quoted.
|
||||
if (g.advanced && movement?.key === 'pendingChoamMove' &&
|
||||
g.players.find(player => player.id === movement.player)?.faction === 'beneGesserit' &&
|
||||
g.pendingChoamMove?.to === deployed.location.territory) return null;
|
||||
return movement && movement.player !== richese.id ? movement.key : null;
|
||||
}
|
||||
Reference in new issue
Block a user