A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.
Map: MATKOT's shikun model at Ramat HaHayal from 1 January 1951 (refs #707) (#1084)
Eyal Golan87979bf9c167
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 66930c5a7..a730a7336 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -19,6 +19,11 @@ adds a line under **Unreleased**; CI's `Changelog` job checks this (see `CONTRIBonly sourced `arab_town` rows of `settlements_1948.yaml` and ships empty until a person and the sensitivity reviewhave checked its rows. The state is written into the state hash only when set, so no golden moves (R-CTRL-001 toR-CTRL-003; refs #795).+- MATKOT's shikun housing model stands at Ramat HaHayal, Tel Aviv (Wikidata Q2776362), from 1 January 1951: most+ families moved in during 1950 (Balslev, Iyunim Bitkumat Israel 23, p. 247), and the owner ruled on 18 October 2026+ that the year-level date starts after that year. Like the other #707 buildings it draws only close up, streams after+ the first frame in `collection-special-buildings`, and keeps clear of the towns, routes, unit tokens, civilians and+ wildlife (refs #707, #1068).- The military unit record (GDD Phase 5 PR 2): a unit can hold a side, a strength and a standing order with its target,each written into the state hash only when set, so a halutz hashes as before and no golden moves. `unit_types.yaml`gains Israel's `veteran_soldier` (infantry), `artillery` and `armoured_car` (armour) with a `side` and a `class`; the@@ -42,8 +47,8 @@ adds a line under **Unreleased**; CI's `Changelog` job checks this (see `CONTRIBfrom 13 July 1948 and Netanya's industrial zone from 28 July 1950, clear of the towns, routes, unit tokens, civilians(#666) and wildlife (#670), with the kit trees on them left out. They are sized at the #700 buildings' one worldscale (24x real, an 8.5 m house as long as the steam train's locomotive), and stream after the first frame in a new- `collection-special-buildings` bundle with the shikun and the workshop, which stay unplaced until a place and date are- sourced (refs #707).+ `collection-special-buildings` bundle with the shikun and the workshop; the workshop stays unplaced until a place and+ date are sourced (refs #707).- The craftsman and the job default (GDD Phase 3 PR 5; R-CRAFT-001, R-CRAFT-002, R-CITY-009; #736): a civilian trainsas a craftsman in a city with a completed industry project (3 turns, IL 0.5m a group), fills an ordinary job slot andearns twice the job income, all labelled design values (Q-CRAFT-1 to Q-CRAFT-3). Each city's free jobs now fill on thediff --git a/unity/Assets/Scripts/Map/Collection/SpecialBuildingModels.cs b/unity/Assets/Scripts/Map/Collection/SpecialBuildingModels.csindex 5d0d643c6..05c3ac7bd 100644--- a/unity/Assets/Scripts/Map/Collection/SpecialBuildingModels.cs+++ b/unity/Assets/Scripts/Map/Collection/SpecialBuildingModels.cs@@ -10,8 +10,7 @@ namespace Statecraft.Game.Map.Collection{/// <summary>Issue #707: MATKOT's single-building models at sourced places. They use the collection stream after the/// first frame, draw only close up (#700's switch, TownModelLayer.CloseEnterM / CloseExitM), follow the game date and- /// fail open. b11 and b21 remain catalogued but unplaced until a named, dated shikun estate before 15 January 1952 and- /// an artisan-workshop location are sourced.</summary>+ /// fail open. b21 remains catalogued but unplaced until an artisan-workshop location is sourced.</summary>public sealed class SpecialBuildingModels : MonoBehaviour{public const string Name = "SpecialBuildingModels";@@ -60,7 +59,9 @@ namespace Statecraft.Game.Map.Collection/// use sites.yaml's sourced dates and coordinates. Netanya's industry: the Jerusalem Post report of 28 July 1950 in/// the Phase 4 sourcing note (waypoint N5) puts "the area set aside for the new industrial zone" at the town's/// entrance, and Netanya's Kiryat Eliezer Kaplan industrial zone was inaugurated in 1949 (en.wiki Netanya, checked- /// 18 October 2026).</summary>+ /// 18 October 2026). Ramat HaHayal's shikun: most of its families moved in during 1950 (Balslev, Iyunim Bitkumat+ /// Israel 23, p. 247, in the shikun research note), and the owner ruled on 18 October 2026 ("Ramat HaHayal, 1950",+ /// #1068) that the year-level date starts on 1 January 1951; its point is Wikidata Q2776362's (checked 2026-10-18).</summary>static readonly Want[] All ={new Want("latrun_tegart", Tegart, new DateTime(1948, 5, 15), 34.98139, 31.83194,@@ -69,6 +70,9 @@ namespace Statecraft.Game.Map.Collectionnew Want("camp_80_barracks", Barracks, new DateTime(1948, 7, 13), 34.9866, 32.4628, "content/sites.yaml: camp_80"),new Want("netanya_factory", Factory, new DateTime(1950, 7, 28), 34.8567, 32.3286,"research_notes/gdd-phase-4-sourcing.md: N5; https://en.wikipedia.org/wiki/Netanya (checked 2026-10-18)"),+ new Want("ramat_hahayal_shikun", Shikun, new DateTime(1951, 1, 1), 34.8365083, 32.1152583,+ "research_notes/Map/shikun-before-1952.md: 1 (Balslev, Iyunim Bitkumat Israel 23, p. 247, " ++ "https://in.bgu.ac.il/bgi/iyunim/23/yaron-balslev.pdf); https://www.wikidata.org/wiki/Q2776362 (checked 2026-10-18)"),};public static IReadOnlyList<Want> Placements(DateTime date) => All.Where(x => date >= x.From).ToList();diff --git a/unity/Assets/Tests/EditMode/SpecialBuildingModelsTests.cs b/unity/Assets/Tests/EditMode/SpecialBuildingModelsTests.csindex 3e3b933b8..3ae99780b 100644--- a/unity/Assets/Tests/EditMode/SpecialBuildingModelsTests.cs+++ b/unity/Assets/Tests/EditMode/SpecialBuildingModelsTests.cs@@ -30,7 +30,10 @@ namespace Statecraft.Game.Testsvar industry = SpecialBuildingModels.Placements(new DateTime(1950, 7, 28));Assert.AreEqual(1, industry.Count(x => x.Model == SpecialBuildingModels.Factory), "Netanya's sourced industrial zone");CollectionAssert.DoesNotContain(industry.Select(x => x.Model), SpecialBuildingModels.Workshop, "no sourced workshop placement");- CollectionAssert.DoesNotContain(industry.Select(x => x.Model), SpecialBuildingModels.Shikun, "no sourced named estate");+ CollectionAssert.DoesNotContain(SpecialBuildingModels.Placements(new DateTime(1950, 12, 31)).Select(x => x.Model),+ SpecialBuildingModels.Shikun, "Ramat HaHayal starts after the sourced year 1950");+ Assert.AreEqual(1, SpecialBuildingModels.Placements(new DateTime(1951, 1, 1))+ .Count(x => x.Model == SpecialBuildingModels.Shikun), "Ramat HaHayal on the owner-ruled year-level date");}[Test]@@ -102,7 +105,7 @@ namespace Statecraft.Game.Testsdone(found ? AssetDatabase.LoadAssetAtPath<GameObject>(CollectionCatalog.PrefabPath(id, CollectionDetail.Near)) : null);}- static readonly DateTime After = new DateTime(1950, 8, 1);+ static readonly DateTime After = new DateTime(1951, 1, 1);/// <summary>Each sourced model stands near its sourced point, clear of the towns' footprints (and so their labels),/// the routes, the unit tokens present from that day and each other, upright on the prefab's own axis conversion,@@ -121,10 +124,10 @@ namespace Statecraft.Game.Testsvar props = people.Wanted.Select(w => (new Vector2(w.At.x, w.At.z), CivilianPeople.FigureClearanceM)).Concat(WildlifeLayer.Wants(map).Select(w => (w.At, 0.5f * WildlifeLayer.SizeM))).ToList();var layer = SpecialBuildingModels.ShowAt(map, After)!;- CollectionAssert.AreEquivalent(new[] { SpecialBuildingModels.Tegart, SpecialBuildingModels.Barracks, SpecialBuildingModels.Factory },+ CollectionAssert.AreEquivalent(new[] { SpecialBuildingModels.Tegart, SpecialBuildingModels.Barracks, SpecialBuildingModels.Factory, SpecialBuildingModels.Shikun },asked.Select(a => a.id), "one request per placed model");AnswerAll();- CollectionAssert.AreEquivalent(new[] { "latrun_tegart", "tzrifin_barracks", "camp_80_barracks", "netanya_factory" }, layer.Placed.Select(p => p.Key));+ CollectionAssert.AreEquivalent(new[] { "latrun_tegart", "tzrifin_barracks", "camp_80_barracks", "netanya_factory", "ramat_hahayal_shikun" }, layer.Placed.Select(p => p.Key));var ground = PlacementLayer.CampGround(map);var footprints = map.KitFootprints.Select(f => (f.centre, f.radius)).ToList();var wants = SpecialBuildingModels.Placements(After).ToDictionary(w => w.Key);@@ -177,7 +180,7 @@ namespace Statecraft.Game.Tests/// <summary>The owner on v0.1.1 (18 October 2026): MATKOT's buildings were "way bigger then the train". The #707/// buildings stand at the #700 buildings' one world scale (an 8.5 m house as long as the steam train's locomotive car,- /// about 204 m: 24x real): the fort and the factory are 3 to 4 locomotive cars long, the barracks 2.5 to 3.25, and+ /// about 204 m: 24x real): the fort, the factory and the shikun are 3 to 4 locomotive cars long, the barracks 2.5 to 3.25, and/// none is longer than the whole service train (about 816 m).</summary>[Test]public void EveryModelIsSizedAgainstTheLocomotive()@@ -191,8 +194,9 @@ namespace Statecraft.Game.Testsvar bands = new Dictionary<string, (float lo, float hi)>{[SpecialBuildingModels.Tegart] = (3f, 4f), [SpecialBuildingModels.Factory] = (3f, 4f), [SpecialBuildingModels.Barracks] = (2.5f, 3.25f),+ [SpecialBuildingModels.Shikun] = (3f, 4f),};- Assert.AreEqual(4, layer.Placed.Count);+ Assert.AreEqual(5, layer.Placed.Count);foreach (var p in layer.Placed){var b = layer.transform.Find(p.Key)!.GetComponentsInChildren<Renderer>(true).Select(x => x.bounds).Aggregate((x, y) => { x.Encapsulate(y); return x; });@@ -219,7 +223,7 @@ namespace Statecraft.Game.TestsAssert.IsTrue(fort != null && fort.transform.parent == layer.transform, "the same date keeps the same models");SpecialBuildingModels.ShowAt(map, After);AnswerAll();- Assert.AreEqual(4, layer.Placed.Count);+ Assert.AreEqual(5, layer.Placed.Count);SpecialBuildingModels.ShowAt(map, new DateTime(1948, 5, 16));CollectionAssert.AreEqual(new[] { "latrun_tegart" }, layer.Placed.Select(p => p.Key), "an earlier date shows only what stood then");Assert.AreEqual(1, layer.transform.childCount);