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: encyclopedia pages for Security and Public support (Fixes #2223) (#2307)

Beri564ce9f93002
diff --git a/changelog.d/2223-encyclopedia-security-support.md b/changelog.d/2223-encyclopedia-security-support.md
new file mode 100644
index 000000000..bb52fdc24
--- /dev/null
+++ b/changelog.d/2223-encyclopedia-security-support.md
@@ -0,0 +1,3 @@
+- Two encyclopedia pages under Golda Meyerson, Security and Public support (#2223): what each meter is, what raises and
+ lowers it, and what the level beside Security means. English now; the Hebrew awaits a native read (#564) and the pages
+ stay out of the Hebrew list until then.
diff --git a/unity/Assets/Resources/Advisors/advisor-messages.yaml b/unity/Assets/Resources/Advisors/advisor-messages.yaml
index 08f89304f..c3261146b 100644
--- a/unity/Assets/Resources/Advisors/advisor-messages.yaml
+++ b/unity/Assets/Resources/Advisors/advisor-messages.yaml
@@ -55,7 +55,8 @@ messages:
# #2095 (1 Nov 2026); the other 16 were read by the owner, a native speaker, on 1 November 2026: "all 16 pages look
# good". The same day the owner ruled "replace evey place that says משושה with משבצת throughout the game", which
# changed the Hebrew of projects, standing_orders, combat and units_movement after those reads. The opening steps'
-# Tell me more opens the page of what each step points at (plan Task 13).
+# Tell me more opens the page of what each step points at (plan Task 13). Security and Public support (#2223) are pending:
+# agent-drafted Hebrew, not shown in Hebrew until a native read.
pages:
- { id: turns, advisor: ben_gurion, he_review: approved }
- { id: attention, advisor: ben_gurion, show_me: attention, he_review: approved }
@@ -75,6 +76,8 @@ pages:
- { id: cabinet, advisor: meyerson, show_me: nav_cabinet, he_review: approved }
- { id: food, advisor: meyerson, he_review: approved }
- { id: national_meters, advisor: meyerson, he_review: approved }
+ - { id: security, advisor: meyerson, he_review: pending }
+ - { id: public_support, advisor: meyerson, he_review: pending }
- { id: units_movement, advisor: dayan, show_me: unit_move, he_review: approved }
- { id: standing_orders, advisor: dayan, he_review: approved }
- { id: combat, advisor: dayan, show_me: nav_defence, he_review: approved }
diff --git a/unity/Assets/Tests/EditMode/EncyclopediaScreenTests.cs b/unity/Assets/Tests/EditMode/EncyclopediaScreenTests.cs
index 20757ce12..9887fb3f0 100644
--- a/unity/Assets/Tests/EditMode/EncyclopediaScreenTests.cs
+++ b/unity/Assets/Tests/EditMode/EncyclopediaScreenTests.cs
@@ -20,7 +20,7 @@ public class EncyclopediaScreenTests
static readonly Content C = ContentLoader.Load(Paths.Content);
static UiText En => UiText.Parse(AssetDatabase.LoadAssetAtPath<TextAsset>(UiPaths.Strings).text);
static UiText He => UiText.Parse(AssetDatabase.LoadAssetAtPath<TextAsset>(UiPaths.StringsHebrew).text, "strings.he.yaml");
- // Every shipped page is approved since 1 Nov 2026, so this copy only matters for a page added later as pending.
+ // A copy with every page approved, so the Hebrew checks also read the pages still pending (security and public_support, #2223).
static AdvisorCatalog Approved() => AdvisorCatalog.Parse(File.ReadAllText(AdvisorCatalog.Path).Replace("he_review: pending", "he_review: approved"));
[Test]
@@ -85,8 +85,8 @@ public class EncyclopediaScreenTests
Assert.IsNull(pedia.ShowingPage, "pending in Hebrew: the list instead");
}
- /// <summary>Spec 10: the mechanics the guide and How to play taught, the 14 nothing taught, immigration and the national
- /// meters: 25 pages, grouped by advisor as spec 3.1 splits them.</summary>
+ /// <summary>Spec 10: the mechanics the guide and How to play taught, the 14 nothing taught, immigration, the national
+ /// meters, and Security and Public support (#2223): 27 pages, grouped by advisor as spec 3.1 splits them.</summary>
[Test]
public void TheShippedPagesCoverEveryMechanic()
{
@@ -98,6 +98,7 @@ public class EncyclopediaScreenTests
["cities"] = "meyerson", ["immigration"] = "meyerson", ["training"] = "meyerson", ["projects"] = "meyerson",
["pioneer_work"] = "meyerson", ["corridors"] = "meyerson", ["money_debt"] = "meyerson", ["budget"] = "meyerson",
["cabinet"] = "meyerson", ["food"] = "meyerson", ["national_meters"] = "meyerson",
+ ["security"] = "meyerson", ["public_support"] = "meyerson",
["units_movement"] = "dayan", ["standing_orders"] = "dayan", ["combat"] = "dayan", ["arms"] = "dayan",
["truces"] = "dayan", ["capture"] = "dayan", ["enemy_phase"] = "dayan",
};
@@ -153,21 +154,25 @@ public class EncyclopediaScreenTests
StringAssert.Contains(phrase, line);
}
- /// <summary>On the SHIPPED catalogue (AdvisorCatalog.Load(), not Approved()), the Hebrew encyclopedia lists all 25
- /// pages: the nine that replace How to play, which Beri read as a native speaker on #2095 (1 Nov 2026), and the other
- /// 16, which the owner read as a native speaker the same day ("all 16 pages look good").</summary>
+ /// <summary>On the SHIPPED catalogue (AdvisorCatalog.Load(), not Approved()), the Hebrew encyclopedia lists every
+ /// approved page: the nine that replace How to play, which Beri read as a native speaker on #2095 (1 Nov 2026), and the
+ /// other 16, which the owner read as a native speaker the same day ("all 16 pages look good"). Security and Public
+ /// support (#2223) wait for their native read (OQ-4), so they are the only pages the Hebrew list leaves out.</summary>
[Test]
- public void TheShippedHebrewEncyclopediaListsAllTwentyFivePages()
+ public void TheShippedHebrewEncyclopediaListsEveryApprovedPage()
{
var shipped = AdvisorCatalog.Load();
- Assert.AreEqual(25, shipped.Pages.Count, "shipped pages");
+ Assert.AreEqual(27, shipped.Pages.Count, "shipped pages");
+ CollectionAssert.AreEquivalent(new[] { "security", "public_support" }, shipped.Pages.Where(p => !p.ApprovedIn(true)).Select(p => p.Id), "pending pages");
using var ui = new UiTestKit();
using var nav = new ScreenNav(ui.Root);
using var pedia = new EncyclopediaPresenter(ui.Root, He, shipped, nav, null);
ui.Press("nav-encyclopedia");
var entries = ui.Q<ScrollView>("encyclopedia-list").contentContainer.Children().Select(c => c.name).ToList();
- var missing = shipped.Pages.Select(p => p.Id).Where(p => !entries.Contains("encyclopedia-page-" + p)).ToList();
+ var missing = shipped.Pages.Where(p => p.ApprovedIn(true)).Select(p => p.Id).Where(p => !entries.Contains("encyclopedia-page-" + p)).ToList();
Assert.IsEmpty(missing, "pages missing from the shipped Hebrew list: " + string.Join(", ", missing));
+ CollectionAssert.DoesNotContain(entries, "encyclopedia-page-security", "pending in Hebrew");
+ CollectionAssert.DoesNotContain(entries, "encyclopedia-page-public_support", "pending in Hebrew");
}
/// <summary>Under gdd-0.3 a lost city alone does not end the game (R-END-003, #1668): the defeat page says so.</summary>
diff --git a/unity/Assets/UI/strings.en.yaml b/unity/Assets/UI/strings.en.yaml
index c7b14c455..20b8bdb02 100644
--- a/unity/Assets/UI/strings.en.yaml
+++ b/unity/Assets/UI/strings.en.yaml
@@ -34,7 +34,7 @@ hud.caption.fx: "Foreign currency"
hud.caption.cohesion: "Social cohesion"
# Each meter's tip says what the meter is and what moves it, under its number in words (MeterTip, #2200; owner's option 1:
# one key per HudModel.MeterIds id). treasury, immigration, cohesion and standing are sentences of the encyclopedia pages
-# (advisor.page.money_debt, .immigration, .national_meters), word for word. security, support and fx have no page yet and
+# (advisor.page.money_debt, .immigration, .national_meters), word for word. security, support and fx had no page then and
# are written from the code: security from model.yaml's border_villages_secure effect (its office's competence and budget,
# EffectsSystem.Multiplier) and event shifts; support from EffectsSystem.Approval and model.yaml's voter_groups, with
# coalition stability moving toward it (PoliticsSystem.UpdateStability, R-GOV-001); fx from EconomySystem.Apply's flows,
@@ -77,11 +77,14 @@ why.title: "Why did this happen?"
encyclopedia.title: "Encyclopedia"
encyclopedia.back: "Back"
encyclopedia.opening: "Show the opening advice again"
-# The encyclopedia's 25 pages (spec 10, plan Task 13; advisor-messages.yaml pages:), grouped by advisor, each written from
+# The encyclopedia's 27 pages (spec 10, plan Task 13; advisor-messages.yaml pages:), grouped by advisor, each written from
# the rules it cites (docs/rules/mvp.md) without balance values, as How to play's lines were; the nine pages How to play
# covered start from its lines. A .gdd03.text variant is what gdd-0.3 shows (R-GOV-002: no Attention there, #1688; its
# attacks spend no Arms, R-COMBAT-004; a lost city alone does not end it, R-END-003). The capture page names no Deport:
# it is not in play (mvp.deport_in_play, R-CTRL-007). Agent-drafted for the owner's content review (spec 17).
+# security and public_support (#2223) are written from the code: model.yaml's border_villages_secure (EffectsSystem.Multiplier),
+# event shifts (R-EFX-001), safety_lifts_morale, voter_groups and set_rung with the call-up following it (R-WAR-002);
+# EffectsSystem.Approval, PoliticsSystem.UpdateStability and Vote (R-GOV-001). The PR body cites a line for each sentence.
advisor.page.turns.title: "Turns and End turn"
advisor.page.turns.text: "Each turn is one month. Look over the country, give your orders, then press End turn to move to the next month. Moves and unit orders (attack, fortify, hold) happen at once and cannot be undone; Send home and every other order wait for End turn, and until then you can change or withdraw them. While one of your units still needs orders, the button selects it instead: move it, fortify it, hold or skip it."
advisor.page.attention.title: "Attention each turn"
@@ -120,6 +123,10 @@ advisor.page.food.title: "The Food stock"
advisor.page.food.text: "I watch this stock every month. Food is one national stock: each turn plowed fields add their harvest, the country eats what it needs, and an import refills the stock, unless our foreign currency has run out. A shortage lowers Social cohesion, and an empty stock while the debt is at its ceiling starts the defeat counter."
advisor.page.national_meters.title: "The national meters"
advisor.page.national_meters.text: "Social cohesion rises and falls with housing, work, Food, rationing and security. International support moves with the choices made on event cards. Neither one ends the game, but some events take notice when either runs low, and the end report shows both. Battles and moves leave both untouched."
+advisor.page.security.title: "Security"
+advisor.page.security.text: "Border villages add to Security over several turns, more with an able Minister of Agriculture whose ministry is well funded. The choices made on event cards can raise or lower it. Security lifts Social cohesion, and two of the four voter groups weigh it, so it moves Public support too. The level beside its name is the security level, from 1, a routine threat, to 5, full war: event cards set it, and a higher level calls up more reserves. Battles and moves leave the meter itself untouched."
+advisor.page.public_support.title: "Public support"
+advisor.page.public_support.text: "Public support is the average approval of four voter groups, and each group weighs two of Social cohesion, Security, housing and Food: Social cohesion counts for three of the groups, Security and housing for two each, and Food for one. Nothing moves it directly: it follows those four. Coalition stability moves toward it every turn, and when stability is low, a budget vote can go against the government even though the coalition holds a majority. Neither one ends the game."
advisor.page.units_movement.title: "Moving units"
advisor.page.units_movement.text: "A unit moves the moment you give the order, and a move cannot be undone. Terrain sets the cost of each hex, and a unit that has not moved this turn can always enter one neighbouring hex. A farther destination becomes a route, and End turn carries the unit onward along it. No unit enters water or a hex an enemy unit holds."
advisor.page.standing_orders.title: "Standing orders"
diff --git a/unity/Assets/UI/strings.he.yaml b/unity/Assets/UI/strings.he.yaml
index 0c3074140..1346b7be7 100644
--- a/unity/Assets/UI/strings.he.yaml
+++ b/unity/Assets/UI/strings.he.yaml
@@ -75,7 +75,7 @@ why.title: "למה זה קרה?"
encyclopedia.title: "אנציקלופדיה"
encyclopedia.back: "חזרה"
encyclopedia.opening: "הצגת עצות הפתיחה שוב"
-# The encyclopedia's 25 pages (spec 10, plan Task 13). AI-drafted Hebrew; a page is he_review: pending in
+# The encyclopedia's 27 pages (spec 10, plan Task 13). AI-drafted Hebrew; a page is he_review: pending in
# advisor-messages.yaml and does not show in Hebrew until a native reviewer approves it (OQ-4). The nine pages that replace
# How to play were read by Beri on #2095 (each marked below); the owner, a native speaker, read the other 16 on
# 1 November 2026: "all 16 pages look good". משושה became משבצת in projects, standing_orders, combat and
@@ -129,6 +129,15 @@ advisor.page.food.title: "מלאי המזון"
advisor.page.food.text: "אני עוקבת אחרי המלאי הזה בכל חודש. המזון הוא מלאי לאומי אחד: בכל תור השדות החרושים מוסיפים את היבול שלהם, המדינה אוכלת את מה שהיא צריכה, ויבוא ממלא את המלאי מחדש, אלא אם מטבע החוץ שלנו אזל. מחסור מוריד את הלכידות החברתית, ומלאי ריק כשהחוב בתקרה מפעיל את מונה ההפסד."
advisor.page.national_meters.title: "המדדים הלאומיים"
advisor.page.national_meters.text: "הלכידות החברתית עולה ויורדת עם הדיור, התעסוקה, המזון, הקיצוב והביטחון. התמיכה הבינלאומית זזה בעקבות הבחירות בכרטיסי האירוע. אף אחת מהן אינה מסיימת את המשחק, אבל אירועים מסוימים מגיבים כשאחת מהן נמוכה, ודוח הסיום מציג את שתיהן. קרבות ותנועת יחידות אינם משנים אף אחת מהן."
+# security and public_support (#2223): agent-drafted Hebrew, he_review: pending (#564).
+# native-review-pending
+advisor.page.security.title: "ביטחון"
+# native-review-pending
+advisor.page.security.text: "יישובי הספר מוסיפים לביטחון במשך כמה תורות, ויותר מכך כששר החקלאות מוכשר ומשרדו מתוקצב היטב. הבחירות בכרטיסי האירוע יכולות להעלות אותו או להוריד אותו. הביטחון מחזק את הלכידות החברתית, ושתיים מארבע קבוצות הבוחרים שוקלות אותו, ולכן הוא משפיע גם על התמיכה הציבורית. הדרגה שליד שמו היא רמת הביטחון, מ־1, איום שגרתי, ועד 5, מלחמה כוללת: כרטיסי האירוע קובעים אותה, ורמה גבוהה יותר מגייסת יותר מילואים. קרבות ותנועות אינם משנים את המדד עצמו."
+# native-review-pending
+advisor.page.public_support.title: "תמיכה ציבורית"
+# native-review-pending
+advisor.page.public_support.text: "התמיכה הציבורית היא ממוצע התמיכה של ארבע קבוצות בוחרים, וכל קבוצה שוקלת שניים מבין הלכידות החברתית, הביטחון, הדיור והמזון: הלכידות החברתית נחשבת אצל שלוש מהקבוצות, הביטחון והדיור אצל שתיים כל אחד, והמזון אצל אחת. שום דבר אינו משנה אותה ישירות: היא נעה בעקבות ארבעתם. יציבות הקואליציה נעה לעברה בכל תור, וכשהיציבות נמוכה, הצבעה על התקציב עלולה להיות נגד הממשלה גם כשיש לקואליציה רוב. אף אחת מהן אינה מסיימת את המשחק."
# advisor.page.units_movement: approved by Beri, a native speaker, on #2095 (1 Nov 2026): title and text as written.
advisor.page.units_movement.title: "תנועת יחידות"
advisor.page.units_movement.text: "יחידה נעה ברגע שנותנים לה את ההוראה, ואי אפשר לבטל תנועה. השטח קובע את העלות של כל משבצת, ויחידה שעוד לא זזה בתור הזה תמיד יכולה להיכנס למשבצת סמוכה אחת. יעד רחוק יותר הופך למסלול, וסיום התור ממשיך להוביל את היחידה לאורכו. שום יחידה אינה נכנסת למים או למשבצת שיש בה יחידת אויב."