Bind Truthtrance shipments before respondent turns
Admit supported active or originally queued unused shipments during the current Shipment & Movement phase. Answering preserves the real active player and queue; private future reachability uses owned resources, joint whole promises and the actual respondent profile. Hide executable guidance until that owner is active. Keep native Guild WAIT/TAKE, frozen mixed facts, interception, costs and actual delivery. Do not release a waiting promise while another declaration is unresolved or count its approved ally contribution as freely recoverable. Before response declaration, reject Emperor gifts or optional BG accompaniment that remove the last legal completion; affordable options remain legal. Minimal AI declines optional accompaniment while bound rather than attempting to spend required reserves. No strategy tuning or new profile/module/earlier-phase opening. Validation and exact frozen-source evidence are recorded in the canonical Truthtrance shipment contract. Three real public Basic/Advanced programmes use original unopened starting deals, paid intervening turns and a later Emperor or native out-of-order Guild fulfillment. Four minimal policies answer while waiting and ship only on their actual turn. Controlled funding, temporary price, gift and advisor probes remain separate. Existing stale scope fixtures and two type declarations were repaired during feedback. Earlier phases, broader modules/actions, full Truthtrance/modes, final assurance and browser/deployed acceptance remain open. No saved-room/database/reset/restart/deployment operation.
This commit is contained in:
1 parent
2939ffa900
commit
ae2d0371ce
16 files changed
+745
-56
No files matched your search
@@ -62,6 +62,10 @@ export function ShipmentPromises({
|
||||
id="shipment-promise-guidance"
|
||||
>
|
||||
<h3>Your shipment promises</h3>
|
||||
{g.active !== g.me && <p>
|
||||
Your shipment turn is still ahead. This answer stays binding while
|
||||
other players finish; shipment actions become available on your turn.
|
||||
</p>}
|
||||
<ul>
|
||||
{promises.map((p, index) => (
|
||||
<li key={index}>
|
||||
|
||||
@@ -11,7 +11,6 @@ import type { MixedShipmentExpression } from '@/game/mixed-shipment-question';
|
||||
import type { PlanClaim } from '@/game/battle-promises';
|
||||
import { useId, useState } from 'react';
|
||||
import { Button } from '@/components/ui/button';
|
||||
import { shipmentAvailable as targetShipmentAvailable } from '@/game/shipment-opportunity';
|
||||
import { CHEAP_HERO_TRAITOR } from '@/game/traitors';
|
||||
import {
|
||||
truthQuestionText,
|
||||
@@ -67,14 +66,7 @@ export function Truthtrance({
|
||||
});
|
||||
const invalidMixed = mixedShipmentInputError(mixed, g, target);
|
||||
const invalidShipment = shipmentClauses.slice(0, shipmentJoin === 'single' ? 1 : 2).some(invalidShipmentClause);
|
||||
const shipmentAvailable =
|
||||
g.truthShipmentSupported &&
|
||||
g.phase === 5 &&
|
||||
g.active === target &&
|
||||
targetShipmentAvailable(g, {id:target,shipped:g.players.find(p => p.id === target)?.shipped ?? false}) &&
|
||||
!g.response &&
|
||||
!g.decision &&
|
||||
!g.phaseOpening;
|
||||
const shipmentAvailable = g.truthShipmentTargets.includes(target);
|
||||
const [planClauses, setPlanClauses] = useState<PlanClaim[]>([
|
||||
{ kind: 'dial', compare: 'gte', value: 1 },
|
||||
{ kind: 'weapon', name: null },
|
||||
@@ -360,11 +352,12 @@ export function Truthtrance({
|
||||
</p>
|
||||
{!shipmentAvailable && (
|
||||
<p className="notice">
|
||||
Automatic enforcement currently supports the active
|
||||
player’s unused ordinary shipment in Basic or Advanced
|
||||
Automatic enforcement supports an unused shipment this
|
||||
phase, including a player still waiting for their turn,
|
||||
in Basic or Advanced
|
||||
base rules, including the Guild, or a
|
||||
classic payer in the Richese Semuta profile. Select
|
||||
that player and finish pending decisions first.
|
||||
an eligible player and finish pending decisions first.
|
||||
Native No-Field shipments and other rules configurations
|
||||
remain unfinished.
|
||||
</p>
|
||||
|
||||
Reference in new issue
Block a user