Add freeform No-Field and auction facts
Verify and publish checkpoint container / container (push) Canceled after 0s

This commit is contained in:
Quintine committed 2026-10-29 18:53:48 +11:00
1 parent 593ff33ca8
commit 152476c348
10 files changed
+387 -4

No files matched your search

+2 -1
View File
@@ -72,6 +72,7 @@ import { parseFreeformFactV4 } from '@/game/truthtrance-freeform-facts-v4';
import { parseTruthFreeformFactsV5 } from '@/game/truthtrance-freeform-facts-v5';
import { parseFreeformFactV6 } from '@/game/truthtrance-freeform-facts-v6';
import { parseTruthFreeformFactsV7 } from '@/game/truthtrance-freeform-facts-v7';
import { parseTruthFreeformFactsV8 } from '@/game/truthtrance-freeform-facts-v8';
import {
truthQuestionText,
type TruthFact,
@@ -113,7 +114,7 @@ export function FreeformFactPreview({ scope, text, target, leaderName, locationN
}) {
const fact = scope === 'fact' ? parseFreeformFactV2(text) || parseFreeformFactV3(text) ||
parseFreeformFactV4(text) || parseTruthFreeformFactsV5(text) || parseFreeformFactV6(text) ||
parseTruthFreeformFactsV7(text) : null;
parseTruthFreeformFactsV7(text) || parseTruthFreeformFactsV8(text) : null;
return fact ? <p className="notice" aria-label="Recognized freeform question">
This will be checked as: {truthQuestionText({ kind: 'fact', target, fact }, leaderName, locationName, playerName)}
</p> : <p className="notice">