Support unused selected decks with Nexus and Discovery
Verify and publish checkpoint container / container (push) Canceled after 0s

This commit is contained in:
Quintine committed 2026-10-29 20:19:58 +11:00
1 parent c8dbd44975
commit 91d45d1dec
14 files changed
+405 -17

No files matched your search

+9 -1
View File
@@ -399,7 +399,15 @@ for (const fuelKind of ['special', 'shield'] as const) void test(
assert.equal(g.lastBattleContext!.winner, choam);
assert.deepEqual(combatArmy(g, choam, 'homeworld:guild'), { normal: 2, elite: 0 });
assert.equal(player(g, choam).tanks, player(before, choam).tanks + 1);
assert.equal(player(g, choam).spice, player(before, choam).spice - 2 + 1 + collectionIncome(g, choam));
// Finishing the battle can also open Collection: CHOAM's sole survivor
// earns Junction's separate occupied-World bank award.
const occupied = g.homeworldOccupiedIncomeHistory!.slice(before.homeworldOccupiedIncomeHistory!.length);
assert.equal(occupied.length, 1);
const junction = occupied[0].receipts.find(receipt => receipt.world === 'homeworld:guild');
assert.ok(junction?.status === 'settled');
assert.deepEqual(junction.credits, [{ player: choam, amount: 2 }]);
assert.equal(player(g, choam).spice, player(before, choam).spice - 2 + 1 +
collectionIncome(g, choam) + junction.credits[0].amount);
for (const token of tokens) assert.equal(g.techTokens![token].owner, choam);
inventory(g);
});