Skip to content

A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.

Content: the absorb-immigrants objective and its card (refs #1039) (#1055)

Beri2d10e7aea2ab
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 52aa29e21..54a2c2f61 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -27,6 +27,10 @@ adds a line under **Unreleased**; CI's `Changelog` job checks this (see `CONTRIB
population has reached a stated number and then the cities' overflow and employed shares are inside stated bounds
(R-OBJ-004; owner's option (a) on #738). The real objective and its card come with a person's source check, so no
content uses it yet and no golden moves (refs #738, #383).
+- The real "absorb the immigrants" objective and its card "One million": it completes once the Jewish population has
+ reached 1,000,000 with the cities' overflow at most 10% and their employed at least 40% (design values), with 20 December
+ 1949, Ingathering of the Exiles Day, as its reference date. Both JTA sources were checked by Beri on 18 October 2026.
+ No photograph (refs #1039, #738, #383).
- Farm and village life from MATKOT's 1948 Collection: three tractors by kibbutz fields, three horse wagons and three
draught horses by moshav and moshava fields, three flocks of five sheep and three donkeys by villages, and three camels
by Bedouin camp areas, each anchor chosen by a fixed hash and kept clear of the kits, routes, unit tokens, water,
diff --git a/content/events/absorb_immigrants.yaml b/content/events/absorb_immigrants.yaml
new file mode 100644
index 000000000..43be333e0
--- /dev/null
+++ b/content/events/absorb_immigrants.yaml
@@ -0,0 +1,25 @@
+# yaml-language-server: $schema=../schema/event.schema.json
+# The "absorb immigrants" completion card (objectives.yaml absorb_immigrants; docs/gdd/objective-card.md; R-OBJ-003,
+# R-OBJ-004). Q-ABS-1 (A): the Jewish population passes 1,000,000. Claims and their sources:
+# - 20 December 1949, Ingathering of the Exiles Day (Yom Kibbutz Galuyot), marked across Israel for the Jewish population
+# passing 1,000,000: JTA, 20 December 1949.
+# - The count of 1,000,000 announced with the arrival of 663 immigrants from Tripoli, 321,991 newcomers since 15 May 1948,
+# by the acting director of the Ministry of Immigration: JTA daily bulletin, 22 November 1949.
+# No photograph (Q-ABS-3: none usable found for option (A); a generic arrival photograph needs the owner's approval).
+id: absorb_immigrants
+title: One million
+text: 'On 20 December 1949 Israel marked Ingathering of the Exiles Day: its Jewish population had passed one million. A month earlier, with the arrival of 663 immigrants from Tripoli, the Ministry of Immigration had put the Jewish population at 1,000,000, with 321,991 newcomers since 15 May 1948.'
+anchor: soft
+objective: absorb_immigrants
+# The window is the founding era; the card fires only once the objective is completed (R-OBJ-003), whatever the date.
+from: 1948-05-15
+to: 1957-01-01
+options:
+ - id: continue
+ text: Continue
+ historical: true
+tags: []
+sources:
+ - { url: "https://www.jta.org/archive/israel-marks-ingathering-of-exiles-day-arrival-of-second-million-jews-anticipated", checked: 2026-10-18 }
+ - { url: "https://www.jta.org/archive/jewish-population-of-israel-peaches-1000000-with-arrival-of-new-tripoli-immigrants", checked: 2026-10-18 }
+status: fact-checked
diff --git a/content/objectives.yaml b/content/objectives.yaml
index b58805142..7e7349f46 100644
--- a/content/objectives.yaml
+++ b/content/objectives.yaml
@@ -1,7 +1,7 @@
# GDD v0.1 objectives (docs/GDD.md "Objectives" and "Historical events on objective completion"; docs/gdd/objective-card.md).
# Completing an objective records it, scores it and fires its card (R-OBJ-001 to R-OBJ-003); only the GDD loop completes one.
# Sourced facts and links only: the points and the timing bonus are design values in rules.yaml's mvp: block (D-B6 and D-B2,
-# #456). Phase 1 has one objective, the first new yishuv (D-A4).
+# #456). Phase 1 has two objectives, the first new yishuv (D-A4) and absorbing the immigrants (#738).
objectives:
- id: first_new_yishuv
name: First new yishuv
@@ -9,3 +9,15 @@ objectives:
# Mefalsim's founding, the ceremony of 12 June 1949 (sites.yaml has the sources). The loader refuses any other date.
reference_date: 1949-06-12
card: first_new_yishuv # content/events/first_new_yishuv.yaml
+ - id: absorb_immigrants
+ name: Absorb the immigrants
+ # R-OBJ-004 (D-B4; owner, 18 October 2026, #738, option (a)): once the Jewish population has reached the milestone,
+ # the cities' overflow is at most a share of the people they house and their employed at least a share of civilians.
+ completes_when:
+ absorbed:
+ population_at_least: 1000000 # Q-ABS-1's milestone: the Jewish population passes 1,000,000 (JTA, 22 November 1949)
+ overflow_at_most: 0.10 # DESIGN VALUE (Q-ABS-2, proposed, owner may override, #375): no comparable historical value
+ employed_at_least: 0.40 # DESIGN VALUE (Q-ABS-2): the 1948 national working share, 43.9% (CBS SA 2, Table 9), rounded down
+ # Ingathering of the Exiles Day, 20 December 1949 (JTA; content/events/absorb_immigrants.yaml has the sources).
+ reference_date: 1949-12-20
+ card: absorb_immigrants # content/events/absorb_immigrants.yaml
diff --git a/docs/event-images.md b/docs/event-images.md
index fd313fd4f..df8424405 100644
--- a/docs/event-images.md
+++ b/docs/event-images.md
@@ -1,10 +1,11 @@
# Event-card photographs
The event card's header picture, as in the promo (`promo/final/03-gameplay-1936.png`, `05-event-transit-camps.png`), is a
-real archival photograph of the event, never an AI image. 25 of the 32 events in `content/events/` have one. Seven
+real archival photograph of the event, never an AI image. 25 of the 33 events in `content/events/` have one. Seven
others show the responsible minister's portrait in the card's head, as before: `rhodes_talks`, `armistice_lebanon`,
`armistice_syria`, `sinai_withdrawal`, `education_registration_1951`, `reparations_claim` and `forex_crisis_1951`. No
-free photograph that fits them was found (for `sinai_withdrawal`, see the decisions below). The GDD objective card
+free photograph that fits them was found (for `sinai_withdrawal`, see the decisions below). `absorb_immigrants`, an
+objective card with no office, shows none (no photograph of it was found, Q-ABS-3, #1039). The GDD objective card
`first_new_yishuv` shows Mefalsim's first days (Boris Carmi, June 1949, CC BY 4.0; #380).
Owner ruling 2026-10-11 (summarised; recorded in `docs/CONTENT_POLICY.md` section 4):
diff --git a/docs/gdd/objective-card.md b/docs/gdd/objective-card.md
index 9d546ef6c..6939d1ba4 100644
--- a/docs/gdd/objective-card.md
+++ b/docs/gdd/objective-card.md
@@ -18,7 +18,7 @@ As a player of the MVP, I want completing an objective to show me the real event
## Data touched
-- `content/objectives.yaml` (`id`, `name`, `completes_when.site_built` or `completes_when.absorbed` with `population_at_least`, `overflow_at_most`, `employed_at_least`, `reference_date`, `card`), read in both loops when present: `first_new_yishuv` on Mefalsim.
+- `content/objectives.yaml` (`id`, `name`, `completes_when.site_built` or `completes_when.absorbed` with `population_at_least`, `overflow_at_most`, `employed_at_least`, `reference_date`, `card`), read in both loops when present: `first_new_yishuv` on Mefalsim, and `absorb_immigrants` on the Jewish population, overflow and employment (#1039).
- `content/events/first_new_yishuv.yaml`, the card: two sentences from the site's sources [S4][S5], `status: fact-checked`.
- An event's `objective` key (`content/schema/event.schema.json`, `docs/WRITING_EVENTS.md`).
- `rules.yaml` `mvp.objective_points`, `objective_bonus_per_month`, `objective_bonus_cap`, required in the GDD loop, as design values (R-LOOP-005). The score reads the rules of the date the turn starts from.
@@ -31,7 +31,7 @@ As a player of the MVP, I want completing an objective to show me the real event
## Out of scope
-- The war, absorption and railway objectives (Phase 2 and later); the card's photograph and its "completed on, historically" line in English and Hebrew (PR 7); the score on the HUD is already in (#598).
+- The war and railway objectives (Phase 2 and later); the card's photograph and its "completed on, historically" line in English and Hebrew (PR 7); the score on the HUD is already in (#598).
## Sources
diff --git a/sim/Statecraft.Sim.Tests/EventRetimingTests.cs b/sim/Statecraft.Sim.Tests/EventRetimingTests.cs
index 7e1da985d..ef914010f 100644
--- a/sim/Statecraft.Sim.Tests/EventRetimingTests.cs
+++ b/sim/Statecraft.Sim.Tests/EventRetimingTests.cs
@@ -25,9 +25,9 @@ public class EventRetimingTests
/// (a card raised at the new game comes on 15 May 1948), or null.</summary>
static DateTime? CardDate(string id) => Run.FirstOrDefault(s => s.FiredEvents.Contains(id))?.Date;
- /// <summary>#567 section 4 item 8: all 32 events fire in the historical monthly run (#567's 31 and the first new yishuv
- /// card, R-OBJ-003). Before the re-timing, sinai_withdrawal and rhodes_talks never fired (Horev's card came after both
- /// windows had closed). Since GDD Phase 4 PR 5 every event but hula_drainage, which needs the player's works (R-SWAMP-002).</summary>
+ /// <summary>#567 section 4 item 8: all but two of the 33 events fire in the historical monthly run (#567's 31, the first new yishuv
+ /// card, R-OBJ-003, and absorb_immigrants, #1039). Before the re-timing, sinai_withdrawal and rhodes_talks never fired (Horev's card came after both
+ /// windows had closed). Since GDD Phase 4 PR 5 every event but absorb_immigrants and hula_drainage, which needs the player's works (R-SWAMP-002).</summary>
[Fact]
public void EveryEventFiresInTheHistoricalMonthlyRun()
{
@@ -35,10 +35,11 @@ public class EventRetimingTests
// A consequence card (R-ALT-005) comes only on a road not taken, never in this run (R-ALT-012).
var record = C.Events.Where(e => e.Kind != EventKinds.Consequence).ToList();
// R-SWAMP-002: hula_drainage fires only while the player's works at the Hula are in progress, and the reference
- // player drains no swamp, so it is the one historical card the run never shows.
+ // player drains no swamp, so the run never shows it. absorb_immigrants (#1039) is raised only when its objective
+ // completes (R-OBJ-004), and the reference player never completes it in this run.
var missing = record.Select(e => e.Id).Where(id => CardDate(id) == null).ToList();
- Assert.True(missing.SequenceEqual(new[] { "hula_drainage" }), "never fired: " + string.Join(", ", missing));
- Assert.Equal(32, record.Count);
+ Assert.True(missing.SequenceEqual(new[] { "absorb_immigrants", "hula_drainage" }), "never fired: " + string.Join(", ", missing));
+ Assert.Equal(33, record.Count);
}
/// <summary>The card date of every event, from #567's tables (the "Proposed" column in the war period, "Monthly" after
diff --git a/sim/Statecraft.Sim.Tests/EventRulesGddTests.cs b/sim/Statecraft.Sim.Tests/EventRulesGddTests.cs
index 2623e4fd0..652dc45c7 100644
--- a/sim/Statecraft.Sim.Tests/EventRulesGddTests.cs
+++ b/sim/Statecraft.Sim.Tests/EventRulesGddTests.cs
@@ -262,9 +262,10 @@ options:
foreach (var e in C.Events)
{
// Every historical event fires in the run (EventRetimingTests) but hula_drainage, which waits for works the
- // reference player never starts (R-SWAMP-002); its options are read on the first turn of its window.
+ // reference player never starts (R-SWAMP-002), and absorb_immigrants, which waits for its objective (R-OBJ-004, #1039);
+ // their options are read on the first turn of their window.
var s = e.Kind != EventKinds.Consequence
- ? Run.FirstOrDefault(x => x.FiredEvents.Contains(e.Id)) ?? Run.First(x => e.Site != "" && x.Date >= e.From)
+ ? Run.FirstOrDefault(x => x.FiredEvents.Contains(e.Id)) ?? Run.First(x => (e.Site != "" || e.Objective != "") && x.Date >= e.From)
: AltRun.Play(C, AltRun.RoadTo(C, e)).First(x => x.FiredEvents.Contains(e.Id));
foreach (var o in e.Options)
{
diff --git a/sim/Statecraft.Sim.Tests/ObjectivesTests.cs b/sim/Statecraft.Sim.Tests/ObjectivesTests.cs
index 97b862a01..a5c34d6bd 100644
--- a/sim/Statecraft.Sim.Tests/ObjectivesTests.cs
+++ b/sim/Statecraft.Sim.Tests/ObjectivesTests.cs
@@ -247,7 +247,7 @@ eras:
[Fact]
public void TheObjectiveIsTheFirstNewYishuvAtMefalsim()
{
- var o = Assert.Single(Real.Objectives);
+ var o = Real.Objectives.Single(x => x.Id == "first_new_yishuv"); // absorb_immigrants is the other (#1039)
Assert.Equal(("first_new_yishuv", "mefalsim", "first_new_yishuv"), (o.Id, o.CompletesWhen!.SiteBuilt, o.Card));
Assert.Equal(Real.Sites.Single(x => x.Id == "mefalsim").Founded, o.ReferenceDate);
Assert.Equal(new DateTime(1949, 6, 12), o.ReferenceDate);
@@ -257,6 +257,19 @@ eras:
Assert.Empty(card.Tags);
}
+ // The real content: the absorb objective as #738 decides it (Q-ABS-1's 1,000,000; Q-ABS-2's 10% and 40%), its reference
+ // date Ingathering of the Exiles Day, and its card (#1039). Nothing else pins these values.
+ [Fact]
+ public void TheAbsorbObjectiveIsTheMillionMilestone()
+ {
+ var o = Real.Objectives.Single(x => x.Id == "absorb_immigrants");
+ var a = o.CompletesWhen!.Absorbed!;
+ Assert.Equal((1_000_000L, 0.10m, 0.40m), (a.PopulationAtLeast, a.OverflowAtMost!.Value, a.EmployedAtLeast));
+ Assert.Equal(new DateTime(1949, 12, 20), o.ReferenceDate);
+ Assert.Equal("absorb_immigrants", o.Card);
+ Assert.Equal("absorb_immigrants", Real.Events.Single(e => e.Id == o.Card).Objective);
+ }
+
// R-OBJ-001 to R-OBJ-003 in the golden run: the reference player builds Mefalsim on 15 March 1950, after its 12 June 1949
// founding, so the first new yishuv scores 100 with no early bonus (D-B2), and its card fires and is answered.
// Since GDD Phase 3 PR 1 the cities start with every job filled (Q-START-1), so the player trains its halutz group on the
@@ -284,14 +297,19 @@ eras:
var root = RealContentTests.ContentRoot();
var legacy = ContentLoader.Load(Fixture.Write(
new Dictionary<string, string> { ["objectives.yaml"] = System.IO.File.ReadAllText(System.IO.Path.Combine(root, "objectives.yaml")) },
- new Dictionary<string, string> { ["first_new_yishuv.yaml"] = System.IO.File.ReadAllText(System.IO.Path.Combine(root, "events", "first_new_yishuv.yaml")) }));
+ new Dictionary<string, string>
+ {
+ ["first_new_yishuv.yaml"] = System.IO.File.ReadAllText(System.IO.Path.Combine(root, "events", "first_new_yishuv.yaml")),
+ ["absorb_immigrants.yaml"] = System.IO.File.ReadAllText(System.IO.Path.Combine(root, "events", "absorb_immigrants.yaml")), // objectives.yaml's second card (#1039)
+ }));
Assert.False(legacy.IsGdd);
- Assert.Single(legacy.Objectives);
+ Assert.Equal(2, legacy.Objectives.Count);
var s = Simulation.NewGame(legacy, GoldenRun.Seed, Mode.Historical);
for (int i = 0; i < 40 && s.GameOver == null; i++)
{
s = Step(legacy, s).State;
Assert.DoesNotContain("first_new_yishuv", s.FiredEvents);
+ Assert.DoesNotContain("absorb_immigrants", s.FiredEvents);
}
Assert.Empty(s.Objectives);
Assert.Equal(0, s.Score);
@@ -315,23 +333,6 @@ eras:
static Content LoadAbsorb(string objectives = AbsorbYaml) => Load(gdd: true, new Dictionary<string, string> { ["objectives.yaml"] = objectives });
- /// <summary>The real content with the absorb objective as #738 decides it (Jewish population 1,000,000, overflow at most
- /// 10%, employed at least 40%), built in memory: its card is a person's to add (#738, card option (i)), and nothing here
- /// reads the card.</summary>
- static Content RealWithAbsorb()
- {
- var c = ContentLoader.Load(RealContentTests.ContentRoot());
- c.Objectives = c.Objectives.Append(new Objective
- {
- Id = "absorb_immigrants",
- Name = "Absorb the immigrants",
- CompletesWhen = new ObjectiveCondition { Absorbed = new AbsorbCondition { PopulationAtLeast = 1_000_000, OverflowAtMost = 0.10m, EmployedAtLeast = 0.40m } },
- ReferenceDate = D("1949-12-20"),
- Card = "absorb_immigrants",
- }).OrderBy(o => o.Id, StringComparer.Ordinal).ToList();
- return c;
- }
-
// R-OBJ-004: town_a houses 10 units and its people are civilians only, so overflow = civilians - 10. Each row is just
// inside or just outside one bound; the shares are "at or below" and "at or above".
[Theory]
@@ -371,7 +372,7 @@ eras:
[Fact]
public void TheStartValuesDoNotCompleteItOnTheFirstTurn()
{
- var c = RealWithAbsorb();
+ var c = Real;
var s = Step(c, Simulation.NewGame(c, GoldenRun.Seed, Mode.Historical)).State;
Assert.Equal(0, s.Cities.Values.Sum(x => x.Refugees));
Assert.Equal(0, s.Cities.Values.Sum(x => Cities.Overflow(s, x)));
@@ -384,7 +385,7 @@ eras:
[Fact]
public void ArrivalAloneDoesNotComplete()
{
- var c = RealWithAbsorb();
+ var c = Real;
var s = Simulation.NewGame(c, GoldenRun.Seed, Mode.Historical);
var passed = false;
while (s.GameOver == null)
diff --git a/unity/Assets/Tests/EditMode/EventImageMappingTests.cs b/unity/Assets/Tests/EditMode/EventImageMappingTests.cs
index 18750ea44..ffde8e807 100644
--- a/unity/Assets/Tests/EditMode/EventImageMappingTests.cs
+++ b/unity/Assets/Tests/EditMode/EventImageMappingTests.cs
@@ -19,8 +19,8 @@ public class EventImageMappingTests
static readonly Content C = ContentLoader.Load(Paths.Content);
static IReadOnlyList<EventImageMapping.Row> Rows => EventImageMapping.Parse(File.ReadAllText(EventImageMapping.Path));
- /// <summary>No free photograph was found for these (docs/event-images.md): they keep the minister's portrait plate.</summary>
- static readonly string[] Fallback = { "armistice_lebanon", "armistice_syria", "education_registration_1951", "forex_crisis_1951", "reparations_claim", "sinai_withdrawal", "rhodes_talks" };
+ /// <summary>No free photograph was found for these (docs/event-images.md): they keep the minister's portrait plate (absorb_immigrants, an objective card, has no photograph: Q-ABS-3, #1039).</summary>
+ static readonly string[] Fallback = { "armistice_lebanon", "armistice_syria", "education_registration_1951", "forex_crisis_1951", "reparations_claim", "sinai_withdrawal", "rhodes_talks", "absorb_immigrants" };
/// <summary>Photographs whose ASSETS.yaml row waits for the owner's sign-off (#380, "What needs maintainer sign-off"). When the
/// owner signs one off, its row becomes verified and its name leaves this list.</summary>
static readonly string[] AwaitingSignOff = { }; // first_new_yishuv signed off 17 Oct 2026 ("Approve both", #879; #913)