Expand Basic Semuta and Truthtrance rules
Verify and publish checkpoint container / container (push) Canceled after 0s

This commit is contained in:
Quintine committed 2026-10-29 05:57:46 +11:00
1 parent 7e6e8c2d12
commit 4f990db52e
13 files changed
+351 -12

No files matched your search

+3 -2
View File
@@ -67,6 +67,7 @@ import { Input } from '@/components/ui/input';
import { CHEAP_HERO_TRAITOR } from '@/game/traitors';
import { parseFreeformFactV2 } from '@/game/truthtrance-freeform-facts-v2';
import { parseFreeformFactV3 } from '@/game/truthtrance-freeform-facts-v3';
import { parseFreeformFactV4 } from '@/game/truthtrance-freeform-facts-v4';
import {
truthQuestionText,
type TruthFact,
@@ -960,9 +961,9 @@ export function Truthtrance({
placeholder="Will you ship at least six forces to Carthag this turn?"
/>
</label>
{scope === 'fact' && (parseFreeformFactV2(text) || parseFreeformFactV3(text)) ? (
{scope === 'fact' && (parseFreeformFactV2(text) || parseFreeformFactV3(text) || parseFreeformFactV4(text)) ? (
<p className="notice" aria-label="Recognized freeform question">
This will be checked as: {truthQuestionText({ kind: 'fact', target, fact: (parseFreeformFactV2(text) || parseFreeformFactV3(text))! }, leaderName, locationName, name)}
This will be checked as: {truthQuestionText({ kind: 'fact', target, fact: (parseFreeformFactV2(text) || parseFreeformFactV3(text) || parseFreeformFactV4(text))! }, leaderName, locationName, name)}
</p>
) : (
<p className="notice">