Connect Semuta with native allied retention
Verify and publish checkpoint container / container (push) Canceled after 0s

This commit is contained in:
Quintine committed 2026-10-29 03:17:07 +11:00
1 parent 4ee4d9fa10
commit 59579486a4
7 files changed
+297 -6

No files matched your search

+2
View File
@@ -2,6 +2,7 @@ import assert from 'node:assert/strict';
import { applyAction, createGame, initializeSemutaGameForAudit, joinGame, newPlayer, viewGame, type Action, type Game } from '../game/engine';
import { botActions } from '../game/bots';
import { SEMUTA_DRUG_ID } from '../game/semuta-drug';
import { finishSemutaBattleOutcome } from './fixture-semuta-homeworld-choam';
export type SemutaIxStep = { actor: string; action: Action };
export interface SemutaIxFixture {
@@ -122,6 +123,7 @@ export function semutaIxLoserDiscardFixture(advanced = false): SemutaIxFixture {
assert.equal(game.decision?.kind, 'poisonTooth');
game = applyAction(game, f.winner, { type: 'decision', activate: true });
for (const actor of [f.winner, f.loser]) game = applyAction(game, actor, { type: 'traitorCall', call: false });
game = finishSemutaBattleOutcome(game);
return { ...f, game };
}