A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.
Hex tiles: Hadera and Jezreel draw the railway-halt eucalyptus (Refs #1940, Refs #1952) (#2940)
Beri473bff22e723
diff --git a/changelog.d/1940-eucalyptus-reuse.md b/changelog.d/1940-eucalyptus-reuse.mdnew file mode 100644index 000000000..42c133f9b--- /dev/null+++ b/changelog.d/1940-eucalyptus-reuse.md@@ -0,0 +1,6 @@+### Changed++- Hex tiles (opt-in `?hex-tiles` look): Hadera's eucalyptus groves and the Jezreel Valley's windbreaks now draw Tal+ Heuberger's railway-halt eucalyptus instead of grey-green stand-ins, one eucalyptus everywhere (owner, 7 November+ 2026; Refs #1940, Refs #1952). The tree is 6,423 triangles, so Hadera keeps 12 trees (was up to 52 stand-ins) and+ the Jezreel Valley one per hex (was up to 50), inside the tiles' triangle budgets.diff --git a/unity/Assets/Editor/HexTiles/Tests/HexPrototypeTests.cs b/unity/Assets/Editor/HexTiles/Tests/HexPrototypeTests.csindex bdb0a402a..b94d748dc 100644--- a/unity/Assets/Editor/HexTiles/Tests/HexPrototypeTests.cs+++ b/unity/Assets/Editor/HexTiles/Tests/HexPrototypeTests.cs@@ -118,6 +118,17 @@ public class HexPrototypeTestsTestContext.WriteLine($"CAPS exempt placement models={actual.Length}: {string.Join(",", actual)}");}+ // One eucalyptus everywhere: the owner's "all your picks", 7 November 2026, relayed on #1940 and #1952.+ [TestCase("hadera_moshava")]+ [TestCase("jezreel_valley")]+ public void TheEucalyptusIsTheRailwayHaltsShippedTree(string id)+ {+ var gums = Built(id).Placements.Where(p => p.Model.Contains("eucalyptus")).Select(p => p.Model).ToArray();+ Assert.That(gums, Is.Not.Empty, id);+ Assert.That(gums, Is.All.EqualTo("tiles:railway_halt/eucalyptus"), id);+ Assert.IsNotNull(HexModels.Prefab(HexModels.Resolve(gums[0], Vector3.zero)), "the shipped tree loads in the editor");+ }+[Test]public void GeneratedMixedAndMissingPiecesKeepTheirCapAndAnOverBudgetPieceFails(){diff --git a/unity/Assets/Scripts/Map/HexTiles/Prototypes/HaderaMoshava.cs b/unity/Assets/Scripts/Map/HexTiles/Prototypes/HaderaMoshava.csindex 9e8e9d0dd..05775d18c 100644--- a/unity/Assets/Scripts/Map/HexTiles/Prototypes/HaderaMoshava.cs+++ b/unity/Assets/Scripts/Map/HexTiles/Prototypes/HaderaMoshava.cs@@ -13,19 +13,22 @@ namespace Statecraft.HexTiles.Prototypes/// - The Khan, low-key, beside the plaza: the mid-1800s sandstone farmstead in a U round a courtyard, bought in 1891,/// where the first settlers lived (https://shimur.org/sites/khan-museum-hadera/?lang=en, checked 2026-10-19). Three/// stone stand-in blocks round a painted courtyard that opens to the street.- /// - Dense eucalyptus groves on both flanks: Rothschild's agency planted eucalyptus here from 1895 to 1896 to drain the+ /// - Eucalyptus groves, capped at 12 trees that fill from the inland edge first: Rothschild's agency planted+ /// eucalyptus here from 1895 to 1896 to drain the/// swamps (https://kkl-jnf.org/hiking_and_walking_tracks/hadera-forest-hiking/ and/// https://www.encyclopedia.com/religion/encyclopedias-almanacs-transcripts-and-maps/haderah, checked 2026-10-19).- /// There is no eucalyptus model, so each is a tall, grey-green Tree stand-in (tiles:hadera_moshava/eucalyptus).+ /// Each is Tal Heuberger's shipped railway-halt eucalyptus (tiles:railway_halt/eucalyptus): one eucalyptus everywhere,+ /// the owner's "all your picks", 7 November 2026 (#1940). Until the hex-props bundle arrives it is a grey-green Tree stand-in./// - Citrus groves in rows on tilled soil inland, across the street from the Khan (generic; not sourced for Hadera as a fact).////// Triangle estimate, at the maximum counts (FlatSurface refuses nothing):/// - At most 10 houses and 1 barn (kit_moshava*, up to 1,400 each) = 15,400./// - At most 9 citrus (citrus_lite, 1,602 each) = 14,418.- /// - At most 52 eucalyptus stand-ins (about 56 each) = 2,912. If a real model is dropped in under- /// Resources/HexTiles/hadera_moshava/eucalyptus, it must stay under about 150 triangles, or lower MaxEucalyptus.+ /// - At most 12 eucalyptus (6,423 each, measured) = 77,076. The tree is about 115 times a stand-in's 56 triangles, so+ /// the groves keep 12 of the 33 trees the grid placed (#1940); the rest of the tile is about 21,000 at most with the+ /// local citrus and figures (496 measured on the test hex without them): about 98,500 of 100,000, and a 13th tree breaks it./// - The Khan: 3 Box stand-ins, about 36. One donkey = 2,500; one townsperson (up to 4,000).- /// - Total about 39,300 of 50,000.</summary>+ /// - Total about 98,500 of 100,000 at worst; the houses and barn are exempt originals (#1273).</summary>[HexPrototype("hadera_moshava", Kind = "town", Region = "centre")]public sealed class HaderaMoshava : IHexPrototype{@@ -38,13 +41,13 @@ namespace Statecraft.HexTiles.Prototypes// Explicit ids: the wildcard kit_moshava* would also pick the barn.const string Farmhouse = "sandbox:kit_moshava", TwoStorey = "sandbox:kit_moshava_2", Barn = "sandbox:kit_moshava_3",- Citrus = "sandbox:citrus_lite", Eucalyptus = "tiles:hadera_moshava/eucalyptus", Khan = "tiles:hadera_moshava/khan",+ Citrus = "sandbox:citrus_lite", Eucalyptus = "tiles:railway_halt/eucalyptus", Khan = "tiles:hadera_moshava/khan",Donkey = "proto:figure-donkey-lite-1948", Settler = "proto:figure-sabra-pioneer-c04-1948-v2";static readonly Color RedRoof = new Color(0.72f, 0.36f, 0.26f), Timber = new Color(0.52f, 0.38f, 0.26f),Sandstone = new Color(0.82f, 0.72f, 0.56f), CitrusLeaf = new Color(0.16f, 0.34f, 0.14f), GumLeaf = new Color(0.47f, 0.56f, 0.47f);- const int MaxHouses = 10, MaxCitrus = 9, MaxEucalyptus = 52;+ const int MaxHouses = 10, MaxCitrus = 9, MaxEucalyptus = 12;static float Edge(float bearing) => (0.8660254f - HexScale.InsetShare) / Mathf.Cos(Mathf.Deg2Rad * (Mathf.Repeat(bearing, 60f) - 30f));diff --git a/unity/Assets/Scripts/Map/HexTiles/Prototypes/JezreelValley.cs b/unity/Assets/Scripts/Map/HexTiles/Prototypes/JezreelValley.csindex 99a702d95..6cce9fa3e 100644--- a/unity/Assets/Scripts/Map/HexTiles/Prototypes/JezreelValley.cs+++ b/unity/Assets/Scripts/Map/HexTiles/Prototypes/JezreelValley.cs@@ -23,12 +23,17 @@ namespace Statecraft.HexTiles.Prototypes/// 0.38 S), not to the hex centre, so two like hexes continue one field grid across their shared edge. The crop of a/// block comes from its lattice indices (a planned rotation, not random), so a block cut by an edge gets the same crop/// on both sides. North-south lines alternate between farm roads and irrigation channels; the channel lines carry- /// windbreaks (cypress and eucalyptus alternating), and every third east-west line carries a eucalyptus windbreak.+ /// windbreaks (cypress and eucalyptus alternating). The single eucalyptus sits on the first free channel slot, so the+ /// east-west lines get none./// Tall pieces keep out of ctx.InUnitSpot and off the farmstead yard.///+ /// The eucalyptus is Tal Heuberger's shipped railway-halt tree (tiles:railway_halt/eucalyptus): one eucalyptus+ /// everywhere, the owner's "all your picks", 7 November 2026 (#1952). Until the hex-props bundle arrives it is a Tree stand-in.+ ////// Triangle budget by arithmetic (hard caps below; FlatSurface refuses nothing): 14 cypress x 1,600 = 22,400;- /// 50 eucalyptus stand-ins x under 100 = under 5,000; barn and water tower, 2 x 1,400 = 2,800. Worst case under 30,200- /// of 34,000.</summary>+ /// 1 eucalyptus x 6,423 (measured) = 6,423; barn and water tower, 2 x 1,400 = 2,800. Worst case under 31,700 of 34,000.+ /// A second tree would break the budget (38,046), so the windbreaks keep one eucalyptus of the 7 to 11 the lines+ /// placed on the israel board's hexes (#1952); the other eucalyptus spots stay open.</summary>[HexPrototype("jezreel_valley", Kind = "nature", Region = "north")]public sealed class JezreelValley : IHexPrototype{@@ -37,9 +42,9 @@ namespace Statecraft.HexTiles.Prototypespublic string Ground => "plains";public int TriangleBudget => 34000;- const string Cypress = "sandbox:cypress_lite", Eucalyptus = "tiles:jezreel_valley/eucalyptus",+ const string Cypress = "sandbox:cypress_lite", Eucalyptus = "tiles:railway_halt/eucalyptus",Barn = "sandbox:kit_moshava_3", Tower = "sandbox:kit_kibbutz_4";- const int MaxCypress = 14, MaxEucalyptus = 50;+ const int MaxCypress = 14, MaxEucalyptus = 1;const float BlockW = 0.62f, BlockD = 0.34f, PitchX = 0.66f, PitchZ = 0.38f, TreeStep = 0.11f;// A planned rotation: the crop of block (i, j) is Rotation[(2i + j) mod 5].@@ -91,7 +96,7 @@ namespace Statecraft.HexTiles.Prototypes}// 4. Windbreaks on world-anchored spots: along each north-south channel line (cypress and eucalyptus in turn),- // and along every third east-west line (eucalyptus). Out of the unit spot, the yard and the crossings.+ // and, only if no channel slot took the one eucalyptus, along an east-west line. Out of the unit spot, the yard and the crossings.int cypress = 0, eucalyptus = 0;for (int i = i0; i <= i1; i++){