Implement Tleilaxu and Ixian Nexus Cunning with durable private recovery
This commit is contained in:
1 parent
d5830d260c
commit
40912498b1
32 files changed
+2761
-24
No files matched your search
@@ -0,0 +1,22 @@
|
||||
import assert from 'node:assert/strict';
|
||||
import {
|
||||
nexusTraitorFixture,
|
||||
nexusTraitorInventory,
|
||||
} from './fixture-nexus-traitors';
|
||||
|
||||
/** The final Tleilaxu roster and physical components come from genuine setup.
|
||||
* Only the conserved held Nexus card and revealed-card checkpoint are staged. */
|
||||
export function nexusFaceDancerFixture(revealed = 2) {
|
||||
const g = nexusTraitorFixture({ ownerFaction: 'tleilaxu' });
|
||||
const cards = g.nexusCards!.cards!;
|
||||
const index = cards.deck.indexOf('tleilaxu');
|
||||
assert.ok(index >= 0);
|
||||
assert.equal(cards.hands.p, 'harkonnen');
|
||||
cards.deck[index] = 'harkonnen';
|
||||
cards.hands.p = 'tleilaxu';
|
||||
g.players[0].faceDancers!.forEach((card, i) => {
|
||||
card.revealed = i < revealed;
|
||||
});
|
||||
nexusTraitorInventory(g);
|
||||
return g;
|
||||
}
|
||||
Reference in new issue
Block a user