A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.
Altalena: arming Irgun battalions costs 2 Arms (costs only, #2531) (#2995)
Eyal Golan61b9d205027a
diff --git a/changelog.d/2531-altalena-arms.md b/changelog.d/2531-altalena-arms.mdnew file mode 100644index 000000000..e6b3e42be--- /dev/null+++ b/changelog.d/2531-altalena-arms.md@@ -0,0 +1,5 @@+### Changed++- The Altalena card's choice now reaches the Arms stock: granting both of Begin's requests, arming Irgun battalions+ inside the IDF, costs 2 Arms. Enforcing the government's demand leaves Arms as it was, because a card about war+ dead may not raise a resource. The card's text is unchanged; the -2 is a design value awaiting the owner's approval.diff --git a/content/events/altalena.yaml b/content/events/altalena.yamlindex 6ee7bc098..ed721db55 100644--- a/content/events/altalena.yaml+++ b/content/events/altalena.yaml@@ -38,6 +38,11 @@ options:effects:- { target: security, delta: 0.015 }- { target: morale, delta: -0.05 }+ # No Arms effect (#2531). Owner, 9 November 2026: "Costs only (Recommended)"+ # (https://github.com/eyalgolan/statecraft-israel/issues/2531#issuecomment-6741172155): this war-casualties card may+ # not raise Arms (R-EFX-002). The rest of the cargo going to the IDF would be a gain, which the rule forbids, and the+ # text states no loss (force is only "if necessary"), so the smaller of the two allowed choices, 0, is kept.+ # Unsourced design value, proposed for the owner's approval.- id: compromise# Begin's second request, put on the table and rejected (en.wiki "Altalena Affair"; the Etzel account; the Izkor page# records the dispute over whether the arms went to the IDF as a whole or mainly to Irgun units).@@ -57,6 +62,11 @@ options:# Owner decision of 15 October 2026 (Q-EFX-3, "Add a real cost"; #375): a cost in another resource, a design value.# Arms landed for a private force while the first truce forbade bringing in war material (first_truce.yaml).- { target: intl_standing, delta: -0.02 }+ # Owner, 9 November 2026: "Costs only (Recommended)" (#2531,+ # https://github.com/eyalgolan/statecraft-israel/issues/2531#issuecomment-6741172155; R-EFX-002 allows a cost only).+ # Game assumption, not a sourced fact: arming the Irgun battalions draws on the national stock. -2 is an unsourced+ # design value, proposed for the owner's approval; no source on this card gives a quantity.+ - { target: arms, delta: -2 }sources:# Also the 15 June meeting and Ben-Gurion's diary of 16 June, for the window: en.wiki gives no footnote for them, and its# text matches the Etzel account below word for word.diff --git a/docs/gdd03-event-inventory.md b/docs/gdd03-event-inventory.mdindex 49663ac02..dc20bc4b6 100644--- a/docs/gdd03-event-inventory.md+++ b/docs/gdd03-event-inventory.md@@ -51,6 +51,7 @@ first-slice availability") describes; this file changes no exclusion.| `altalena` | `enforce` | `effects[1].morale` | -0.05 | `effects[1].morale` (same) | -0.05 | no || `altalena` | `compromise` | `effects[0].security` | -0.025 | `effects[0].security` (same) | -0.025 | no || `altalena` | `compromise` | `effects[1].intl_standing` | -0.02 | `effects[1].intl_standing` (same) | -0.02 | no |+| `altalena` | `compromise` | `effects[2].arms` | -2 | `effects[2].arms` (same) | -2 | no || `armistice_egypt` | `sign` | `set_rung` | set 2 | `set_rung` (same) | set 2 | no || `armistice_egypt` | `sign` | `effects[0].intl_standing` | 0.05 | `effects[0].intl_standing` (same) | 0.05 | no || `armistice_egypt` | `hold_out` | `set_rung` | set 4 | `set_rung` (same) | set 4 | no |@@ -186,7 +187,7 @@ first-slice availability") describes; this file changes no exclusion.| `ten_days` | `southern_front` | `unit_orders[0].kiryati` | go to (-3, 24) | `unit_orders[0].kiryati` (same, once its units are in place: R-ENEMY-007) | go to (-3, 24) | no || `ten_days` | `southern_front` | `unit_orders[1].carmeli` | go to (14, 6) | `unit_orders[1].carmeli` (same, once its units are in place: R-ENEMY-007) | go to (14, 6) | no |-138 rows: 41 cards under gdd-0.1, 41 under gdd-0.3.+139 rows: 41 cards under gdd-0.1, 41 under gdd-0.3.| Excluded card | gdd-0.3 loader with only this exclusion removed ||---|---|diff --git a/sim/Statecraft.Sim.Tests/Gdd03EventRulesTests.cs b/sim/Statecraft.Sim.Tests/Gdd03EventRulesTests.csindex ef548f3e2..2eaf60f1c 100644--- a/sim/Statecraft.Sim.Tests/Gdd03EventRulesTests.cs+++ b/sim/Statecraft.Sim.Tests/Gdd03EventRulesTests.cs@@ -542,7 +542,7 @@ public class Gdd03EventRulesTestsstatic readonly string[] SourceBytes ={"absorb_immigrants:95682d1835e8de59e3e69f56a9beb13ddf91447270a672d23eaff2523898fea1", // re-pinned for #1065 (reviewer comment matches the text), then for the stale reviewer comment (comment-only)- "altalena:83f547759e5a991e78c32240c2ee3551b9b8ad9acdad8c135621b56805895f8d", // re-pinned for #1065 (owner's native read; flag removed in 8fbcb2aff), then for the stale reviewer comment (comment-only)+ "altalena:e23501e5efab804b5a1e41edcbbb7e25bbaf46b73fe5675650ee46622a6853cd", // re-pinned for #1065 (owner's native read; flag removed in 8fbcb2aff), then for the stale reviewer comment (comment-only), then for #2531 (compromise's arms: -2 and comments on both options; no title, text or option text changed)"armistice_egypt:253a579e5de78fd3648b582b3f2329ca2947100df5568db74ff2a1819442a782", // re-pinned for #1065 (Beri's native Hebrew read), then for #2478's front_quiet key (no text, date, option or effect changed), then for #2551 (R-TURN-002: `from` a turn earlier and its comment)"armistice_jordan:fe65c03057dc670b096a8385478738b76fd7ebd200b4f5e7c281b94b0c48a8c4", // re-pinned for #1065 (Beri's native Hebrew read), then for #2478's front_quiet key (no text, date, option or effect changed), then for #2551 (R-TURN-002: `from` a turn earlier and its comment), then for `order: 1` and its comment (R-EVT-006: after Lebanon's card)"armistice_lebanon:5ce3ba85f056294691be4ac345896a3222a8898042491bbb989a281b8bc6a882", // re-pinned for #1065 (Beri's native Hebrew read), then for #2478's front_quiet key (no text, date, option or effect changed), then for #2551 (R-TURN-002: `from` a turn earlier and its comment)diff --git a/sim/Statecraft.Sim.Tests/WarEvents1948Tests.cs b/sim/Statecraft.Sim.Tests/WarEvents1948Tests.csindex 584588864..12491fc00 100644--- a/sim/Statecraft.Sim.Tests/WarEvents1948Tests.cs+++ b/sim/Statecraft.Sim.Tests/WarEvents1948Tests.cs@@ -334,4 +334,25 @@ public class WarEvents1948TestsAssert.All(e.Options, o => Assert.Contains(o.Effects, f => f.Target == "intl_standing" && f.Delta == -0.05));Assert.All(e.Options, o => Assert.True(o.Effects.Where(f => f.Target == "intl_standing").Sum(f => f.Delta) < 0, $"{o.Id} raises standing"));}++ /// <summary>R-EFX-001, R-EFX-002 (#2531; owner, 9 November 2026, "Costs only (Recommended)", issuecomment-6741172155):+ /// the Altalena options are+ /// about where the ship's arms go, so the Arms stock answers them, with costs only on this war-casualties card.+ /// Arming Irgun battalions inside the IDF costs 2 Arms; enforcing leaves the stock as it was.</summary>+ [Theory]+ [InlineData("compromise", -2)]+ [InlineData("enforce", 0)]+ public void TheAltalenaOptionsMoveTheArmsStockByCostsOnly(string option, int change)+ {+ var e = Get("altalena");+ Assert.All(e.Options, o => Assert.True(o.Effects.Where(f => f.Target == "arms").Sum(f => f.Delta) <= 0, $"{o.Id} raises Arms"));+ Assert.Equal(change, e.Options.Single(o => o.Id == option).Effects.Where(f => f.Target == "arms").Sum(f => f.Delta));+ var s = Simulation.NewGame(C, GoldenRun.Seed, Mode.Historical);+ s.Date = e.From; s.Arms = 10; s.PendingEvents.Add("altalena");+ var why = new List<Cause>();+ Assert.Null(EventSystem.Choose(C, s, "altalena", option, why));+ Assert.Equal(10 + change, s.Arms);+ if (change == 0) Assert.DoesNotContain(why, w => w.Target == "arms");+ else Assert.Contains(why, w => w.Target == "arms" && w.Delta == change);+ }}