feat(#60): nuclear/WMD — capability flag + strikes (region → no-man's-land, nation collapse + war capitulation, MAD retaliation) (v0.37.0)
CI / build + unit + e2e (pull_request) Successful in 2m33s

This commit is contained in:
2026-10-15 19:17:26 +00:00
parent 0fd8981452
commit 31182c8730
8 changed files with 858 additions and 25 deletions
+8
View File
@@ -72,6 +72,14 @@ export interface Nation {
stats: NationStats;
territory: string[];
relations: Record<string, RelationStatus>;
/**
* Whether the nation controls nuclear weapons (v0.37, #60). Optional — a
* legacy game loaded from SQLite has no flag, which means "not nuclear".
* A nation is *nuclear-capable* (for the `nuclear` lever and MAD
* retaliation) when this is `true` OR it owns a `rocket` marker (see
* `isNuclearCapable` in `protocol.ts`).
*/
nuclear?: boolean;
}
/** Categories a narrative event can take. */