From aa6f77372ffd15365054bfa3d1c44cc110659383 Mon Sep 17 00:00:00 2001 From: Quintine <15965533+Quintine@users.noreply.github.com> Date: Tue, 27 Oct 2026 23:57:01 +1100 Subject: [PATCH] Support Truthtrance on Atreides auction inspection --- components/mixed-shipment-fields.tsx | 4 +- components/truthtrance-knowledge.tsx | 17 +++++- docs/CURRENT_STATUS.md | 9 +++ docs/IMPLEMENTATION_STATUS.md | 11 ++++ docs/RULE_DECISIONS.md | 9 +++ docs/TRUTHTRANCE_KNOWLEDGE.md | 20 ++++++ game/reference.ts | 9 +-- game/truthtrance-knowledge.ts | 21 ++++++- ...truthtrance-auction-peek-knowledge.test.ts | 61 +++++++++++++++++++ .../truthtrance-auction-peek-runtime.test.ts | 60 ++++++++++++++++++ tests/truthtrance-knowledge-controls.test.tsx | 18 +++++- 11 files changed, 228 insertions(+), 11 deletions(-) create mode 100644 tests/truthtrance-auction-peek-knowledge.test.ts create mode 100644 tests/truthtrance-auction-peek-runtime.test.ts diff --git a/components/mixed-shipment-fields.tsx b/components/mixed-shipment-fields.tsx index b5c755fb..de18c25e 100644 --- a/components/mixed-shipment-fields.tsx +++ b/components/mixed-shipment-fields.tsx @@ -66,6 +66,7 @@ export function TruthFactFields({ value: fact, game, target, onChange }: { stormDial: { kind: 'stormDial', compare: 'gte', value: 0 }, stormForecast: { kind: 'stormForecast', compare: 'gte', value: 1 }, spicePeek: { kind: 'spicePeek', value: 'worm' }, + auctionPeek: { kind: 'auctionPeek', name: 'Shield' }, spice: { kind: 'spice', compare: 'gte', value: 6 }, forceCount: { kind: 'forceCount', zone: { kind: 'reserves' }, counter: 'total', compare: 'gte', value: 6 }, noFieldValue: { kind: 'noFieldValue', value: 3 }, @@ -85,6 +86,7 @@ export function TruthFactFields({ value: fact, game, target, onChange }: { + @@ -100,7 +102,7 @@ export function TruthFactFields({ value: fact, game, target, onChange }: { : fact.kind === 'noFieldValue' ? : fact.kind === 'forceCount' ? player.id === target)!} onChange={onChange} /> : - fact.kind === 'prediction' || fact.kind === 'stormDial' || fact.kind === 'stormForecast' || fact.kind === 'spicePeek' ? + fact.kind === 'prediction' || fact.kind === 'stormDial' || fact.kind === 'stormForecast' || fact.kind === 'spicePeek' || fact.kind === 'auctionPeek' ? : fact.kind === 'spice' ? <>