A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.
Draw every unit so "A unit needs orders" always selects one (v0.3.0 release blocker) (#1673)
Eyal Golanf7d66b2abb3e
diff --git a/changelog.d/fix-needs-orders-dead-end.md b/changelog.d/fix-needs-orders-dead-end.mdnew file mode 100644index 000000000..64fbedb18--- /dev/null+++ b/changelog.d/fix-needs-orders-dead-end.md@@ -0,0 +1,5 @@+### Fixed+- "A unit needs orders" always selects a unit again. A unit that moved next to its own units, where no clear spot was+ left in the hex, was not drawn, so the button did nothing and the unit could not be found. Such a unit is now drawn+ compact on its own hex, clicks on a hex with several units select each in turn, and as a last resort a unit that+ still cannot be shown skips the turn with a message (English, draft Hebrew).diff --git a/unity/Assets/Scripts/Map/Units/UnitLayer.cs b/unity/Assets/Scripts/Map/Units/UnitLayer.csindex a296fdfb4..2d05db448 100644--- a/unity/Assets/Scripts/Map/Units/UnitLayer.cs+++ b/unity/Assets/Scripts/Map/Units/UnitLayer.cs@@ -310,6 +310,21 @@ namespace Statecraft.Game.Map.Units.Where(s => s != null).Select(s => (s!.Value.Q, s.Value.R)).ToList();var entries = fresh.Select(t => new UnitEntry { Id = t.Unit.Id, Side = t.Unit.Side, Service = t.Unit.Service, Anchors = new List<UnitAnchor> { t.Anchor } }).ToList();foreach (var kv in ground.Place(entries, XZ(map), Debug.LogWarning, taken)) movedSpots[kv.Key] = kv.Value;+ // A sim unit with no clear spot within a hex is still drawn, compact on its own sim hex: left out, it could not+ // be seen or selected, and End turn waits for it (UnitPlacer.OnOwnHex). The spots are placed in token order.+ var toXZ = XZ(map);+ var used = tokens.Select(t => spots.TryGetValue(t.Anchor, out var s) ? s : movedSpots.TryGetValue(t.Anchor, out s) ? s : (AnchorSpot?)null)+ .Where(s => s != null).Select(s => (s!.Value.X, s.Value.Z)).ToList();+ foreach (var t in fresh)+ {+ if (movedSpots.ContainsKey(t.Anchor) || t.StateUnit == null || !(shownContent?.HexAt(t.StateUnit.Q, t.StateUnit.R) is MapHex hex)) continue;+ var c = toXZ(hex.Lon, hex.Lat);+ var spot = UnitPlacer.OnOwnHex(hex.Q, hex.R, (c.x, c.y), ground.HexSizeM, used, 1.5 * ground.RingRadius(true),+ (x, z) => ground.Clear(t.Unit.Service, new Vector2((float)x, (float)z), true, false, c));+ movedSpots[t.Anchor] = spot;+ used.Add((spot.X, spot.Z));+ Debug.Log($"UNITS {t.Unit.Id} (unit {t.StateUnit.Id}) drawn compact on its own hex ({hex.Q},{hex.R})");+ }MovedSpotsPlaced += fresh.Count;drawSpots = new Dictionary<UnitAnchor, AnchorSpot>(spots.Count + movedSpots.Count);foreach (var kv in spots) drawSpots[kv.Key] = kv.Value;@@ -330,12 +345,15 @@ namespace Statecraft.Game.Map.Units/// <summary>What a click on hex (q, r) selects: the unit standing there, unless it is already selected (a second/// click shows the hex, so a token never hides the hex's map actions) or the "units" toggle hides the layer; null- /// means show the hex.</summary>+ /// means show the hex. Where several tokens stand on the hex (a unit drawn on its own crowded hex,+ /// UnitPlacer.OnOwnHex), each click selects the next of them in drawing order, then the hex, so every one can be+ /// clicked.</summary>public string? UnitToSelectAt(int q, int r){if (!gameObject.activeInHierarchy) return null;- var hit = At(q, r);- return hit != null && hit.Value.Token.Unit.Id != Selected ? hit.Value.Token.Unit.Id : null;+ var here = placed.Where(p => p.Q == q && p.R == r).Select(p => p.Token.Unit.Id).ToList();+ int i = Selected == null ? -1 : here.IndexOf(Selected);+ return i + 1 < here.Count ? here[i + 1] : null;}/// <summary>The token on hex (q, r), or null.</summary>diff --git a/unity/Assets/Scripts/Map/Units/UnitPlacer.cs b/unity/Assets/Scripts/Map/Units/UnitPlacer.csindex 799591867..61f763300 100644--- a/unity/Assets/Scripts/Map/Units/UnitPlacer.cs+++ b/unity/Assets/Scripts/Map/Units/UnitPlacer.cs@@ -166,6 +166,48 @@ namespace Statecraft.Game.Map.Units}}+ /// <summary>The spot for a sim unit's anchor that <see cref="PlaceAll"/> found no clear spot for. Every unit the sim has+ /// must be drawn: End turn selects the units that need orders, and a unit with no token could be neither seen nor+ /// selected, so the turn could not end (owner, v0.3.0 RC, 25 October 2026: "the game is saying "a unit needs orders"+ /// but clicking on it does nothing and i cant find any unit that needs orders"). The spot is compact, on the unit's own+ /// sim hex (q, r): of the hex's centre and the points inside it (the outer ring first, so a crowded hex spreads out),+ /// the first whose distance to every spot in <paramref name="used"/> is at least <paramref name="gapM"/> and that is+ /// <paramref name="clear"/>; else the first at least <paramref name="gapM"/> from them; else the one farthest from+ /// them. Deterministic: the same inputs give the same spot.</summary>+ /// <param name="centre">The hex centre on the ground plane (metres).</param>+ /// <param name="used">The centres of the spots drawn tokens stand on now.</param>+ /// <param name="gapM">The least distance between two tokens' centres (UnitLayer: one and a half compact ring radii, so+ /// the rings may touch but the trios and badges stand apart; the hex's centre and its outer ring hold seven).</param>+ /// <param name="clear">(x, z): true when a compact token may stand there (off towns, roads and water).</param>+ public static AnchorSpot OnOwnHex(int q, int r, (double x, double z) centre, double hexSizeM, IReadOnlyCollection<(double x, double z)> used,+ double gapM, Func<double, double, bool> clear)+ {+ if (used == null) throw new ArgumentNullException(nameof(used));+ if (clear == null) throw new ArgumentNullException(nameof(clear));+ var points = new List<(double x, double z)> { centre };+ for (int ring = InsideOffsets.Length - 1; ring >= 0; ring--)+ for (int k = 0; k < 6; k++) points.Add(Inside(centre, ring * 6 + k, hexSizeM));+ double Room((double x, double z) p)+ {+ double d = double.MaxValue;+ foreach (var u in used) d = Math.Min(d, Math.Sqrt((u.x - p.x) * (u.x - p.x) + (u.z - p.z) * (u.z - p.z)));+ return d;+ }+ (double x, double z)? apart = null, roomiest = null; double most = -1;+ foreach (var p in points)+ {+ double room = Room(p);+ if (room >= gapM)+ {+ if (clear(p.x, p.z)) return new AnchorSpot(q, r, p.x, p.z, compact: true);+ if (apart == null) apart = p;+ }+ if (room > most) { most = room; roomiest = p; }+ }+ var best = apart ?? roomiest!.Value;+ return new AnchorSpot(q, r, best.x, best.z, compact: true);+ }+/// <summary>The tokens on their anchors' spots; a token whose anchor has no spot is left out.</summary>public static List<PlacedToken> Place(IReadOnlyList<UnitToken> tokens, IReadOnlyDictionary<UnitAnchor, AnchorSpot> spots){diff --git a/unity/Assets/Scripts/UI/GameRoot.cs b/unity/Assets/Scripts/UI/GameRoot.csindex 05e6afb27..83e2f2c4f 100644--- a/unity/Assets/Scripts/UI/GameRoot.cs+++ b/unity/Assets/Scripts/UI/GameRoot.cs@@ -76,6 +76,8 @@ namespace Statecraft.Game.UIFeedbackPresenter? feedback;SharePresenter? share;InfoPanelPresenter? info;+ /// <summary>Shows the toast for a unit End turn skipped because it had no token to select (FocusNextUnit).</summary>+ Action? unseenSkipped;/// <summary>Tests: the info panel of the last Begin.</summary>internal InfoPanelPresenter? Info => info;CameraRig? rig;@@ -248,6 +250,7 @@ namespace Statecraft.Game.UI// The toast first: the autosave (below) must report a failed write after the toast has shown the turn's refusals.var toast = Own(new ToastPresenter(root, bridge, text));+ unseenSkipped = () => toast.Show(text["toast.unit_unseen_skipped"]);Own(new HudPresenter(root, bridge, text, selectUnit: _ => FocusNextUnit()));nav = Own(new ScreenNav(root)); // every screen starts hidden (USS); ScreenNav opens one at a timeOwn(new PointerBlur(root)); // a mouse click leaves no focus fill behind (keyboard keeps it)@@ -678,13 +681,21 @@ namespace Statecraft.Game.UIcameraController.Settle(); SyncMinimap(); labels?.Refresh();}- void SelectUnit(int simId)+ /// <summary>Selects and focuses the drawn token of sim unit <paramref name="simId"/>; false when no token is drawn for it.</summary>+ bool SelectUnit(int simId){- if (units == null || Bridge == null) return;+ if (units == null || Bridge == null) return false;var row = units.Tokens.FirstOrDefault(t => UnitCard.SimUnit(Bridge.Content, Bridge.State, t.Token) == simId).Token?.Unit.Id;- if (row != null) FocusUnit(row);+ if (row == null) return false;+ FocusUnit(row);+ return units.Selected == row;}+ /// <summary>Selects the next unit that needs orders after the selected one (ascending id, wrapping; spec 2026-10-23+ /// section 7.3). Never a dead end (owner, v0.3.0 RC: "the game is saying "a unit needs orders" but clicking on it does+ /// nothing"): every unit is drawn (UnitPlacer.OnOwnHex), but should one still have no token to select, it is skipped+ /// for this turn with a log line and a toast, and the next is tried, so End turn always gets on. Each unit is tried+ /// once per call.</summary>void FocusNextUnit(){if (Bridge == null || units == null || Bridge.NeedsOrders.Count == 0) return;@@ -694,10 +705,15 @@ namespace Statecraft.Game.UIint? current = units.Selected is string row? units.Tokens.Where(t => t.Token.Unit.Id == row).Select(t => UnitCard.SimUnit(Bridge.Content, Bridge.State, t.Token)).FirstOrDefault(): null;- var next = current is int id- ? Bridge.NeedsOrders.Where(n => n > id).Select(n => (int?)n).FirstOrDefault() ?? Bridge.NeedsOrders[0]- : Bridge.NeedsOrders[0];- SelectUnit(next);+ var needs = Bridge.NeedsOrders;+ var order = current is int id ? needs.Where(n => n > id).Concat(needs.Where(n => n <= id)).ToList() : needs.ToList();+ foreach (var next in order)+ {+ if (SelectUnit(next)) return;+ Debug.Log($"END TURN unit {next} needs orders but has no token to select; skipped this turn");+ Bridge.Skip(next);+ unseenSkipped?.Invoke(); // after Skip: the toast clears on every bridge change+ }}/// <summary>#1063 (player report: a city is hard to tell from the land round it and hard to click): the city under a@@ -742,7 +758,7 @@ namespace Statecraft.Game.UIfor (int i = owned.Count - 1; i >= 0; i--) owned[i].Dispose();owned.Clear();if (hoveredCity != null) { hoveredCity = null; HandCursor(false); } // the next Begin's pills start unlit- minimap = null; labels = null; nav = null; start = null; card = null; outcomes = null; report = null; end = null; advisor = null; feedback = null; share = null; info = null; rig = null; drawn = null; drawnSites = null; units = null; Regions = null; logCamera = false;+ minimap = null; unseenSkipped = null; labels = null; nav = null; start = null; card = null; outcomes = null; report = null; end = null; advisor = null; feedback = null; share = null; info = null; rig = null; drawn = null; drawnSites = null; units = null; Regions = null; logCamera = false;// A ?profile run cut short (a stopped coroutine never reaches its restore line) must not leave the terrain at the// profile's pixel error (Task 24 review M1). Nothing else changes it, so restoring is always right.if (map != null && map.Terrain != null) map.Terrain.heightmapPixelError = MapBuilder.TerrainPixelError;diff --git a/unity/Assets/Tests/EditMode/NeedsOrdersDrawnTests.cs b/unity/Assets/Tests/EditMode/NeedsOrdersDrawnTests.csnew file mode 100644index 000000000..724915bec--- /dev/null+++ b/unity/Assets/Tests/EditMode/NeedsOrdersDrawnTests.cs@@ -0,0 +1,171 @@+#nullable enable+using System;+using System.Collections;+using System.Collections.Generic;+using System.IO;+using System.Linq;+using NUnit.Framework;+using Statecraft.Game;+using Statecraft.Game.Map.Units;+using Statecraft.Game.UI;+using Statecraft.Sim;+using UnityEditor.SceneManagement;+using UnityEngine;+using UnityEngine.TestTools;+using UnityEngine.UIElements;+using Object = UnityEngine.Object;++/// <summary>Owner, v0.3.0 RC (25 October 2026): "the game is saying "a unit needs orders" but clicking on it does nothing and+/// i cant find any unit that needs orders". A unit that moved next to its own units found no clear spot within a hex, its+/// token was left out (UnitPlacer.PlaceAll), and End turn, which selects the units that need orders, could not select it, so+/// the turn could not end. Every unit is now drawn (UnitPlacer.OnOwnHex), and End turn never does nothing.</summary>+public class NeedsOrdersDrawnTests+{+ RenderTexture? rt; PanelSettings? ps; string dir = "";+ Action? unsubscribe;++ [TearDown]+ public void DiscardScene()+ {+ unsubscribe?.Invoke(); unsubscribe = null;+ EditorSceneManager.NewScene(NewSceneSetup.EmptyScene, NewSceneMode.Single);+ if (ps != null) Object.DestroyImmediate(ps);+ if (rt != null) { rt.Release(); Object.DestroyImmediate(rt); }+ if (dir != "" && Directory.Exists(dir)) Directory.Delete(dir, true);+ }++ IEnumerator Boot(Action<VisualElement, GameRoot> booted)+ {+ dir = Path.Combine(Path.GetTempPath(), "statecraft-needs-orders-" + Guid.NewGuid().ToString("N"));+ VisualElement ui = null!; GameRoot root = null!;+ yield return CivMovementShots.Boot(false, dir, (t, p, u, g) => { rt = t; ps = p; ui = u; root = g; });+ booted(ui, root);+ }++ static HashSet<int> Drawn(SimBridge bridge, UnitLayer layer) =>+ layer.Tokens.Select(t => UnitCard.SimUnit(bridge.Content, bridge.State, t.Token)).Where(x => x != null).Select(x => x!.Value).ToHashSet();++ /// <summary>Eight turns of a new game, each unit that needs orders moved as far as it can toward its own units (mode+ /// 0: on e262d289 a unit had no token on six of the eight turns) or simply as far as it can (mode 1: from turn 1).+ /// Every unit that needs orders has a token, and End turn selects one of them.</summary>+ [UnityTest]+ public IEnumerator EveryUnitThatNeedsOrdersIsDrawnAndEndTurnSelectsIt([Values(0, 1)] int mode)+ {+ VisualElement ui = null!; GameRoot root = null!;+ yield return Boot((u, g) => { ui = u; root = g; });+ var bridge = root.Bridge!; var c = bridge.Content;+ var layer = Object.FindFirstObjectByType<UnitLayer>();+ for (int turn = 0; turn < 8; turn++)+ {+ var drawn = Drawn(bridge, layer);+ CollectionAssert.IsEmpty(bridge.NeedsOrders.Where(id => !drawn.Contains(id)).ToList(), $"turn {bridge.State.Turn}: units that need orders have no token");+ CollectionAssert.IsEmpty(bridge.State.Units.Values.Where(x => x.Side == Movement.PlayerSide && !drawn.Contains(x.Id)).Select(x => x.Id).ToList(),+ $"turn {bridge.State.Turn}: every player unit is drawn");+ layer.Select(null);+ UiTestKit.Press(ui.Q<Button>("end-turn"));+ yield return null;+ Assert.IsNotNull(layer.Selected, $"turn {bridge.State.Turn}: End turn selects a unit");+ var selected = layer.Tokens.First(t => t.Token.Unit.Id == layer.Selected).Token;+ CollectionAssert.Contains(bridge.NeedsOrders.ToList(), UnitCard.SimUnit(c, bridge.State, selected), "the unit End turn selects needs orders");+ CollectionAssert.IsEmpty(bridge.Skipped.ToList(), "nothing was skipped for want of a token");+ foreach (var id in bridge.NeedsOrders.ToList())+ {+ var reach = Movement.Reachable(c, bridge.State, id, bridge.Spent);+ if (reach.Count == 0) continue;+ var others = bridge.State.Units.Values.Where(x => x.Side == Movement.PlayerSide && x.Id != id).ToList();+ var pick = mode == 0+ ? reach.Keys.OrderBy(h => others.Count == 0 ? 0 : others.Min(o => MapActions.Distance(o.Q, o.R, h.Q, h.R))).ThenBy(h => h).First()+ : reach.OrderByDescending(kv => kv.Value).ThenBy(kv => kv.Key).First().Key;+ bridge.Queue(new Move(id, pick.Q, pick.R));+ yield return null;+ }+ foreach (var id in bridge.NeedsOrders.ToList()) bridge.Skip(id);+ int before = bridge.State.Turn;+ bridge.EndTurn();+ yield return null;+ Assert.AreEqual(before + 1, bridge.State.Turn, "the turn ended");+ if (ui.Q("root").ClassListContains(TurnReportPresenter.OpenClass)) UiTestKit.Press(ui.Q<Button>("turn-report-close"));+ yield return null;+ }+ }++ /// <summary>Draws the layer without <paramref name="hidden"/>'s units after every bridge change (after GameRoot's own+ /// redraw, which subscribed first), so they have no token to select, as on the RC.</summary>+ void HideTokens(SimBridge bridge, UnitLayer layer, Func<IEnumerable<int>> hidden)+ {+ Action hide = () =>+ {+ var s = bridge.State.Clone();+ foreach (var id in hidden().ToList()) s.Units.Remove(id);+ layer.Show(bridge.Content, s);+ };+ bridge.Changed += hide;+ unsubscribe = () => bridge.Changed -= hide;+ hide();+ }++ /// <summary>The safety net: a unit that needs orders and has no token is skipped with a log line and a toast, and End+ /// turn selects the next one; on e262d289 End turn did nothing at all.</summary>+ [UnityTest]+ public IEnumerator EndTurnSkipsAUnitWithNoTokenAndSelectsTheNext()+ {+ VisualElement ui = null!; GameRoot root = null!;+ yield return Boot((u, g) => { ui = u; root = g; });+ var bridge = root.Bridge!;+ var layer = Object.FindFirstObjectByType<UnitLayer>();+ var lost = bridge.NeedsOrders[0]; var next = bridge.NeedsOrders[1];+ HideTokens(bridge, layer, () => new[] { lost });+ layer.Select(null);+ LogAssert.Expect(LogType.Log, $"END TURN unit {lost} needs orders but has no token to select; skipped this turn");+ UiTestKit.Press(ui.Q<Button>("end-turn"));+ yield return null;+ Assert.IsTrue(bridge.IsSkipped(lost), "the unit with no token is skipped");+ Assert.IsNotNull(layer.Selected, "End turn selects the next unit");+ Assert.AreEqual(next, UnitCard.SimUnit(bridge.Content, bridge.State, layer.Tokens.First(t => t.Token.Unit.Id == layer.Selected).Token));+ StringAssert.Contains("skips this turn", ui.Q<Label>("toast").text, "the player is told");+ }++ /// <summary>No loop: with no unit drawn, one End turn tries each unit once and skips them all, and the next ends the turn.</summary>+ [UnityTest]+ public IEnumerator EndTurnWithNoUnitDrawnSkipsEachOnceThenEndsTheTurn()+ {+ VisualElement ui = null!; GameRoot root = null!;+ yield return Boot((u, g) => { ui = u; root = g; });+ var bridge = root.Bridge!;+ var layer = Object.FindFirstObjectByType<UnitLayer>();+ var needs = bridge.NeedsOrders.ToList();+ Assert.Greater(needs.Count, 1, "precondition: several units need orders");+ HideTokens(bridge, layer, () => bridge.State.Units.Values.Where(x => x.Side == Movement.PlayerSide).Select(x => x.Id));+ foreach (var id in needs) LogAssert.Expect(LogType.Log, $"END TURN unit {id} needs orders but has no token to select; skipped this turn");+ UiTestKit.Press(ui.Q<Button>("end-turn"));+ yield return null;+ CollectionAssert.IsEmpty(bridge.NeedsOrders.ToList(), "each unit was tried once and skipped");+ Assert.IsNull(layer.Selected);+ int before = bridge.State.Turn;+ UiTestKit.Press(ui.Q<Button>("end-turn"));+ yield return null;+ Assert.AreEqual(before + 1, bridge.State.Turn, "End turn then ends the turn");+ }++ /// <summary>UnitPlacer.OnOwnHex: on the unit's own hex, compact, its ring off every drawn spot while the hex has room,+ /// the clear test preferred, and the same spot for the same inputs.</summary>+ [Test]+ public void OnOwnHexKeepsOffTheDrawnSpotsOnTheUnitsOwnHex()+ {+ const double hex = 5000, gap = 1.5 * 0.66 * 0.5 * hex; // UnitLayer's gap: 1.5 compact ring radii+ var used = new List<(double x, double z)> { (0, 0) };+ var spots = new List<AnchorSpot>();+ for (int i = 0; i < 3; i++)+ {+ var s = UnitPlacer.OnOwnHex(4, 7, (0, 0), hex, used, gap, (x, z) => true);+ Assert.AreEqual((4, 7), (s.Q, s.R)); Assert.IsTrue(s.Compact);+ Assert.GreaterOrEqual(used.Min(u => Math.Sqrt((u.x - s.X) * (u.x - s.X) + (u.z - s.Z) * (u.z - s.Z))), gap);+ used.Add((s.X, s.Z)); spots.Add(s);+ }+ Assert.AreEqual(spots[0], UnitPlacer.OnOwnHex(4, 7, (0, 0), hex, new[] { (0.0, 0.0) }, gap, (x, z) => true), "deterministic");+ var clearOnlyLast = UnitPlacer.OnOwnHex(4, 7, (0, 0), hex, new[] { (0.0, 0.0) }, gap, (x, z) => x < -1000);+ Assert.Less(clearOnlyLast.X, -1000, "a clear spot is preferred");+ var full = UnitPlacer.OnOwnHex(4, 7, (0, 0), hex, new[] { (0.0, 0.0) }, 1e9, (x, z) => false);+ Assert.AreEqual((4, 7), (full.Q, full.R), "a full hex still gives a spot");+ }+}diff --git a/unity/Assets/Tests/EditMode/NeedsOrdersDrawnTests.cs.meta b/unity/Assets/Tests/EditMode/NeedsOrdersDrawnTests.cs.metanew file mode 100644index 000000000..ca92e9ab7--- /dev/null+++ b/unity/Assets/Tests/EditMode/NeedsOrdersDrawnTests.cs.meta@@ -0,0 +1,2 @@+fileFormatVersion: 2+guid: bdf0af88bff52420585f03f2f0f6425a\ No newline at end of filediff --git a/unity/Assets/UI/strings.en.yaml b/unity/Assets/UI/strings.en.yamlindex 801f939fa..34777cec6 100644--- a/unity/Assets/UI/strings.en.yaml+++ b/unity/Assets/UI/strings.en.yaml@@ -137,6 +137,8 @@ start.continue: "Continue"start.new_game: "New game"boot.loading: "Loading the map of 1948…"toast.refused: "Not done: {0}"+# End turn skipped a unit that needed orders but had no token on the map to select (GameRoot.FocusNextUnit; a last resort).+toast.unit_unseen_skipped: "A unit that needed orders could not be shown on the map, so it skips this turn"event.office: "{0}: {1}"event.more: "{0} more decisions waiting"event.more_one: "{0} more decision waiting"diff --git a/unity/Assets/UI/strings.he.yaml b/unity/Assets/UI/strings.he.yamlindex 546826d0b..e42dbf9c0 100644--- a/unity/Assets/UI/strings.he.yaml+++ b/unity/Assets/UI/strings.he.yaml@@ -157,6 +157,8 @@ start.continue: "המשך"start.new_game: "משחק חדש"boot.loading: "טוען את מפת 1948…"toast.refused: "לא בוצע: {0}"+# Agent-drafted Hebrew; native review pending (#564).+toast.unit_unseen_skipped: "יחידה שחיכתה להוראות לא הוצגה על המפה, ולכן היא מדלגת על התור הזה"event.office: "{0}: {1}"event.more: "החלטות ממתינות נוספות: {0}"# Approved: owner, 25 Oct 2026 (recommendations page, item 4).