Seal exact native Homeworld Reinforcements costs and plan sources

This commit is contained in:
Quintine committed 2026-10-16 13:07:49 +11:00
1 parent 05c4c8c7fb
commit c64c08af89
32 files changed
+1484 -119

No files matched your search

-12
View File
@@ -12,8 +12,6 @@ import {
weaponKills,
} from '../game/battle-cards';
import { portableSnooperPlanBlock } from '../game/portable-snooper';
import { parsePlanClaim } from '../game/battle-promises';
import { TRUTH_CARD_NAMES } from '../game/truthtrance';
import type { Plan } from '../game/engine';
const portable = richeseCards().find((c) => c.effect === 'portableSnooper')!;
@@ -110,13 +108,3 @@ void test('late eligibility obeys forbidden poison defense while preserving unre
null,
);
});
void test('structured Truthtrance and plan questions include canonical Richese card identities', () => {
assert.ok(TRUTH_CARD_NAMES.includes(portable.name));
assert.deepEqual(
parsePlanClaim({ kind: 'defense', name: portable.name }, []),
{ kind: 'defense', name: portable.name },
);
assert.throws(() =>
parsePlanClaim({ kind: 'defense', name: 'Invented Snooper' }, []),
);
});