Expand recognized Truthtrance fact questions
Verify and publish checkpoint container / container (push) Canceled after 0s
Verify and publish checkpoint container / container (push) Canceled after 0s
This commit is contained in:
1 parent
8ae275f598
commit
9dd386ff7a
11 files changed
+279
-16
No files matched your search
@@ -64,7 +64,7 @@ import { useId, useState } from 'react';
|
||||
import { Button } from '@/components/ui/button';
|
||||
import { Input } from '@/components/ui/input';
|
||||
import { CHEAP_HERO_TRAITOR } from '@/game/traitors';
|
||||
import { parseFreeformFactV1 } from '@/game/truthtrance-freeform-facts';
|
||||
import { parseFreeformFactV2 } from '@/game/truthtrance-freeform-facts-v2';
|
||||
import {
|
||||
truthQuestionText,
|
||||
type TruthFact,
|
||||
@@ -947,9 +947,9 @@ export function Truthtrance({
|
||||
placeholder="Will you ship at least six forces to Carthag this turn?"
|
||||
/>
|
||||
</label>
|
||||
{scope === 'fact' && parseFreeformFactV1(text) ? (
|
||||
{scope === 'fact' && parseFreeformFactV2(text) ? (
|
||||
<p className="notice" aria-label="Recognized freeform question">
|
||||
This will be checked as: {truthQuestionText({ kind: 'fact', target, fact: parseFreeformFactV1(text)! }, leaderName, locationName, name)}
|
||||
This will be checked as: {truthQuestionText({ kind: 'fact', target, fact: parseFreeformFactV2(text)! }, leaderName, locationName, name)}
|
||||
</p>
|
||||
) : (
|
||||
<p className="notice">
|
||||
|
||||
Reference in new issue
Block a user