Implement Homeworld mechanics through Caladan reinforcement checkpoint
Connect typed Homeworld custody, transport, battle, income, revival and Caladan reinforcement flows with private multiplayer recovery and controls. Preserve the optimized test workflow and keep unfinished rules modes gated. Verified with 3682 offline tests, typecheck, lint, production build and 40 HTTP tests; existing saved games remain unchanged.
This commit is contained in:
1 parent
3be49512f7
commit
28ba1618ba
266 files changed
+47680
-16851
No files matched your search
@@ -414,22 +414,17 @@ void test('Sabotage refuses exceptional recipient overflow but leaves a safe opt
|
||||
|
||||
void test('stale Terror turn or phase metadata cannot settle a persisted decision', () => {
|
||||
const offered = enter();
|
||||
for (const field of ['turn', 'phase'] as const) {
|
||||
const stale = reload(offered);
|
||||
stale.pendingTerrorEntry![field]--;
|
||||
rejected(
|
||||
stale,
|
||||
'm',
|
||||
{ type: 'decision', decline: true },
|
||||
/no longer current/,
|
||||
);
|
||||
rejected(
|
||||
stale,
|
||||
'm',
|
||||
{ type: 'decision', reveal: true },
|
||||
/no longer current/,
|
||||
);
|
||||
}
|
||||
for (const signed of [true, false])
|
||||
for (const field of ['turn', 'phase'] as const) {
|
||||
const stale = reload(offered);
|
||||
if (!signed) delete stale.pendingTerrorEntry!.entrySignature;
|
||||
stale.pendingTerrorEntry![field]--;
|
||||
const reason = signed
|
||||
? /original public arrival receipt/
|
||||
: /no longer current/;
|
||||
rejected(stale, 'm', { type: 'decision', decline: true }, reason);
|
||||
rejected(stale, 'm', { type: 'decision', reveal: true }, reason);
|
||||
}
|
||||
});
|
||||
|
||||
void test('resolved Truthtrance can satisfy Robbery overflow without leaving a stale forced discard', () => {
|
||||
|
||||
Reference in new issue
Block a user