A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.
UI: archival photographs in the event-card header (refs #198) (#240)
Eyal Golanc2089b47e93c
diff --git a/ASSETS.yaml b/ASSETS.yamlindex 231b3d3af..a8189093d 100644--- a/ASSETS.yaml+++ b/ASSETS.yaml@@ -128,4 +128,223 @@ rules:licence: Copernicus-DEMsource: "tools/terrain_bake.py from the Copernicus DEM GLO-30-derived heightmap (unity/Assets/StreamingAssets/map/heightmap.*): AO, curvature, sky-view (Map/terrain_bake.png), coast distance (Map/coast.png) and the AO copy (Map/ao.png); attribution in NOTICE"status: verified+ # --- Event-card header photographs: real archival photos, never AI (docs/event-images.md; owner rulings 2026-10-11) ---+ # Licences and artists re-read from each Commons file page on 2026-10-11; CC BY 4.0 credits are the licensor's credit+ # line from the page's licence template. The mapping and alt texts: unity/Assets/UI/EventImages/event-images.yaml.+ - glob: "unity/Assets/UI/EventImages/idf_founding.jpg"+ licence: CC-BY-4.0+ source: "https://commons.wikimedia.org/wiki/File:Jerusalem_(997008872766605171.jpg"+ status: verified+ artist: "Moshe Marlin Levin"+ credit: "Moshe Marlin Levin / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"+ adapted: "graded and cropped"+ commons: "CC BY 4.0; Cc-by-4.0, Meitar Collection/license credit line, National Library of Israel/Meitar Collection; Items with VRTS permission confirmed"+ note: "Event idf_founding. Original 686x1200, SHA-1 2f0905da8614028f03d981bbd07cb77c7e19059b (https://upload.wikimedia.org/wikipedia/commons/0/0b/Jerusalem_%28997008872766605171.jpg); made by tools/event_images.py (crop [0.5, 0.52, 0.94]). Commons VRTS permission ticket 2021092910005788. The NLI calls it the IDF founding ceremony at the Rehavia Gymnasium (the first IDF parade in Jerusalem), June 1948, just after the event window. Colour slide shown in monochrome (the grade); the slide mount and its handwriting are cropped away. Licence verified 2026-10-11 via the Commons API (licence review), with the owner's sign-off 2026-10-11 (in session, via controller)."+ - glob: "unity/Assets/UI/EventImages/first_truce.jpg"+ licence: CC-BY-4.0+ source: "https://commons.wikimedia.org/wiki/File:Jerusalem_(997008872623805171).jpg"+ status: verified+ artist: "Moshe Marlin Levin"+ credit: "Moshe Marlin Levin / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"+ adapted: "graded and cropped"+ commons: "CC BY 4.0; Cc-by-4.0, Meitar Collection/license credit line, National Library of Israel/Meitar Collection; Items with VRTS permission confirmed"+ note: "Event first_truce. Original 2000x1334, SHA-1 c61bbf24a941d9568eb2b6dcb429a35b8692fe38 (https://upload.wikimedia.org/wikipedia/commons/9/94/Jerusalem_%28997008872623805171%29.jpg); made by tools/event_images.py (crop [0.5, 0.55, 1.0]). Commons VRTS permission ticket 2021092910005788. Colour slide shown in monochrome (the grade). NLI: taken 'during a pause in the fighting'; which truce is not recorded. Licence verified 2026-10-11 via the Commons API (licence review), with the owner's sign-off 2026-10-11 (in session, via controller)."+ - glob: "unity/Assets/UI/EventImages/altalena.jpg"+ licence: CC-BY-4.0+ source: "https://commons.wikimedia.org/wiki/File:1948_Arab-Israeli_War_(997008136847805171).jpg"+ status: verified+ artist: "Benno Rothenberg"+ credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"+ adapted: "graded and cropped"+ commons: "CC BY 4.0; Cc-by-4.0, Meitar Collection/license credit line, National Library of Israel/Meitar Collection; Items with VRTS permission confirmed"+ note: "Event altalena. Original 1362x924, SHA-1 80f3a7175284948b1232f54ae521d66d11580866 (https://upload.wikimedia.org/wikipedia/commons/f/f7/1948_Arab-Israeli_War_%28997008136847805171%29.jpg); made by tools/event_images.py (crop [0.5, 0.58, 1.0]). Commons VRTS permission ticket 2021092910005788. SENSITIVE: the picture needs the owner's sensitivity review before a shareable build may carry it (sensitivity_reviewed in event-images.yaml; Build.cs -shareable refuses until then). Replaces the burning-ship frame (owner-delegated ruling 2026-10-11: no outcome before the choice). NLI: 'A moment before the shelling of the Altalena, the Irgun's arms ship. The Altalena approaches the Tel Aviv shore', dated 20 June 1948 (in the event window). No Altalena frame from Kfar Vitkin was found on Commons under a usable licence: the Meitar frames are all at Tel Aviv, and the others found are GPO, PD-Israel or CC BY-SA. Replacement picked 2026-10-11 under the controller's ruling (owner-delegated): a pre-decision or in-window photograph, nothing graphic; licence, SHA-1 and credit read through the Commons API. Sensitivity review: owner sign-off 2026-10-11 (in session, via controller). Licence verified 2026-10-11 via the Commons API (licence review), with the owner's sign-off 2026-10-11 (in session, via controller)."+ - glob: "unity/Assets/UI/EventImages/ten_days.jpg"+ licence: CC-BY-4.0+ source: "https://commons.wikimedia.org/wiki/File:1948_Arab-Israeli_War_997009323190005171.jpg"+ status: verified+ artist: "Boris Carmi"+ credit: "Boris Carmi / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"+ adapted: "graded and cropped"+ commons: "CC BY 4.0; Cc-by-4.0, Meitar Collection/license credit line, National Library of Israel/Meitar Collection; Items with VRTS permission confirmed"+ note: "Event ten_days. Original 1322x1297, SHA-1 b0e87fdf628f8df263c9ad0034fc47016110a343 (https://upload.wikimedia.org/wikipedia/commons/b/b0/1948_Arab-Israeli_War_997009323190005171.jpg); made by tools/event_images.py (crop [0.5, 0.4, 1.0]). Commons VRTS permission ticket 2021092910005788. SENSITIVE: the picture needs the owner's sensitivity review before a shareable build may carry it (sensitivity_reviewed in event-images.yaml; Build.cs -shareable refuses until then). Replaces the near-portrait of one named woman (owner-delegated ruling 2026-10-11: portraits stay PD or CC0). NLI: 'The capture of the airport at Lydda in the War of Independence', 10 July 1948 (in the event window). Two unnamed soldiers; the airport itself is not in the frame. The 82nd Battalion series of the same day is in 'Meitar Collection (review needed)' on Commons and was not used. Replacement picked 2026-10-11 under the controller's ruling (owner-delegated): a pre-decision or in-window photograph, nothing graphic; licence, SHA-1 and credit read through the Commons API. Sensitivity review: owner sign-off 2026-10-11 (in session, via controller). Licence verified 2026-10-11 via the Commons API (licence review), with the owner's sign-off 2026-10-11 (in session, via controller)."+ - glob: "unity/Assets/UI/EventImages/second_truce.jpg"+ licence: CC0-1.0+ source: "https://commons.wikimedia.org/wiki/File:Graaf_Bernadotte_op_Schiphol,_Bestanddeelnr_934-6899.jpg"+ status: verified+ artist: "Ben Merk / Anefo"+ credit: "Ben Merk / Anefo, Nationaal Archief (Anefo 934-6899) · CC0 · graded and cropped"+ adapted: "graded and cropped"+ commons: "CC0; CC-zero, Nationaal Archief"+ note: "Event second_truce. Original 3205x2504, SHA-1 fb5bef2114d8d19013884a39b2b3534440e87e47 (https://upload.wikimedia.org/wikipedia/commons/6/63/Graaf_Bernadotte_op_Schiphol%2C_Bestanddeelnr_934-6899.jpg); made by tools/event_images.py (crop [0.5, 0.35, 1.0]). Nationaal Archief record: 'Auteursrechthebbende: Nationaal Archief, CC0'. Taken in Amsterdam. Licence verified 2026-10-11 via the Commons API (licence review), with the owner's sign-off 2026-10-11 (in session, via controller)."+ - glob: "unity/Assets/UI/EventImages/jerusalem_military_government.jpg"+ licence: CC-BY-4.0+ source: "https://commons.wikimedia.org/wiki/File:Jerusalem_(997008872608005171.jpg"+ status: verified+ artist: "Moshe Marlin Levin"+ credit: "Moshe Marlin Levin / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"+ adapted: "graded and cropped"+ commons: "CC BY 4.0; Cc-by-4.0, Meitar Collection/license credit line, National Library of Israel/Meitar Collection; Items with VRTS permission confirmed"+ note: "Event jerusalem_military_government. Original 2000x1322, SHA-1 241a9575d316acca61a4218caabffbc9987217d5 (https://upload.wikimedia.org/wikipedia/commons/6/6e/Jerusalem_%28997008872608005171.jpg); made by tools/event_images.py (crop [0.5, 0.64, 1.0]). Commons VRTS permission ticket 2021092910005788. Context, a month before the event window (the NLI dates it June 1948). Colour slide shown in monochrome (the grade). Licence verified 2026-10-11 via the Commons API (licence review), with the owner's sign-off 2026-10-11 (in session, via controller)."+ - glob: "unity/Assets/UI/EventImages/latrun_proposal.jpg"+ licence: CC-BY-4.0+ source: "https://commons.wikimedia.org/wiki/File:Latrun_(997009322899505171.jpg"+ status: verified+ artist: "Boris Carmi"+ credit: "Boris Carmi / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"+ adapted: "graded and cropped"+ commons: "CC BY 4.0; Cc-by-4.0, Meitar Collection/license credit line, National Library of Israel/Meitar Collection; Items with VRTS permission confirmed"+ note: "Event latrun_proposal. Original 1314x1314, SHA-1 b7c373c3b9d8ef7cd18c60b5bad42a682106784d (https://upload.wikimedia.org/wikipedia/commons/9/97/Latrun_%28997009322899505171.jpg); made by tools/event_images.py (crop [0.5, 0.56, 1.0]). Commons VRTS permission ticket 2021092910005788. Licence verified 2026-10-11 via the Commons API (licence review), with the owner's sign-off 2026-10-11 (in session, via controller)."+ - glob: "unity/Assets/UI/EventImages/bernadotte_assassination.jpg"+ licence: CC-BY-4.0+ source: "https://commons.wikimedia.org/wiki/File:Ben_Gurion_International_Airport_(997008136963805171).jpg"+ status: verified+ artist: "Benno Rothenberg"+ credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"+ adapted: "graded and cropped"+ commons: "CC BY 4.0; Cc-by-4.0, Meitar Collection/license credit line, National Library of Israel/Meitar Collection; Items with VRTS permission confirmed"+ note: "Event bernadotte_assassination. Original 1476x900, SHA-1 f2d01b034fdac97de865b2a0903bf72c43919c81 (https://upload.wikimedia.org/wikipedia/commons/e/ef/Ben_Gurion_International_Airport_%28997008136963805171%29.jpg); made by tools/event_images.py (crop [0.5, 0.45, 1.0]). Commons VRTS permission ticket 2021092910005788. SENSITIVE: the picture needs the owner's sensitivity review before a shareable build may carry it (sensitivity_reviewed in event-images.yaml; Build.cs -shareable refuses until then). This frame shows the officials saluting by the UN aircraft (Ralph Bunche at left); the coffin is not in it. Identifiable officials. Sensitivity review: owner sign-off 2026-10-11 (in session, via controller). Licence verified 2026-10-11 via the Commons API (licence review), with the owner's sign-off 2026-10-11 (in session, via controller)."+ - glob: "unity/Assets/UI/EventImages/operation_yoav.jpg"+ licence: CC-BY-4.0+ source: "https://commons.wikimedia.org/wiki/File:1948_Arab-Israeli_War_997008137023805171.jpg"+ status: verified+ artist: "Benno Rothenberg"+ credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"+ adapted: "graded and cropped"+ commons: "CC BY 4.0; Cc-by-4.0, Meitar Collection/license credit line, National Library of Israel/Meitar Collection; Items with VRTS permission confirmed"+ note: "Event operation_yoav. Original 1459x916, SHA-1 0069029bf7941c344f27d9600ed68c04c9df7d3b (https://upload.wikimedia.org/wikipedia/commons/8/8f/1948_Arab-Israeli_War_997008137023805171.jpg); made by tools/event_images.py (crop [0.5, 0.48, 1.0]). Commons VRTS permission ticket 2021092910005788. SENSITIVE: the picture needs the owner's sensitivity review before a shareable build may carry it (sensitivity_reviewed in event-images.yaml; Build.cs -shareable refuses until then). Replaces Beersheba on the day it was taken (owner-delegated ruling 2026-10-11: no outcome before the choice). NLI: 'IDF forces go down before the start of Operation Yoav to free the besieged Negev', 13 October 1948, two days before the event window. Unnamed officers. Replacement picked 2026-10-11 under the controller's ruling (owner-delegated): a pre-decision or in-window photograph, nothing graphic; licence, SHA-1 and credit read through the Commons API. Sensitivity review: owner sign-off 2026-10-11 (in session, via controller). Licence verified 2026-10-11 via the Commons API (licence review), with the owner's sign-off 2026-10-11 (in session, via controller)."+ - glob: "unity/Assets/UI/EventImages/operation_hiram.jpg"+ licence: CC-BY-4.0+ source: "https://commons.wikimedia.org/wiki/File:Galilee_(997009323161505171.jpg"+ status: verified+ artist: "Boris Carmi"+ credit: "Boris Carmi / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"+ adapted: "graded and cropped"+ commons: "CC BY 4.0; Cc-by-4.0, Meitar Collection/license credit line, National Library of Israel/Meitar Collection; Items with VRTS permission confirmed"+ note: "Event operation_hiram. Original 1273x1314, SHA-1 0c130ac6cd06aa8c74e5fd4e102f817c57c34ddd (https://upload.wikimedia.org/wikipedia/commons/8/88/Galilee_%28997009323161505171.jpg); made by tools/event_images.py (crop [0.5, 0.44, 1.0]). Commons VRTS permission ticket 2021092910005788. SENSITIVE: the picture needs the owner's sensitivity review before a shareable build may carry it (sensitivity_reviewed in event-images.yaml; Build.cs -shareable refuses until then). Sensitivity review: owner sign-off 2026-10-11 (in session, via controller). Licence verified 2026-10-11 via the Commons API (licence review), with the owner's sign-off 2026-10-11 (in session, via controller)."+ - glob: "unity/Assets/UI/EventImages/jerusalem_ceasefire.jpg"+ licence: CC0-1.0+ source: "https://commons.wikimedia.org/wiki/File:Jeruzalem._Wegversperringen_in_de_Propheet_Samuelstraat,_op_de_grens_tussen_Jord,_Bestanddeelnr_255-0327.jpg"+ status: verified+ artist: "Willem van de Poll"+ credit: "Willem van de Poll, Nationaal Archief (Van de Poll 255-0327) · CC0 · graded and cropped"+ adapted: "graded and cropped"+ commons: "CC0; CC-zero, Nationaal Archief"+ note: "Event jerusalem_ceasefire. Original 2629x2613, SHA-1 c6638d02c2c60c7a88c0206623509f3801136a54 (https://upload.wikimedia.org/wikipedia/commons/b/b8/Jeruzalem._Wegversperringen_in_de_Propheet_Samuelstraat%2C_op_de_grens_tussen_Jord%2C_Bestanddeelnr_255-0327.jpg); made by tools/event_images.py (crop [0.5, 0.6, 1.0]). Nationaal Archief record: 'Auteursrechthebbende: Nationaal Archief, CC0'. Exact date not recorded (Van de Poll's 1948-1949 series). Licence verified 2026-10-11 via the Commons API (licence review), with the owner's sign-off 2026-10-11 (in session, via controller)."+ - glob: "unity/Assets/UI/EventImages/operation_horev.jpg"+ licence: CC-BY-4.0+ source: "https://commons.wikimedia.org/wiki/File:1948_Arab-Israeli_War_997008137257005171.jpg"+ status: verified+ artist: "Benno Rothenberg"+ credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"+ adapted: "graded and cropped"+ commons: "CC BY 4.0; Cc-by-4.0, Meitar Collection/license credit line, National Library of Israel/Meitar Collection; Items with VRTS permission confirmed"+ note: "Event operation_horev. Original 1476x932, SHA-1 bce4cc3336c0a4ca544b7a1645e0e9289216d89b (https://upload.wikimedia.org/wikipedia/commons/9/97/1948_Arab-Israeli_War_997008137257005171.jpg); made by tools/event_images.py (crop [0.38, 0.6, 0.7]). Commons VRTS permission ticket 2021092910005788. SENSITIVE: the picture needs the owner's sensitivity review before a shareable build may carry it (sensitivity_reviewed in event-images.yaml; Build.cs -shareable refuses until then). Research alternate 1, not pick 2: pick 2 (997008137258905171) has two covered bundles on the track that could not be identified at full resolution. The right side of this negative is fogged; the crop keeps the left two-thirds. Sensitivity review: owner sign-off 2026-10-11 (in session, via controller). Licence verified 2026-10-11 via the Commons API (licence review), with the owner's sign-off 2026-10-11 (in session, via controller)."+ - glob: "unity/Assets/UI/EventImages/elections_1949.jpg"+ licence: CC-BY-4.0+ source: "https://commons.wikimedia.org/wiki/File:Meitar_Collection_(997008137164005171.jpg"+ status: verified+ artist: "Benno Rothenberg"+ credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"+ adapted: "graded and cropped"+ commons: "CC BY 4.0; Cc-by-4.0, Meitar Collection/license credit line, National Library of Israel/Meitar Collection; Items with VRTS permission confirmed"+ note: "Event elections_1949. Original 945x665, SHA-1 b651d1645cc6b346e849cb4197ab2e9b99a2c950 (https://upload.wikimedia.org/wikipedia/commons/5/5f/Meitar_Collection_%28997008137164005171.jpg); made by tools/event_images.py (crop [0.5, 0.48, 1.0]). Commons VRTS permission ticket 2021092910005788. Licence verified 2026-10-11 via the Commons API (licence review), with the owner's sign-off 2026-10-11 (in session, via controller)."+ - glob: "unity/Assets/UI/EventImages/armistice_egypt.jpg"+ licence: CC-BY-4.0+ source: "https://commons.wikimedia.org/wiki/File:Meitar_Collection_(997008137405105171.jpg"+ status: verified+ artist: "Benno Rothenberg"+ credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"+ adapted: "graded and cropped"+ commons: "CC BY 4.0; Cc-by-4.0, Meitar Collection/license credit line, National Library of Israel/Meitar Collection; Items with VRTS permission confirmed"+ note: "Event armistice_egypt. Original 1873x1330, SHA-1 c76e85fe84c63805aed6eb04c04c140511b16d21 (https://upload.wikimedia.org/wikipedia/commons/d/d6/Meitar_Collection_%28997008137405105171.jpg); made by tools/event_images.py (crop [0.5, 0.5, 1.0]). Commons VRTS permission ticket 2021092910005788. Context, three months before the armistice. Licence verified 2026-10-11 via the Commons API (licence review), with the owner's sign-off 2026-10-11 (in session, via controller)."+ - glob: "unity/Assets/UI/EventImages/armistice_jordan.jpg"+ licence: CC-BY-4.0+ source: "https://commons.wikimedia.org/wiki/File:Ben_Gurion_International_Airport_(997008137543905171).jpg"+ status: verified+ artist: "Benno Rothenberg"+ credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"+ adapted: "graded and cropped"+ commons: "CC BY 4.0; Cc-by-4.0, Meitar Collection/license credit line, National Library of Israel/Meitar Collection; Items with VRTS permission confirmed"+ note: "Event armistice_jordan. Original 920x657, SHA-1 b43662888bdc03a1c09952b094c52e996e138cae (https://upload.wikimedia.org/wikipedia/commons/d/dc/Ben_Gurion_International_Airport_%28997008137543905171%29.jpg); made by tools/event_images.py (crop [0.5, 0.45, 1.0]). Commons VRTS permission ticket 2021092910005788. Identifiable officials (probably among them Moshe Dayan and Walter Eytan; the NLI caption does not name them). Licence verified 2026-10-11 via the Commons API (licence review), with the owner's sign-off 2026-10-11 (in session, via controller)."+ - glob: "unity/Assets/UI/EventImages/austerity_1949.jpg"+ licence: CC-BY-4.0+ source: "https://commons.wikimedia.org/wiki/File:Meitar_Collection_(997008136819405171).jpg"+ status: verified+ artist: "Benno Rothenberg"+ credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"+ adapted: "graded and cropped"+ commons: "CC BY 4.0; Cc-by-4.0, Meitar Collection/license credit line, National Library of Israel/Meitar Collection; Items with VRTS permission confirmed"+ note: "Event austerity_1949. Original 941x661, SHA-1 3304e182575fd203ab3d5c1f400eba2e5227df64 (https://upload.wikimedia.org/wikipedia/commons/c/c5/Meitar_Collection_%28997008136819405171%29.jpg); made by tools/event_images.py (crop [0.5, 0.45, 1.0]). Commons VRTS permission ticket 2021092910005788. Licence verified 2026-10-11 via the Commons API (licence review), with the owner's sign-off 2026-10-11 (in session, via controller)."+ - glob: "unity/Assets/UI/EventImages/frumkin_commission.jpg"+ licence: CC-BY-4.0+ source: "https://commons.wikimedia.org/wiki/File:Rosh_Ha%27Ayin_(997008136256005171).jpg"+ status: verified+ artist: "Benno Rothenberg"+ credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection / Israel State Archives · CC BY 4.0 · graded and cropped"+ adapted: "graded and cropped"+ commons: "CC BY 4.0; Cc-by-4.0, Meitar Collection/license credit line2, National Library of Israel/Meitar Collection; Items with VRTS permission confirmed"+ note: "Event frumkin_commission. Original 1249x1338, SHA-1 eb469d7bf52b6c15a005cfb2a9e0c22f8ce80c21 (https://upload.wikimedia.org/wikipedia/commons/b/b5/Rosh_Ha%27Ayin_%28997008136256005171%29.jpg); made by tools/event_images.py (crop [0.5, 0.52, 1.0]). Commons VRTS permission ticket 2021092910005788. Licence verified 2026-10-11 via the Commons API (licence review), with the owner's sign-off 2026-10-11 (in session, via controller)."+ - glob: "unity/Assets/UI/EventImages/maabarot_policy.jpg"+ licence: CC-BY-4.0+ source: "https://commons.wikimedia.org/wiki/File:Ma%27abara_(997008136927805171.jpg"+ status: verified+ artist: "Benno Rothenberg"+ credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"+ adapted: "graded and cropped"+ commons: "CC BY 4.0; Cc-by-4.0, Meitar Collection/license credit line, National Library of Israel/Meitar Collection; Items with VRTS permission confirmed"+ note: "Event maabarot_policy. Original 1914x1322, SHA-1 ee0b388c7cb1eed63a920d4b3831119c9ab28ff6 (https://upload.wikimedia.org/wikipedia/commons/9/9e/Ma%27abara_%28997008136927805171.jpg); made by tools/event_images.py (crop [0.5, 0.55, 1.0]). Commons VRTS permission ticket 2021092910005788. Licence verified 2026-10-11 via the Commons API (licence review), with the owner's sign-off 2026-10-11 (in session, via controller)."+ - glob: "unity/Assets/UI/EventImages/law_of_return.jpg"+ licence: CC-BY-4.0+ source: "https://commons.wikimedia.org/wiki/File:Jerusalem_(997008136347905171).jpg"+ status: verified+ artist: "Benno Rothenberg"+ credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"+ adapted: "graded and cropped"+ commons: "CC BY 4.0; Cc-by-4.0, Meitar Collection/license credit line, National Library of Israel/Meitar Collection; Items with VRTS permission confirmed"+ note: "Event law_of_return. Original 1330x1346, SHA-1 8414ef53805ec5628dc8a7d20ec1593c3a83982d (https://upload.wikimedia.org/wikipedia/commons/b/b8/Jerusalem_%28997008136347905171%29.jpg); made by tools/event_images.py (crop [0.5, 0.55, 1.0]). Commons VRTS permission ticket 2021092910005788. Licence verified 2026-10-11 via the Commons API (licence review), with the owner's sign-off 2026-10-11 (in session, via controller)."+ - glob: "unity/Assets/UI/EventImages/clothing_rationing_1950.jpg"+ licence: CC-BY-4.0+ source: "https://commons.wikimedia.org/wiki/File:Tel_Aviv-Yafo_997008137472205171.jpg"+ status: verified+ artist: "Benno Rothenberg"+ credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"+ adapted: "graded and cropped"+ commons: "CC BY 4.0; Cc-by-4.0, Meitar Collection/license credit line, National Library of Israel/Meitar Collection; Items with VRTS permission confirmed"+ note: "Event clothing_rationing_1950. Original 1330x1314, SHA-1 65d46a266250b3e28b0adf3f44f43d03c91b836e (https://upload.wikimedia.org/wikipedia/commons/0/06/Tel_Aviv-Yafo_997008137472205171.jpg); made by tools/event_images.py (crop [0.5, 0.62, 1.0]). Commons VRTS permission ticket 2021092910005788. Licence verified 2026-10-11 via the Commons API (licence review), with the owner's sign-off 2026-10-11 (in session, via controller)."+ - glob: "unity/Assets/UI/EventImages/ministry_supply_crisis.jpg"+ licence: CC-BY-4.0+ source: "https://commons.wikimedia.org/wiki/File:Tel_Aviv-Yafo_997008137468405171.jpg"+ status: verified+ artist: "Benno Rothenberg"+ credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"+ adapted: "graded and cropped"+ commons: "CC BY 4.0; Cc-by-4.0, Meitar Collection/license credit line, National Library of Israel/Meitar Collection; Items with VRTS permission confirmed"+ note: "Event ministry_supply_crisis. Original 1889x1314, SHA-1 847ad5f90f86a9754d5cfb7b1af77731d636333c (https://upload.wikimedia.org/wikipedia/commons/6/6a/Tel_Aviv-Yafo_997008137468405171.jpg); made by tools/event_images.py (crop [0.5, 0.5, 1.0]). Commons VRTS permission ticket 2021092910005788. Context, six months before the event. Licence verified 2026-10-11 via the Commons API (licence review), with the owner's sign-off 2026-10-11 (in session, via controller)."+ - glob: "unity/Assets/UI/EventImages/hula_drainage.jpg"+ licence: CC-BY-4.0+ source: "https://commons.wikimedia.org/wiki/File:Hula_Valley_(997008137583605171.jpg"+ status: verified+ artist: "Benno Rothenberg"+ credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"+ adapted: "graded and cropped"+ commons: "CC BY 4.0; Cc-by-4.0, Meitar Collection/license credit line, National Library of Israel/Meitar Collection; Items with VRTS permission confirmed"+ note: "Event hula_drainage. Original 1322x1322, SHA-1 81b3d2ddbf29f916c54a988338aaa44348cf0afe (https://upload.wikimedia.org/wikipedia/commons/0/0a/Hula_Valley_%28997008137583605171.jpg); made by tools/event_images.py (crop [0.5, 0.42, 1.0]). Commons VRTS permission ticket 2021092910005788. Licence verified 2026-10-11 via the Commons API (licence review), with the owner's sign-off 2026-10-11 (in session, via controller)."+ - glob: "unity/Assets/UI/EventImages/iraqi_exodus.jpg"+ licence: CC-BY-4.0+ source: "https://commons.wikimedia.org/wiki/File:Aliyah_(997008136551705171).jpg"+ status: verified+ artist: "Benno Rothenberg"+ credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"+ adapted: "graded and cropped"+ commons: "CC BY 4.0; Cc-by-4.0, Meitar Collection/license credit line, National Library of Israel/Meitar Collection; Items with VRTS permission confirmed"+ note: "Event iraqi_exodus. Original 1914x1322, SHA-1 70c4dfa48f2794853b6eb6229663f2840c68c613 (https://upload.wikimedia.org/wikipedia/commons/1/1d/Aliyah_%28997008136551705171%29.jpg); made by tools/event_images.py (crop [0.5, 0.55, 1.0]). Commons VRTS permission ticket 2021092910005788. Licence verified 2026-10-11 via the Commons API (licence review), with the owner's sign-off 2026-10-11 (in session, via controller)."+ - glob: "unity/Assets/UI/EventImages/israel_bonds.jpg"+ licence: Public-Domain+ source: "https://commons.wikimedia.org/wiki/File:Photograph_of_President_Truman_in_the_Oval_Office,_evidently_receiving_a_Menorah_as_a_gift_from_the_Prime_Minister_of..._-_NARA_-_200318.jpg"+ status: verified+ artist: "Abbie Rowe"+ credit: "Abbie Rowe, National Park Service / U.S. National Archives (NARA 200318) · public domain · graded and cropped"+ adapted: "graded and cropped"+ commons: "Public domain; PD-USGov, NARA-cooperation"+ note: "Event israel_bonds. Original 3000x2393, SHA-1 990a79527ad34e1296129d1956bad1e602127db8 (https://upload.wikimedia.org/wikipedia/commons/5/53/Photograph_of_President_Truman_in_the_Oval_Office%2C_evidently_receiving_a_Menorah_as_a_gift_from_the_Prime_Minister_of..._-_NARA_-_200318.jpg); made by tools/event_images.py (crop [0.5, 0.58, 1.0]). US federal work (Abbie Rowe, National Park Service photographer at the White House), public domain in the US. Licence verified 2026-10-11 via the Commons API (licence review), with the owner's sign-off 2026-10-11 (in session, via controller)."removed: []diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 0997cb5ca..faf519352 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -53,6 +53,16 @@ adds a line under **Unreleased**; CI's `Changelog` job checks this (see `CONTRIB- The sea and coast in the promo look: turquoise shallows that deepen to a muted blue offshore, rolling surf filteredso it does not shimmer, a fine chop, and a sand strip with wet sand along every sea-level coast (salt flats at theDead Sea). Presentation only.+- Event cards have a promo-style header photograph: real archival photographs for 24 of the 31 events (Meitar+ Collection / National Library of Israel under CC BY 4.0, Nationaal Archief under CC0, and the US National Archives),+ shown in black and white with a subtle sepia/navy grade and a gold frame, with a credit line and alt text. The seven+ events without a free photograph keep the minister's portrait. No card shows the outcome of the choice it asks+ for. On a short window the body scrolls to keep the photograph whole, which also shows photographs at 21:9; if the+ options would be cut, the photograph is dropped whole rather than cut through its credit, and it returns when the+ window grows. Sensitive pictures need the owner's review+ before a `-shareable` build, and `tools/package_release.py` now refuses a build folder that was not built+ `-shareable` or carries an unreviewed sensitive picture (docs/event-images.md). Presentation only: the content hash+ and saves are unchanged.- The unit art slice (a showcase for the art track, not gameplay): a 1948 IDF rifle trio with a selection ring, an IAFSpitfire flying a loop with its shadow, and the corvette INS Haganah, built from code as painted miniatures at thepromo's symbolic scale. Shown only with `?units` (desktop `-units`) and in `tools/art_checkpoint.sh --units`; andiff --git a/LICENSING.md b/LICENSING.mdindex c3a380d1f..7414d3fb8 100644--- a/LICENSING.md+++ b/LICENSING.md@@ -6,11 +6,12 @@ Different parts of this repository are under different licences. Where a file is|---|---|---|| Code | `sim/`, `tools/` (Python), `scripts/`, `.github/`, `.gitignore`, `unity/Assets/Scripts/`, `unity/Assets/Editor/`, `unity/Assets/Tests/`, `promo/*.py`, `spikes/` code, and everything else under `unity/Assets/` not listed below (scenes such as `Map.unity`, `WebGLTemplates/`, `link.xml`, `*.inputactions`, `.meta` files) | [MIT](LICENSE) || Game content (text and data) | `content/` (events, people, offices, model, rules, map YAML/JSON), except the third-party map data below | [CC BY-SA 4.0](LICENSES/CC-BY-SA-4.0.txt), credit "Statecraft: Israel contributors". The text paraphrases its cited sources, many from Wikipedia (CC BY-SA), so share-alike applies; each entry lists its sources |-| Original docs, art and UI assets | `docs/`, the root `*.md` files (except `LICENSE`), `ASSETS.yaml`, `ASSETS.portraits.yaml`, `promo/shots.json`, `promo/CREDITS.md`, `tools/README.md`, `reports/` (our own text), `research_notes/` (our own text), `unity/Assets/UI/*.uxml`, `*.uss`, `strings.en.yaml`, `unity/Assets/Materials/`, `unity/Assets/Resources/Units/` (materials), `unity/Assets/Shaders/`, `unity/Assets/UI/*.asset`, `unity/Assets/WebGLTemplates/Statecraft/favicon.ico`, `promo/ref/geo-reference.png` | [CC BY 4.0](LICENSES/CC-BY-4.0.txt), credit "Statecraft: Israel contributors" |+| Original docs, art and UI assets | `docs/`, the root `*.md` files (except `LICENSE`), `ASSETS.yaml`, `ASSETS.portraits.yaml`, `promo/shots.json`, `promo/CREDITS.md`, `tools/README.md`, `reports/` (our own text), `research_notes/` (our own text), `unity/Assets/UI/*.uxml`, `*.uss`, `strings.en.yaml`, `unity/Assets/Materials/`, `unity/Assets/Resources/Units/` (materials), `unity/Assets/Shaders/`, `unity/Assets/UI/*.asset`, `unity/Assets/WebGLTemplates/Statecraft/favicon.ico`, `unity/Assets/Resources/EventImageCatalog.asset` (the event-photo catalog: alt texts, credits and flags; the pictures it points to are under their own licences below), `promo/ref/geo-reference.png` | [CC BY 4.0](LICENSES/CC-BY-4.0.txt), credit "Statecraft: Israel contributors" || Unity template-derived files | `unity/Assets/Settings/` (URP assets, renderers, volume profiles), `spikes/m0/unity/Assets/Settings/`, `spikes/m0/unity/Assets/UI Toolkit/UnityThemes/`, and any Shader Graph generated from a Unity template (for example `unity/Assets/Shaders/StatecraftTerrain.shadergraph`, from "Terrain Simple") | Created from Unity's project or graph templates and edited; under the [Unity Companion License](https://unity.com/legal/licenses/unity-companion-license) (use with Unity), not MIT || AI-generated images | `promo/final/01`–`08`, `promo/ref/*-src.jpg`, `docs/images/hero-concept-1936.jpg` | Marked [CC0 1.0](LICENSES/CC0-1.0.txt). No rights are claimed. Purely AI-generated output may not be copyrightable. Made with the ElevenLabs Image API (see `promo/CREDITS.md`). || In-engine captures | `promo/final/09`, `10`, `docs/images/build-*.jpg`, `docs/images/social-preview.jpg`, `spikes/m0/evidence/*.jpg`, `spikes/m0/evidence/*.txt` (logs) | CC BY 4.0. They show the Copernicus-derived terrain; see below. || Portraits | `unity/Assets/UI/Portraits/`, `promo/ref/people/`, `promo/ref/*-sheet.jpg` | Public-domain photographs from Wikimedia Commons, plus one CC0 file (Moshe Dayan, 1962). Per-file sources are in `content/people.yaml` and `promo/CREDITS.md`. |+| Event-card photographs | `unity/Assets/UI/EventImages/*.jpg` | Archival photographs from Wikimedia Commons, each under its own licence: CC BY 4.0 (Meitar Collection, National Library of Israel; credits in [NOTICE](NOTICE)), CC0 1.0 (Nationaal Archief) or public domain (US National Archives). All are adapted (graded and cropped). Per-file records in `ASSETS.yaml`; the mapping `event-images.yaml` beside them is CC BY 4.0 like the other UI assets. || Fonts | `unity/Assets/UI/Fonts/` | EB Garamond, [SIL Open Font License 1.1](unity/Assets/UI/Fonts/OFL.txt) || Terrain heightmap | `unity/Assets/StreamingAssets/map/heightmap.*`, `content/map/hexes.json` (elevations) | Derived from Copernicus GLO-30 under the Copernicus DEM licence. Required notice: "produced using Copernicus WorldDEM-30 (c) DLR e.V. 2010-2014 and (c) Airbus Defence and Space GmbH 2014-2018 provided under COPERNICUS by the European Union and ESA; all rights reserved" || Precipitation grid | `content/map/precip_bio12.*` | CHELSA V2.1, CC0 1.0 (Karger et al. 2017, 2021; see `tools/README.md`) |diff --git a/NOTICE b/NOTICEindex f3a6b27a4..ae2697c86 100644--- a/NOTICE+++ b/NOTICE@@ -35,6 +35,81 @@ and georeferencing published by Palestine Open Maps (https://palopenmaps.org).Portraits: public-domain and CC0 photographs from Wikimedia Commons; per-file records in ASSETS.portraits.yaml.+Event-card photographs (unity/Assets/UI/EventImages/; per-file records in ASSETS.yaml). Each is adapted: graded and+cropped (shown in black and white with a navy-sepia tone, cropped and resized; nothing else changed).+CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/), via Wikimedia Commons:+- idf_founding.jpg: Moshe Marlin Levin / Meitar Collection / National Library of Israel / The Pritzker Family National+ Photography Collection, CC BY 4.0, graded and cropped.+ https://commons.wikimedia.org/wiki/File:Jerusalem_(997008872766605171.jpg+- first_truce.jpg: Moshe Marlin Levin / Meitar Collection / National Library of Israel / The Pritzker Family National+ Photography Collection, CC BY 4.0, graded and cropped.+ https://commons.wikimedia.org/wiki/File:Jerusalem_(997008872623805171).jpg+- altalena.jpg: Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National+ Photography Collection, CC BY 4.0, graded and cropped.+ https://commons.wikimedia.org/wiki/File:1948_Arab-Israeli_War_(997008136847805171).jpg+- ten_days.jpg: Boris Carmi / Meitar Collection / National Library of Israel / The Pritzker Family National Photography+ Collection, CC BY 4.0, graded and cropped.+ https://commons.wikimedia.org/wiki/File:1948_Arab-Israeli_War_997009323190005171.jpg+- jerusalem_military_government.jpg: Moshe Marlin Levin / Meitar Collection / National Library of Israel / The+ Pritzker Family National Photography Collection, CC BY 4.0, graded and cropped.+ https://commons.wikimedia.org/wiki/File:Jerusalem_(997008872608005171.jpg+- latrun_proposal.jpg: Boris Carmi / Meitar Collection / National Library of Israel / The Pritzker Family National+ Photography Collection, CC BY 4.0, graded and cropped.+ https://commons.wikimedia.org/wiki/File:Latrun_(997009322899505171.jpg+- bernadotte_assassination.jpg: Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker+ Family National Photography Collection, CC BY 4.0, graded and cropped.+ https://commons.wikimedia.org/wiki/File:Ben_Gurion_International_Airport_(997008136963805171).jpg+- operation_yoav.jpg: Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National+ Photography Collection, CC BY 4.0, graded and cropped.+ https://commons.wikimedia.org/wiki/File:1948_Arab-Israeli_War_997008137023805171.jpg+- operation_hiram.jpg: Boris Carmi / Meitar Collection / National Library of Israel / The Pritzker Family National+ Photography Collection, CC BY 4.0, graded and cropped.+ https://commons.wikimedia.org/wiki/File:Galilee_(997009323161505171.jpg+- operation_horev.jpg: Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family+ National Photography Collection, CC BY 4.0, graded and cropped.+ https://commons.wikimedia.org/wiki/File:1948_Arab-Israeli_War_997008137257005171.jpg+- elections_1949.jpg: Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National+ Photography Collection, CC BY 4.0, graded and cropped.+ https://commons.wikimedia.org/wiki/File:Meitar_Collection_(997008137164005171.jpg+- armistice_egypt.jpg: Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family+ National Photography Collection, CC BY 4.0, graded and cropped.+ https://commons.wikimedia.org/wiki/File:Meitar_Collection_(997008137405105171.jpg+- armistice_jordan.jpg: Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family+ National Photography Collection, CC BY 4.0, graded and cropped.+ https://commons.wikimedia.org/wiki/File:Ben_Gurion_International_Airport_(997008137543905171).jpg+- austerity_1949.jpg: Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National+ Photography Collection, CC BY 4.0, graded and cropped.+ https://commons.wikimedia.org/wiki/File:Meitar_Collection_(997008136819405171).jpg+- frumkin_commission.jpg: Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family+ National Photography Collection / Israel State Archives, CC BY 4.0, graded and cropped.+ https://commons.wikimedia.org/wiki/File:Rosh_Ha%27Ayin_(997008136256005171).jpg+- maabarot_policy.jpg: Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family+ National Photography Collection, CC BY 4.0, graded and cropped.+ https://commons.wikimedia.org/wiki/File:Ma%27abara_(997008136927805171.jpg+- law_of_return.jpg: Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National+ Photography Collection, CC BY 4.0, graded and cropped.+ https://commons.wikimedia.org/wiki/File:Jerusalem_(997008136347905171).jpg+- clothing_rationing_1950.jpg: Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family+ National Photography Collection, CC BY 4.0, graded and cropped.+ https://commons.wikimedia.org/wiki/File:Tel_Aviv-Yafo_997008137472205171.jpg+- ministry_supply_crisis.jpg: Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family+ National Photography Collection, CC BY 4.0, graded and cropped.+ https://commons.wikimedia.org/wiki/File:Tel_Aviv-Yafo_997008137468405171.jpg+- hula_drainage.jpg: Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National+ Photography Collection, CC BY 4.0, graded and cropped.+ https://commons.wikimedia.org/wiki/File:Hula_Valley_(997008137583605171.jpg+- iraqi_exodus.jpg: Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National+ Photography Collection, CC BY 4.0, graded and cropped.+ https://commons.wikimedia.org/wiki/File:Aliyah_(997008136551705171).jpg+Public domain or CC0 (credited as a courtesy):+- second_truce.jpg: Ben Merk / Anefo, Nationaal Archief (Anefo 934-6899) · CC0 · graded and cropped.+ https://commons.wikimedia.org/wiki/File:Graaf_Bernadotte_op_Schiphol,_Bestanddeelnr_934-6899.jpg+- jerusalem_ceasefire.jpg: Willem van de Poll, Nationaal Archief (Van de Poll 255-0327) · CC0 · graded and cropped.+ https://commons.wikimedia.org/wiki/File:Jeruzalem._Wegversperringen_in_de_Propheet_Samuelstraat,_op_de_grens_tussen_Jord,_Bestanddeelnr_255-0327.jpg+- israel_bonds.jpg: Abbie Rowe, National Park Service / U.S. National Archives (NARA 200318) · public domain · graded+ and cropped.+ https://commons.wikimedia.org/wiki/File:Photograph_of_President_Truman_in_the_Oval_Office,_evidently_receiving_a_Menorah_as_a_gift_from_the_Prime_Minister_of..._-_NARA_-_200318.jpg+Fonts: EB Garamond, SIL Open Font License 1.1 (unity/Assets/UI/Fonts/OFL.txt).Builds also contain YamlDotNet, Copyright (c) Antoine Aubry and contributors, MIT (LICENSES/YamlDotNet-MIT.txt), anddiff --git a/THIRD-PARTY-NOTICES.md b/THIRD-PARTY-NOTICES.mdindex acb269c4e..5fb59eb33 100644--- a/THIRD-PARTY-NOTICES.md+++ b/THIRD-PARTY-NOTICES.md@@ -16,6 +16,7 @@ required attribution texts are in [`NOTICE`](NOTICE).| IMS rain-gauge normals (data.gov.il dataset 481) | `content/map/precip_stations.json` | "Other (Open)" (data.gov.il) | Attribution in `NOTICE`; terms under owner review (decision D6) || Wikipedia text and coordinates | cited throughout `content/` | CC BY-SA 4.0 | Attribution (source URL per entry); share-alike, which is why `content/` is CC BY-SA 4.0 || Portraits (Wikimedia Commons) | `promo/ref/people/`, `unity/Assets/UI/Portraits/` | Public domain or CC0, per file | None legally; the per-file record in `ASSETS.portraits.yaml` is kept as provenance |+| Event-card photographs (Wikimedia Commons: Meitar Collection / National Library of Israel, Nationaal Archief, US National Archives) | `unity/Assets/UI/EventImages/` | CC BY 4.0, CC0 1.0 or public domain, per file | CC BY 4.0: keep the credit line (photographer, Meitar Collection, National Library of Israel, The Pritzker Family National Photography Collection; licence; "graded and cropped") in `NOTICE` and under the picture in the game; per-file records in `ASSETS.yaml` || EB Garamond | `unity/Assets/UI/Fonts/` | SIL Open Font License 1.1 | Keep `OFL.txt` with the fonts; do not sell the fonts on their own || Unity template-derived files | `unity/Assets/Settings/`, `spikes/m0/unity/Assets/Settings/`, `spikes/m0/unity/Assets/UI Toolkit/UnityThemes/`, and Shader Graphs generated from a Unity template (`unity/Assets/Shaders/StatecraftTerrain.shadergraph`) | Unity Companion License | Use with Unity; see `LICENSING.md` || AI-generated concept art | `promo/final/01`–`08`, `promo/ref/*-src.jpg`, `docs/images/hero-concept-1936.jpg` | CC0 / no rights claimed (`LICENSING.md`); generator terms under owner review (D5) | Disclose as AI-generated (Steam and itch.io require it) |@@ -40,8 +41,8 @@ None of these is redistributed by this repository or shipped in a build: `UnityM## Builds (what a WebGL or desktop build carries)-A build is a different artefact. It contains the Unity runtime, `YamlDotNet.dll`, the fonts, the portraits and the map-data. Before a build is handed to anyone, it must carry `LICENSE`, `NOTICE`, this file, `LICENSES/` and+A build is a different artefact. It contains the Unity runtime, `YamlDotNet.dll`, the fonts, the portraits, the event+photographs (CC BY 4.0 credits in `NOTICE` and on the card) and the map data. Before a build is handed to anyone, it must carry `LICENSE`, `NOTICE`, this file, `LICENSES/` and`unity/Assets/UI/Fonts/OFL.txt`. `scripts/oss/package_web.sh` copies them into the build folder, has`tools/package_release.py` (the sensitivity gate) zip it, and refuses to finish unless the zip lists every one of them(see [`docs/RELEASING.md`](docs/RELEASING.md)).diff --git a/docs/CONTENT_POLICY.md b/docs/CONTENT_POLICY.mdindex 485485de1..0e2f1a208 100644--- a/docs/CONTENT_POLICY.md+++ b/docs/CONTENT_POLICY.md@@ -58,7 +58,22 @@ Facts are open to correction. The framing (section 1) is not.- Content without sources, or with a source that does not support the claim.- Quotes, speeches or letters that are not sourced verbatim.- Mechanics or text that reward or celebrate violence against civilians, from any side.-- Images of real people that are not public domain or CC0. AI-generated likenesses of real people appear only in- concept art (`promo/final/04`, `08`), are recorded as AI-generated in the asset provenance records, and are never presented as photographs- or used in the game.+- Images of real people that are not public domain or CC0. One narrow exception, by owner ruling 2026-10-11+ (summarised): archival photographs of events (not portraits) under CC BY 4.0 are allowed, on these terms:+ - Each carries a credit line naming the photographer and collection (for the Meitar Collection: photographer,+ Meitar Collection, National Library of Israel, The Pritzker Family National Photography Collection), with the+ licence, both on screen with the picture and in `NOTICE`.+ - The only changes are a subtle warm tone grade (the pictures stay black and white, in the gold frame), a crop and a+ resize. No AI colourising and no change to what the picture shows. The adaptation is recorded with the credit as+ "graded and cropped".+ - Government Press Office (GPO) photographs are refused. So are files whose only licence is a PD-Israel or PD-India+ tag, and share-alike files (CC BY-SA).+ - Each photograph gets a sensitivity review before a shareable build may carry it: every one is screened, and any+ marked sensitive waits for the owner's sign-off (the `-shareable` build and the packager refuse until then).++ Each event photograph's credit, alt text and sensitivity review are recorded in+ `unity/Assets/UI/EventImages/event-images.yaml` and `ASSETS.yaml` (see `docs/event-images.md`).++ AI-generated likenesses of real people appear only in concept art (`promo/final/04`, `08`), are recorded as+ AI-generated in the asset provenance records, and are never presented as photographs or used in the game.- Hate speech, slurs or dehumanising language about any group, in content, code comments, issues or commits.diff --git a/docs/RELEASING.md b/docs/RELEASING.mdindex cb81f6bb7..92a668e5a 100644--- a/docs/RELEASING.md+++ b/docs/RELEASING.md@@ -27,7 +27,8 @@ GitHub Releases page (and, from M4, on itch.io). Steps 1–3 are a normal pull r`package_web.sh` copies the licence and attribution files into the build folder, then runs`tools/package_release.py`, M3's sensitivity gate, which zips the folder and prints `PACKAGED …` or- `PACKAGE REFUSED …`. It then lists the zip, and prints the SHA-256 and `OK: notices inside …`. If it prints anything+ `PACKAGE REFUSED …`. It refuses a build that was not made with `-shareable` (the build's `event-photos.json` says+ so) or that carries an unreviewed sensitive event photograph. It then lists the zip, and prints the SHA-256 and `OK: notices inside …`. If it prints anythingelse, stop. This one zip is the file for GitHub Releases and for the M4 itch.io upload (`docs/m3-release.md`); neverzip a build by hand.6. **Tag and publish (owner):**diff --git a/docs/event-images.md b/docs/event-images.mdnew file mode 100644index 000000000..a10ba3613--- /dev/null+++ b/docs/event-images.md@@ -0,0 +1,130 @@+# 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. 24 of the 31 events in `content/events/` have one. The other+seven 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).++Owner ruling 2026-10-11 (summarised; recorded in `docs/CONTENT_POLICY.md` section 4):+- Images of real people stay public domain or CC0, with one narrow exception: archival event photographs (not+ portraits) under CC BY 4.0, with a credit line.+- Photos are shown as authentic black and white, with a subtle warm grade and the gold frame. There is no AI+ colourising and no change beyond grade, crop and resize. The adaptation is recorded as "graded and cropped".+- GPO photographs are refused, as are files whose only licence is PD-Israel or PD-India, and share-alike files.+- Each photograph gets a sensitivity review before a shareable build may carry it.++## Where things are++| What | Where |+|---|---|+| The pictures, at most 720 x 320 JPEG (9:4; `idf_founding` is 612 x 272, as its original is small), each under 200 KB | `unity/Assets/UI/EventImages/<event>.jpg` |+| The mapping: event, Commons page, original URL and SHA-1, licence, artist, credit, alt text, crop, sensitivity flags | `unity/Assets/UI/EventImages/event-images.yaml` |+| The catalog the game loads (`Resources.Load`, so there is no scene field) | `unity/Assets/Resources/EventImageCatalog.asset` |+| Provenance rows, one per file (`status: verified` once the owner signs off) | `ASSETS.yaml` |+| CC BY 4.0 credits | `NOTICE`, and under the picture on the card |+| The grade and crop | `tools/event_images.py` |++The mapping is **not game content**. The event YAMLs feed the content hash and save compatibility, so nothing about+pictures may go into `content/`. `EventImageMappingTests.TheMappingIsNotGameContent` guards this, and the golden hashes+and `SaveGameTests` stay unchanged.++## The card++When the event has a picture, it fills the top of the card in a gold frame, as in the promo. Its credit line runs as a+small italic caption strip along the picture's bottom edge, so the credit is always visible but costs the card no+height. The minister's portrait is hidden, and the office line still names the minister. The alt text is the picture's+`tooltip`, and `EventCardPresenter.PhotoAlt` exposes it.++The photograph needs a band at least as tall as its credit line plus 48 px of picture+(`EventCardPresenter.MinPhotoHeight`). The credit strip never shrinks (`flex-shrink: 0`), so the credit that CC BY 4.0+requires is never cut.+- On a window at least 990 px tall (logically; `EventCardPresenter.ScrollFallbackHeight`, the playtest rule that the+ body never scrolls there) the picture gives way first. If the band would fall below that height, the whole+ photograph is dropped: picture, credit and tooltip.+- On a shorter window, the body text may scroll, as it already could. The band keeps the height it needs and the+ body scrolls for the rest. Without this, an ultrawide 2560x1080 window never showed a photograph. The photograph is+ dropped only when the options would otherwise be cut.+- When the window grows again, a dropped photograph comes back without waiting for the next event.+- A dropped photograph does not bring back the minister's portrait, which is taller still. The office line still names+ the minister.+- On a short window the card may show the photograph for one frame before it drops.++`UiLayoutTests.EveryEventCardStaysAboveTheMinimap`, `AShortWindowShowsThePhotographWholeOrDropsIt` (1280x600 and+2560x1080) and `ADroppedPhotographReturnsWhenTheWindowGrows` cover this. The card's height cap rose from 560 to 600 px+to make room; the right-hand column still bounds it above the minimap.++## Adding or replacing a picture++1. Find a file on Wikimedia Commons that is public domain, CC0 or CC BY 4.0. Never use share-alike files. Never use+ GPO, PD-Israel-only or PD-India files: the URAA may have restored their US copyright (decision D-P).+2. Read the licence, the licence templates and the artist on the file page. For a Meitar Collection file, the credit+ is the licensor's credit line, which the page's `{{cc-by-4.0|1=...}}` template expands to, for example "Benno+ Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection".+3. Download the original once, into an empty folder outside the repo, as `<event>.jpg`. It is untrusted data.+4. Add the row to `event-images.yaml`:+ - The credit ends with " · CC BY 4.0 · graded and cropped" (or "CC0" / "public domain").+ - The alt text says what the picture shows. A date in it is the event's own date, or only a month or a year:+ library dates are sometimes wrong (the NLI dates the Altalena shelling 20 June; it was 22 June).+ - Set `sensitive: true` for an event with a sensitive tag, or for any picture the owner must see before release.+5. Make the JPG with `uv run --with pillow==12.3.0 --with pyyaml==6.0.3 python -I tools/event_images.py --originals DIR+ --only <event>`. It refuses a file whose SHA-1 does not match the row.+6. Add the `ASSETS.yaml` row: glob, licence, source (the Commons page), `status: owner-verify`, artist, credit,+ `adapted: "graded and cropped"`, and a note. For a CC BY file, add the credit to `NOTICE`.+7. Run `Statecraft.Game.EditorTools.EventImageImport.Run` in Unity, then the EditMode tests.++## Owner steps++- **Sensitivity review.** Six pictures are marked `sensitive: true`: `altalena`, `ten_days`, `operation_yoav`,+ `operation_hiram`, `operation_horev` and `bernadotte_assassination`.+ - A `-shareable` build (`Build.Web`/`Build.Mac`, the release flow in `docs/RELEASING.md`) refuses until each one is+ `sensitivity_reviewed: true` and `EventImageImport.Run` has rebuilt the catalog.+ - The gate fails closed: a catalog that exists but does not load is a refusal, and the gate also reads+ `event-images.yaml` and refuses when it lists an unreviewed sensitive picture or does not match the catalog.+ - Dev builds still show them, so the owner can review them in the game.+ - Marking a picture reviewed is the owner's step only: set `sensitivity_reviewed: true` in `event-images.yaml`, run+ `EventImageImport.Run`, and commit both.+ - Every build writes `event-photos.json` into its folder (for the Mac app, beside it): each picture it carries, and+ whether it is sensitive and reviewed, and whether the build was `-shareable`. The pictures are packed into Unity's+ data files, so `tools/package_release.py` (run by `scripts/oss/package_web.sh`) reads that file. It refuses a build+ folder without it, a build not made with `-shareable`, and a build carrying an unreviewed sensitive picture.+- **Decisions, 2026-10-11.** The controller ruled on the pictures under the owner's delegation, and the pictures+ below follow those rulings. The owner then signed off all six sensitive pictures, as shipped (contact sheet below),+ in session on 2026-10-11, relayed by the controller: "Approve all 6". Their rows say `sensitivity_reviewed: true`,+ with that note, and the `-shareable` build passes the gate.+ - **Scope.** Only the sensitive pictures need the sign-off, not all of them. The gate is unchanged.+ - **Approved as they are:** `operation_hiram` (a mine sweep), `operation_horev` (armour on the road, 22 December,+ in the window) and `bernadotte_assassination` (officials at the airfield, nothing graphic).+ - **Replaced, so the card does not show the outcome before the choice, or a near-portrait:**+ - `altalena`: the Altalena off the Tel Aviv shore, seen from a seafront café before the shelling (NLI: "a moment+ before the shelling … the Altalena approaches the Tel Aviv shore", 20 June 1948; Benno Rothenberg). It replaces+ the burning ship. No Kfar Vitkin frame was found on Commons under a usable licence: the Meitar frames are all at+ Tel Aviv, and the others found are GPO, PD-Israel or CC BY-SA.+ - `operation_yoav`: officers over a map on a jeep as forces move south before the operation (NLI, 13 October 1948;+ Benno Rothenberg). It replaces Beersheba on the day it was taken.+ - `ten_days`: two soldiers keeping watch from an armoured car during the capture of Lydda airport (NLI, 10 July+ 1948, in the window; Boris Carmi). The airport itself is not in the frame. It replaces the near-portrait of one+ named woman, which the portrait rule does not allow under CC BY. The 82nd Battalion series of the same day is+ tagged "Meitar Collection (review needed)" on Commons and was not used.+ - All three are CC BY 4.0 (Meitar Collection, VRTS ticket 2021092910005788), read through the Commons API, with the+ SHA-1 recorded. Contact sheet: `.superpowers/handover-2026-10-11/promo/eventimg-images/new-picks.png`.+ - **Dropped:** `sinai_withdrawal` now shows the prime minister's portrait. Its window is 31 December 1948 to 3 January+ 1949, and no free photograph of the event from that window was found. The Meitar pictures of the RAF wreck are from+ 7 January. The Sinai and El-Arish frames on Commons are GPO or PD-Israel. The NLI Bitmuna "Operation Horev" scans+ are tagged only `PD-old`, with no author and no US basis.+- **Provenance.** The licence review re-read all 25 original rows through the Commons API (SHA-1, licence, credit), and+ the three new rows were checked the same way. With the owner's sign-off of 2026-10-11, all 24 rows say+ `status: verified`. A new or replaced picture starts again at `owner-verify`, which `check_repo.py --release` refuses.++## Merge notes++- **promo-screens** (not merged here; checked against `origin/promo-screens` a4fa752): two files conflict.+ - `GameRoot.cs`, at the presenters' construction. Keep both new arguments:+ `new EventCardPresenter(root, bridge, text, portraits, EventImageCatalog.Load())` and+ `new DefencePresenter(root, bridge, text, portraits)`.+ - `Statecraft.uss`, after the Cabinet rules: `main`'s candidate-column and portrait-grid rules (`#cabinet-pick`,+ `#cabinet-seats`) against promo-screens' wide-screen rules (`.screen-wide`, `.wide-screen-open`, `.section-title`).+ Keep both blocks. The event-photo rules are not part of the conflict.+ - `UiLayoutTests.cs`, `Game.uxml` and `HudTests.cs` merge on their own. Rerun the layout tests on the merged tree.+- **perf-fix**: `HudIdleTests` builds `EventCardPresenter(..., null)`, with no photographs. Once both branches are on+ `main`, pass the real `EventImageCatalog`, so the idle check covers a photograph card.diff --git a/docs/m3-release.md b/docs/m3-release.mdindex 359130015..5bbf05f09 100644--- a/docs/m3-release.md+++ b/docs/m3-release.md@@ -5,7 +5,7 @@ start of M4, as a private Draft (owner ruling, 2026-10-10); their sections below## What ships- **Folder and zip:** `unity/Builds/Web-brotli/` uses Brotli compression with no decompression fallback. It is zipped as `unity/Builds/statecraft-m3-web.zip`, with `index.html` at the zip root. Both are build output and are not committed.-- **Built by:** `"$UNITY" -batchmode -CI false -GITHUB_ACTIONS false -TF_BUILD false -quit -projectPath unity -buildTarget WebGL -executeMethod Statecraft.Game.EditorTools.Build.Web -compression brotli -logFile "$PWD/unity-build-web-br.log"`, then `python3 tools/package_release.py` (it zips the folder, `index.html` at the root, and refuses while any sensitive event is not sensitivity-reviewed). Never zip by hand.+- **Built by:** `"$UNITY" -batchmode -CI false -GITHUB_ACTIONS false -TF_BUILD false -quit -projectPath unity -buildTarget WebGL -executeMethod Statecraft.Game.EditorTools.Build.Web -compression brotli -shareable -logFile "$PWD/unity-build-web-br.log"`, then `python3 tools/package_release.py` (it zips the folder, `index.html` at the root, and refuses while any sensitive event is not sensitivity-reviewed, and when the build's `event-photos.json` is missing, says the build was not `-shareable`, or lists an unreviewed sensitive event photograph). Never zip by hand.- **After building:** drop the build's rewrites of the settings with`git checkout -- unity/Assets/Settings unity/ProjectSettings/ProjectSettings.asset` (as in `dev-setup.md`), so nobuild-cache change gets committed.@@ -118,7 +118,9 @@ war-casualties). The owner's sign-off for all seven events below is recorded in- **Gate:** `Build.Web ... -shareable` and `Build.Mac ... -shareable` refuse to build while any sensitive event is not`sensitivity-reviewed`, and name them (`Statecraft.Sim.ReleaseGate.SensitiveUnreviewed`). `tools/package_release.py`makes the shareable zip and runs the same check (`Statecraft.Cli --release-gate`) on the content inside the build, so- it prints `PACKAGE REFUSED ...` and exits 1 while any sensitive event is not sensitivity-reviewed. Use `-shareable` and the script for every build+ it prints `PACKAGE REFUSED ...` and exits 1 while any sensitive event is not sensitivity-reviewed. It also refuses a+ build folder whose `event-photos.json` (written by every build) is missing, not `-shareable`, or lists an unreviewed+ sensitive event photograph (`docs/event-images.md`). Use `-shareable` and the script for every buildthat leaves this machine, including the M4 private Draft once it is shared with anyone. Local dev builds (no flag)are not gated, because web_check and the golden checks need them.- **Pinned set:** `FinalWaveTests.TheSensitiveEventsArePinned` lists the seven ids, anddiff --git a/tools/README.md b/tools/README.mdindex a5208aec8..3aa2143e4 100644--- a/tools/README.md+++ b/tools/README.md@@ -54,7 +54,7 @@ Run from the repo root; this installs every pinned dependency (rasterio includeduv run --with pytest==9.1.1 --with rasterio==1.5.2 --with numpy==2.5.3 --with pyyaml==6.0.3 --with pillow==12.3.0 --with requests==2.32.5 pytest tools/tests -q```-Expected: `177 passed, 1 skipped` (the skipped one is the headed browser check; add `--headed` and `--with websockets==15.0.1` to run it). Omitting a dependency (e.g. rasterio) silently drops tests or fails collection.+Expected: `189 passed, 1 skipped` (the skipped one is the headed browser check; add `--headed` and `--with websockets==15.0.1` to run it). Omitting a dependency (e.g. rasterio) silently drops tests or fails collection.## Required attribution (Copernicus DEM licence, modified data)diff --git a/tools/event_images.py b/tools/event_images.pynew file mode 100644index 000000000..730b450dc--- /dev/null+++ b/tools/event_images.py@@ -0,0 +1,134 @@+# /// script+# requires-python = ">=3.11"+# dependencies = ["pillow==12.3.0", "pyyaml==6.0.3"]+# ///+"""Makes the event-card header photographs (unity/Assets/UI/EventImages/<event>.jpg) from the archival originals listed+in unity/Assets/UI/EventImages/event-images.yaml. Offline: it never downloads. Fetch each row's `original` URL once,+into an empty folder outside the repo, saved as <event>.jpg; the tool checks every file's SHA-1 against the row before+it reads it, so a wrong or tampered download is refused. Downloads are untrusted, so run it isolated:++ uv run --with pillow==12.3.0 --with pyyaml==6.0.3 python -I tools/event_images.py --originals DIR++The adaptation, recorded as "graded and cropped" in each credit (CC BY 4.0 asks for it), is exactly this and nothing+else: the picture is read as luminance (a colour slide becomes black and white), cropped to the row's 9:4 box, resized+to at most WIDTH pixels wide (a multiple of 36, so both sides are multiples of 4), its levels stretched between the 0.5+and 99.5 percentiles, and toned from navy shadows through sepia mid-tones to warm highlights. No retouching, no colourising, nothing added or removed."""+from __future__ import annotations++import argparse+import hashlib+import io+import sys+from pathlib import Path++import yaml+from PIL import Image++REPO = Path(__file__).resolve().parents[1]+FOLDER = REPO / "unity/Assets/UI/EventImages"+MAPPING = FOLDER / "event-images.yaml"+ASPECT = 9 / 4 # the card header's width : height (Statecraft.uss .event-photo)+WIDTH = 720 # about 1.5x the 456 px header, so it stays sharp on larger windows+MAX_BYTES = 200 * 1024+# The grade: luminance 0 -> navy, 128 -> sepia, 255 -> warm paper (the promo's navy and gold palette).+SHADOW, MID, HIGHLIGHT = (14, 18, 30), (126, 117, 104), (238, 232, 218)+++def crop_box(size: tuple[int, int], crop: list[float]) -> tuple[int, int, int, int]:+ """The 9:4 box for a row's crop [centre x, centre y, width] (shares of the original), kept inside the picture.+ If the picture is too short for that width, the width shrinks to fit the full height."""+ w, h = size+ cx, cy, share = crop+ if not (0 < share <= 1 and 0 <= cx <= 1 and 0 <= cy <= 1):+ raise ValueError(f"crop {crop} out of range")+ bw = round(w * share)+ bh = round(bw / ASPECT)+ if bh > h:+ bh = h+ bw = round(bh * ASPECT)+ left = min(max(round(cx * w - bw / 2), 0), w - bw)+ top = min(max(round(cy * h - bh / 2), 0), h - bh)+ return left, top, left + bw, top + bh+++def tone_lut() -> list[int]:+ """The per-channel lookup (R, G, B, 256 entries each) for the navy-sepia-paper grade."""+ lut: list[int] = []+ for channel in range(3):+ for v in range(256):+ a, b, t = (SHADOW, MID, v / 128) if v < 128 else (MID, HIGHLIGHT, (v - 128) / 127)+ lut.append(round(a[channel] + (b[channel] - a[channel]) * t))+ return lut+++def stretch(im: Image.Image) -> Image.Image:+ """Levels between the 0.5 and 99.5 percentiles of a luminance picture."""+ hist, total = im.histogram(), im.width * im.height+ def pct(p: float) -> int:+ acc = 0+ for v, n in enumerate(hist):+ acc += n+ if acc >= total * p:+ return v+ return 255+ lo, hi = pct(0.005), pct(0.995)+ if hi <= lo:+ return im+ return im.point(lambda v: min(255, max(0, round((v - lo) * 255 / (hi - lo)))))+++def grade(original: Image.Image, crop: list[float]) -> Image.Image:+ """The shipped picture for one row (see the module docstring for the full list of changes)."""+ gray = original.convert("L").crop(crop_box(original.size, crop))+ width = min(WIDTH, gray.width) // 36 * 36 # 9:4 in whole pixels, both sides multiples of 4 (block compression)+ gray = gray.resize((width, width * 4 // 9), Image.Resampling.LANCZOS)+ return stretch(gray).convert("RGB").point(tone_lut())+++def encode(im: Image.Image) -> bytes:+ """Baseline JPEG without metadata; quality steps down until it is under MAX_BYTES."""+ for quality in (86, 82, 78, 74, 70):+ buf = io.BytesIO()+ im.save(buf, "JPEG", quality=quality, optimize=True, progressive=False)+ if buf.tell() <= MAX_BYTES:+ return buf.getvalue()+ raise ValueError("cannot fit the picture under MAX_BYTES")+++def load_rows(mapping: Path = MAPPING) -> list[dict]:+ return yaml.safe_load(mapping.read_text(encoding="utf-8"))["images"]+++def isolated() -> bool:+ """True when Python runs with -I (the tests stand in for it: pytest itself is not isolated)."""+ return bool(sys.flags.isolated)+++def main(argv: list[str] | None = None) -> int:+ ap = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter)+ ap.add_argument("--originals", type=Path, required=True, help="folder holding <event>.jpg downloads")+ ap.add_argument("--out", type=Path, default=FOLDER)+ ap.add_argument("--only", action="append", default=[], help="event id (repeatable); default all rows")+ a = ap.parse_args(argv)+ if not isolated():+ print("run with python -I: the originals are untrusted downloads (see the module docstring)"); return 2+ rows = [r for r in load_rows() if not a.only or r["event"] in a.only]+ for r in rows: # check every download before reading or writing anything, so a bad row writes nothing+ src = a.originals / f"{r['event']}.jpg"+ if not src.is_file():+ print(f"MISSING {src}"); return 1+ if hashlib.sha1(src.read_bytes()).hexdigest() != r["sha1"]:+ print(f"SHA-1 MISMATCH {src} (expected {r['sha1']})"); return 1+ with Image.open(src) as im: # reads the header only+ if list(im.size) != r["original_size"]:+ print(f"SIZE MISMATCH {r['event']}: {im.size} vs {r['original_size']}"); return 1+ for r in rows:+ with Image.open(a.originals / f"{r['event']}.jpg") as im:+ data = encode(grade(im, r["crop"]))+ (a.out / r["file"]).write_bytes(data)+ print(f"{r['file']} {len(data)} bytes")+ return 0+++if __name__ == "__main__":+ sys.exit(main())diff --git a/tools/package_release.py b/tools/package_release.pyindex dbd5bbcf2..5b05b01c0 100644--- a/tools/package_release.py+++ b/tools/package_release.py@@ -6,8 +6,14 @@ run on the content INSIDE the build folder, so it checks exactly what would shipExit 0 and "PACKAGED <zip> <bytes>" on success; exit 1 and "PACKAGE REFUSED ..." when the gate refuses or the build isnot a WebGL build folder.++The event-card photographs are packed into Unity's data files, where this script cannot see them, so the build writes+what it carries into event-photos.json (Build.PhotoManifestName, review I1). The zip is refused when that file is+missing or unreadable, when the build was not made with -shareable, or when any photograph in it is sensitive and not+sensitivity-reviewed (docs/event-images.md)."""import argparse+import jsonimport subprocessimport sysimport zipfile@@ -24,6 +30,31 @@ def gate(content_dir: Path):return r.returncode == 0, "\n".join(lines) or f"release gate exited {r.returncode}"+PHOTO_MANIFEST = "event-photos.json" # Build.PhotoManifestName (unity/Assets/Editor/Build.cs)+++def photo_refusal(build: Path):+ """Why the build's event photographs may not be shared, or None (see the module docstring)."""+ f = build / PHOTO_MANIFEST+ if not f.is_file():+ return f"{build} has no {PHOTO_MANIFEST}: build it with Build.Web -shareable, which writes it"+ try:+ m = json.loads(f.read_text(encoding="utf-8"))+ photos = m["photos"]+ shareable = m["shareable"]+ if not isinstance(photos, list) or not isinstance(shareable, bool):+ raise TypeError("photos must be a list and shareable a boolean")+ open_ = sorted(p["event_id"] for p in photos if p["sensitive"] is not False and p["sensitivity_reviewed"] is not True)+ except (ValueError, KeyError, TypeError) as e:+ return f"{f} is not a valid photo manifest ({e})"+ if shareable is not True:+ return f"{build} was not built with -shareable ({PHOTO_MANIFEST} says shareable: false)"+ if open_:+ return ("the event photographs need the owner's sensitivity review first: " + ", ".join(open_)+ + " (sensitivity_reviewed: true in unity/Assets/UI/EventImages/event-images.yaml; docs/event-images.md)")+ return None++def package(build: Path, zip_path: Path) -> int:if not (build / "index.html").is_file():print(f"PACKAGE REFUSED: {build} has no index.html (not a WebGL build folder)")@@ -32,6 +63,9 @@ def package(build: Path, zip_path: Path) -> int:if not content.is_dir():print(f"PACKAGE REFUSED: {build} has no StreamingAssets/content")return 1+ if (photos := photo_refusal(build)) is not None:+ print(f"PACKAGE REFUSED: {photos}")+ return 1ok, message = gate(content)print(message)if not ok:diff --git a/tools/tests/test_event_images.py b/tools/tests/test_event_images.pynew file mode 100644index 000000000..7f4f22246--- /dev/null+++ b/tools/tests/test_event_images.py@@ -0,0 +1,105 @@+"""tools/event_images.py: the event-card photographs are cropped to 9:4, resized, graded (luminance, levels, the+navy-sepia tone) and nothing else; downloads are checked by SHA-1 before they are read."""+import hashlib+import io++import pytest+from PIL import Image++import event_images as ei+++def test_the_crop_box_is_nine_by_four_and_inside_the_picture():+ for size, crop in [((2000, 1334), [0.5, 0.5, 1.0]), ((686, 1200), [0.5, 0.52, 0.94]), ((1476, 932), [0.38, 0.6, 0.7]),+ ((1000, 300), [0.5, 0.5, 1.0]), ((1000, 1000), [0.0, 1.0, 0.5])]:+ left, top, right, bottom = ei.crop_box(size, crop)+ assert 0 <= left < right <= size[0] and 0 <= top < bottom <= size[1]+ assert abs((right - left) / (bottom - top) - 9 / 4) < 0.02+ assert ei.crop_box((1000, 300), [0.5, 0.5, 1.0])[3] - ei.crop_box((1000, 300), [0.5, 0.5, 1.0])[1] == 300 # too short: full height+ with pytest.raises(ValueError):+ ei.crop_box((100, 100), [0.5, 0.5, 1.5])+++def test_the_grade_is_a_tone_of_the_luminance_only():+ src = Image.new("RGB", (1800, 1200))+ src.putdata([((x * 7) % 256, (y * 3) % 256, 128) for y in range(1200) for x in range(1800)])+ out = ei.grade(src, [0.5, 0.5, 1.0])+ assert out.size == (720, 320) and out.size[0] % 4 == 0 and out.size[1] % 4 == 0+ lut = ei.tone_lut()+ tones = {(lut[v], lut[256 + v], lut[512 + v]) for v in range(256)}+ assert set(out.get_flattened_data()) <= tones # every pixel is a tone of one grey level: no colour added+ assert (lut[0], lut[256], lut[512]) == ei.SHADOW and (lut[255], lut[511], lut[767]) == ei.HIGHLIGHT+++def test_a_small_original_is_not_enlarged_and_stays_block_aligned():+ out = ei.grade(Image.new("L", (686, 1200), 90), [0.5, 0.52, 0.94])+ assert out.size == (612, 272) # 645 px wide crop -> 612 (a multiple of 36), never upscaled+++def test_encode_stays_under_the_size_cap():+ noisy = Image.effect_noise((720, 320), 120).convert("RGB")+ data = ei.encode(noisy)+ assert len(data) <= ei.MAX_BYTES+ assert Image.open(io.BytesIO(data)).info.get("exif") is None+++def as_isolated(monkeypatch):+ monkeypatch.setattr(ei, "isolated", lambda: True)+++def test_it_refuses_to_run_without_python_dash_i(tmp_path, capsys, monkeypatch):+ monkeypatch.setattr(ei, "isolated", lambda: False)+ assert ei.main(["--originals", str(tmp_path), "--out", str(tmp_path)]) == 2+ assert "python -I" in capsys.readouterr().out+++def original_for(row, folder):+ """A stand-in original with the row's size; the row's SHA-1 is set to match it (rows are dicts, edited in memory)."""+ path = folder / f"{row['event']}.jpg"+ Image.new("RGB", tuple(row["original_size"]), (90, 90, 90)).save(path)+ row["sha1"] = hashlib.sha1(path.read_bytes()).hexdigest()+ return path+++def test_a_size_mismatch_is_refused_and_nothing_is_written(tmp_path, capsys, monkeypatch, as_isolated):+ rows = [dict(r) for r in ei.load_rows()[:3]]+ originals, out = tmp_path / "originals", tmp_path / "out"+ originals.mkdir(); out.mkdir()+ for r in rows:+ original_for(r, originals)+ rows[2]["original_size"] = [rows[2]["original_size"][0] + 1, rows[2]["original_size"][1]] # the last row is wrong+ monkeypatch.setattr(ei, "load_rows", lambda mapping=ei.MAPPING: rows)+ assert ei.main(["--originals", str(originals), "--out", str(out)]) == 1+ assert "SIZE MISMATCH" in capsys.readouterr().out+ assert list(out.iterdir()) == [] # rows 1 and 2 were good, but nothing was written+++def test_good_originals_are_all_written(tmp_path, capsys, monkeypatch, as_isolated):+ rows = [dict(r) for r in ei.load_rows()[:2]]+ originals, out = tmp_path / "originals", tmp_path / "out"+ originals.mkdir(); out.mkdir()+ for r in rows:+ original_for(r, originals)+ monkeypatch.setattr(ei, "load_rows", lambda mapping=ei.MAPPING: rows)+ assert ei.main(["--originals", str(originals), "--out", str(out)]) == 0+ assert sorted(p.name for p in out.iterdir()) == sorted(r["file"] for r in rows)+++def test_a_download_with_the_wrong_sha1_is_refused(tmp_path, capsys, as_isolated):+ row = ei.load_rows()[0]+ bad = tmp_path / f"{row['event']}.jpg"+ Image.new("RGB", (10, 10)).save(bad)+ assert hashlib.sha1(bad.read_bytes()).hexdigest() != row["sha1"]+ assert ei.main(["--originals", str(tmp_path), "--out", str(tmp_path), "--only", row["event"]]) == 1+ assert "SHA-1 MISMATCH" in capsys.readouterr().out+++def test_every_row_has_a_shipped_file_and_a_crop():+ rows = ei.load_rows()+ assert len(rows) == 24+ for r in rows:+ assert (ei.FOLDER / r["file"]).is_file()+ assert len(r["crop"]) == 3 and len(r["sha1"]) == 40+ with Image.open(ei.FOLDER / r["file"]) as im:+ assert im.size[0] * 4 == im.size[1] * 9diff --git a/tools/tests/test_package_release.py b/tools/tests/test_package_release.pyindex 81061ce5d..2a8ba170f 100644--- a/tools/tests/test_package_release.py+++ b/tools/tests/test_package_release.py@@ -1,5 +1,6 @@"""tools/package_release.py: the itch.io zip is made only after the owner's sensitivity review of every sensitive event(spec 5.5; M3 rereview). The gate is the sim's own (Statecraft.Cli --release-gate), run on the content inside the build."""+import jsonimport reimport shutilimport zipfile@@ -8,11 +9,19 @@ from pathlib import Pathimport package_releaseREPO = Path(package_release.REPO)+SENSITIVE_PHOTOS = ["altalena", "bernadotte_assassination", "operation_hiram", "operation_horev", "operation_yoav", "ten_days"]SENSITIVE = ["altalena", "bernadotte_assassination", "operation_hiram", "operation_horev", "operation_yoav", "reparations_claim", "ten_days"]-def fake_build(tmp_path, reviewed):- """A build folder with index.html and the real content copied into StreamingAssets/content."""+def photo_manifest(build, reviewed=True, shareable=True):+ """The event-photos.json Build.Web writes (Build.PhotoManifestJson): the 7 sensitive photographs and one other."""+ photos = [{"event_id": e, "sensitive": True, "sensitivity_reviewed": reviewed} for e in SENSITIVE_PHOTOS]+ photos.append({"event_id": "maabarot_policy", "sensitive": False, "sensitivity_reviewed": False})+ (build / package_release.PHOTO_MANIFEST).write_text(json.dumps({"version": 1, "shareable": shareable, "photos": photos}))+++def fake_build(tmp_path, reviewed, photos_reviewed=True):+ """A build folder with index.html, the real content copied into StreamingAssets/content and the photo manifest."""build = tmp_path / "Web-brotli"(build / "StreamingAssets").mkdir(parents=True)(build / "index.html").write_text("<html></html>")@@ -22,6 +31,7 @@ def fake_build(tmp_path, reviewed):for e in SENSITIVE:f = content / "events" / f"{e}.yaml"f.write_text(re.sub(r"(?m)^status: .*$", f"status: {status}", f.read_text()))+ photo_manifest(build, reviewed=photos_reviewed)return build@@ -43,3 +53,39 @@ def test_packaging_writes_the_zip_once_all_are_reviewed(tmp_path, capsys):assert "index.html" in names # at the zip root, as itch.io needsassert "StreamingAssets/content/events/altalena.yaml" in namesassert "PACKAGED" in capsys.readouterr().out+++# Review I1: the event photographs are packed into Unity's data files, so the build's own manifest is what is checked.+def refused(build, tmp_path, capsys):+ zip_path = tmp_path / "out.zip"+ assert package_release.main(["--build", str(build), "--zip", str(zip_path)]) == 1+ assert not zip_path.exists()+ out = capsys.readouterr().out+ assert "PACKAGE REFUSED" in out+ return out+++def test_a_build_without_the_photo_manifest_is_refused(tmp_path, capsys):+ build = fake_build(tmp_path, reviewed=True)+ (build / package_release.PHOTO_MANIFEST).unlink()+ assert "event-photos.json" in refused(build, tmp_path, capsys)+++def test_unreviewed_sensitive_photographs_are_refused(tmp_path, capsys):+ out = refused(fake_build(tmp_path, reviewed=True, photos_reviewed=False), tmp_path, capsys)+ for e in SENSITIVE_PHOTOS:+ assert e in out+ assert "maabarot_policy" not in out # not sensitive: nothing to review+++def test_a_dev_build_is_refused_even_with_reviewed_photographs(tmp_path, capsys):+ build = fake_build(tmp_path, reviewed=True)+ photo_manifest(build, reviewed=True, shareable=False)+ assert "-shareable" in refused(build, tmp_path, capsys)+++def test_a_malformed_photo_manifest_is_refused(tmp_path, capsys):+ build = fake_build(tmp_path, reviewed=True)+ for bad in ["{", '{"shareable": true}', '{"shareable": "yes", "photos": []}', '{"shareable": true, "photos": [{"event_id": "x"}]}']:+ (build / package_release.PHOTO_MANIFEST).write_text(bad)+ assert "not a valid photo manifest" in refused(build, tmp_path, capsys)diff --git a/unity/Assets/Editor/Build.cs b/unity/Assets/Editor/Build.csindex 76e6fa01f..f058244c7 100644--- a/unity/Assets/Editor/Build.cs+++ b/unity/Assets/Editor/Build.cs@@ -1,7 +1,9 @@#nullable enableusing System;+using System.Collections.Generic;using System.IO;using System.Linq;+using Statecraft.Game.UI;using UnityEditor;using UnityEditor.Build;using UnityEditor.Build.Reporting;@@ -47,30 +49,116 @@ namespace Statecraft.Game.EditorTools};/// <summary>Why a shareable build may not be made, or null: every event with a sensitive tag needs the owner's- /// sensitivity review first (status sensitivity-reviewed; docs/m3-release.md, M3 final review I4).</summary>- public static string? ShareableRefusal(Statecraft.Sim.Content c)+ /// sensitivity review first (status sensitivity-reviewed; docs/m3-release.md, M3 final review I4), and so does every+ /// sensitive event photograph the build would carry (EventImageCatalog; docs/event-images.md). See+ /// <see cref="EventImageRefusal"/> for <paramref name="catalogFileExists"/> and <paramref name="mapping"/>.</summary>+ public static string? ShareableRefusal(Statecraft.Sim.Content c, EventImageCatalog? photos, bool catalogFileExists = false,+ IReadOnlyList<EventImageMapping.Row>? mapping = null){var open = Statecraft.Sim.ReleaseGate.SensitiveUnreviewed(c);- return open.Count == 0 ? null- : "a shareable build needs the owner's sensitivity review of: " + string.Join(", ", open) + " (set status: sensitivity-reviewed; see docs/m3-release.md)";+ var reasons = new List<string>();+ if (open.Count > 0)+ reasons.Add("a shareable build needs the owner's sensitivity review of: " + string.Join(", ", open) + " (set status: sensitivity-reviewed; see docs/m3-release.md)");+ if (EventImageRefusal(photos, catalogFileExists, mapping) is string pictures) reasons.Add(pictures);+ return reasons.Count == 0 ? null : string.Join("; ", reasons);+ }++ /// <summary>Why the event photographs may not ship in a shareable build, or null: a picture marked sensitive needs+ /// the owner's sensitivity review (sensitivity_reviewed: true in Assets/UI/EventImages/event-images.yaml, then+ /// EventImageImport.Run). An OWNER step, like the event review. It fails closed (review I5): a catalog file that+ /// exists but did not load is a refusal, not "nothing to review"; and when the mapping is given, a sensitive and+ /// unreviewed row there refuses too, as does any row the catalog does not match (a hand-edited or stale catalog).</summary>+ public static string? EventImageRefusal(EventImageCatalog? photos, bool catalogFileExists = false,+ IReadOnlyList<EventImageMapping.Row>? mapping = null)+ {+ var reasons = new List<string>();+ if (photos == null && catalogFileExists)+ reasons.Add($"the event photograph catalog {EventImageImport.CatalogPath} exists but did not load (fix the import, then run EventImageImport)");+ var open = new SortedSet<string>(StringComparer.Ordinal);+ if (photos != null) open.UnionWith(photos.SensitiveUnreviewed());+ if (mapping != null) open.UnionWith(mapping.Where(r => r.Sensitive && !r.SensitivityReviewed).Select(r => r.Event));+ if (open.Count > 0)+ reasons.Add("a shareable build needs the owner's sensitivity review of the event photographs: " + string.Join(", ", open)+ + " (set sensitivity_reviewed: true in " + EventImageMapping.Path + ", run EventImageImport; see docs/event-images.md)");+ if (mapping != null && photos != null && CatalogMismatches(photos, mapping) is { Count: > 0 } stale)+ reasons.Add("the event photograph catalog does not match " + EventImageMapping.Path + " for: " + string.Join(", ", stale)+ + " (run EventImageImport)");+ return reasons.Count == 0 ? null : string.Join("; ", reasons);+ }++ /// <summary>The events whose catalog entry and mapping row disagree (one is missing, or the credit, the alt text or a+ /// sensitivity flag differs), in id order.</summary>+ public static List<string> CatalogMismatches(EventImageCatalog photos, IReadOnlyList<EventImageMapping.Row> mapping)+ {+ var rows = mapping.GroupBy(r => r.Event).ToDictionary(g => g.Key, g => g.First());+ var entries = photos.entries.GroupBy(e => e.eventId ?? "").ToDictionary(g => g.Key, g => g.First());+ var bad = new SortedSet<string>(StringComparer.Ordinal);+ foreach (var id in rows.Keys.Union(entries.Keys))+ {+ if (!rows.TryGetValue(id, out var r) || !entries.TryGetValue(id, out var e) || e.image == null) { bad.Add(id); continue; }+ if (e.credit != r.Credit || e.alt != r.Alt || e.sensitive != r.Sensitive || e.sensitivityReviewed != r.SensitivityReviewed) bad.Add(id);+ }+ if (photos.entries.Count != entries.Count || mapping.Count != rows.Count) bad.Add("(repeated rows)");+ return bad.ToList();}/// <summary>The gate for a build made with these command-line args: a -shareable build (Web or Mac) is refused- /// until the review is done; a dev build is never gated (web_check and the golden checks need them).</summary>- public static string? GateRefusal(string[] args, Statecraft.Sim.Content c) =>- Array.IndexOf(args, "-shareable") >= 0 ? ShareableRefusal(c) : null;+ /// until the reviews are done; a dev build is never gated (web_check and the golden checks need them).</summary>+ public static string? GateRefusal(string[] args, Statecraft.Sim.Content c, EventImageCatalog? photos, bool catalogFileExists = false,+ IReadOnlyList<EventImageMapping.Row>? mapping = null) =>+ Array.IndexOf(args, "-shareable") >= 0 ? ShareableRefusal(c, photos, catalogFileExists, mapping) : null;- /// <summary>Logs "BUILD REFUSED ..." and exits 1 when the gate refuses this build; true if it did.</summary>+ /// <summary>Logs "BUILD REFUSED ..." and exits 1 when the gate refuses this build; true if it did. The photographs+ /// checked are the catalog the build ships (Resources/EventImageCatalog.asset), cross-checked against the mapping.</summary>static bool RefuseUnlessShareable(){var args = Environment.GetCommandLineArgs();if (Array.IndexOf(args, "-shareable") < 0) return false;- if (!(GateRefusal(args, Statecraft.Sim.ContentLoader.Load(Paths.Content)) is string refusal)) return false;+ var photos = AssetDatabase.LoadAssetAtPath<EventImageCatalog>(EventImageImport.CatalogPath);+ string? refusal;+ try+ {+ var mapping = EventImageMapping.Parse(File.ReadAllText(EventImageMapping.Path));+ refusal = GateRefusal(args, Statecraft.Sim.ContentLoader.Load(Paths.Content), photos, File.Exists(EventImageImport.CatalogPath), mapping);+ }+ catch (Exception e) when (e is IOException || e is InvalidOperationException || e is UnauthorizedAccessException)+ {+ refusal = "cannot read the event photograph mapping " + EventImageMapping.Path + ": " + e.Message;+ }+ if (refusal == null) return false;Debug.LogError("BUILD REFUSED " + refusal);EditorApplication.Exit(1);return true;}+ /// <summary>The name of the manifest every build writes beside its output (review I1): which event photographs it+ /// carries, whether each is sensitive and reviewed, and whether it was a -shareable build. tools/package_release.py+ /// refuses a build folder without it, or with an unreviewed sensitive photograph, or not built -shareable; the+ /// pictures themselves are packed into Unity's data files, where the packager cannot see them.</summary>+ public const string PhotoManifestName = "event-photos.json";++ [Serializable] sealed class PhotoManifest { public int version = 1; public bool shareable; public List<PhotoRecord> photos = new List<PhotoRecord>(); }+ [Serializable] sealed class PhotoRecord { public string event_id = ""; public bool sensitive; public bool sensitivity_reviewed; }++ /// <summary>The manifest's JSON for a build carrying <paramref name="photos"/> (null: none).</summary>+ public static string PhotoManifestJson(EventImageCatalog? photos, bool shareable)+ {+ var m = new PhotoManifest { shareable = shareable };+ if (photos != null)+ foreach (var e in photos.entries.Where(e => e.image != null).OrderBy(e => e.eventId, StringComparer.Ordinal))+ m.photos.Add(new PhotoRecord { event_id = e.eventId, sensitive = e.sensitive, sensitivity_reviewed = e.sensitivityReviewed });+ return JsonUtility.ToJson(m, true) + "\n";+ }++ /// <summary>Writes the manifest into <paramref name="folder"/> (the WebGL build folder; for the Mac app, the folder+ /// holding it, so the signed bundle is not touched).</summary>+ static void WritePhotoManifest(string folder)+ {+ Directory.CreateDirectory(folder);+ var photos = AssetDatabase.LoadAssetAtPath<EventImageCatalog>(EventImageImport.CatalogPath);+ File.WriteAllText(Path.Combine(folder, PhotoManifestName), PhotoManifestJson(photos, Flag("-shareable")));+ }+public static void Web(){if (RefuseUnlessShareable()) return;@@ -82,7 +170,8 @@ namespace Statecraft.Game.EditorToolsvar sub = TextureSubtarget(Arg("-textureSubtarget"));if (sub.HasValue) EditorUserBuildSettings.webGLBuildSubtarget = sub.Value;bool ok;- try { ok = Run(BuildTarget.WebGL, Arg("-out") ?? "Builds/Web-" + name, sub.HasValue ? (int)sub.Value : 0); }+ var web = Arg("-out") ?? "Builds/Web-" + name;+ try { ok = Run(BuildTarget.WebGL, web, sub.HasValue ? (int)sub.Value : 0); if (ok) WritePhotoManifest(web); }finally { EditorUserBuildSettings.webGLBuildSubtarget = savedSubtarget; ProjectSetup.Apply(); } // back to the committed settingsExitIfFailed(ok);}@@ -94,7 +183,8 @@ namespace Statecraft.Game.EditorTools// Apple clang fuses a*b+c into fmadd by default (tech notes 4.2); turn it off if the Mac golden check fails.PlayerSettings.SetAdditionalIl2CppArgs(Flag("-ffp-contract-off") ? "--compiler-flags=-ffp-contract=off" : "");bool ok;- try { ok = Run(BuildTarget.StandaloneOSX, Arg("-out") ?? "Builds/Mac/Statecraft.app"); }+ var app = Arg("-out") ?? "Builds/Mac/Statecraft.app";+ try { ok = Run(BuildTarget.StandaloneOSX, app); if (ok) WritePhotoManifest(Path.GetDirectoryName(Path.GetFullPath(app))!); }finally { PlayerSettings.SetAdditionalIl2CppArgs(""); AssetDatabase.SaveAssets(); }ExitIfFailed(ok);}diff --git a/unity/Assets/Editor/EventImageImport.cs b/unity/Assets/Editor/EventImageImport.csnew file mode 100644index 000000000..b61ac0693--- /dev/null+++ b/unity/Assets/Editor/EventImageImport.cs@@ -0,0 +1,84 @@+using System.IO;+using System.Linq;+using Statecraft.Game.UI;+using Statecraft.Sim;+using UnityEditor;+using UnityEngine;++namespace Statecraft.Game.EditorTools+{+ /// <summary>Rebuilds Assets/Resources/EventImageCatalog.asset from Assets/UI/EventImages/event-images.yaml (the+ /// Unity-side event -> photograph mapping, never game content) and sets web-friendly import settings on every+ /// picture. Every row is checked first (EventImageMapping.Problems, and the file must exist), so a bad mapping leaves+ /// the catalog as it was. The JPGs themselves are made by tools/event_images.py. Idempotent.+ /// Run headless: Unity -batchmode -CI false -GITHUB_ACTIONS false -TF_BUILD false -quit -projectPath unity -executeMethod Statecraft.Game.EditorTools.EventImageImport.Run</summary>+ public static class EventImageImport+ {+ public const string CatalogPath = "Assets/Resources/" + EventImageCatalog.ResourcePath + ".asset";+ public const int MaxEdge = 1024;++ public static void Run()+ {+ var rows = EventImageMapping.Parse(File.ReadAllText(EventImageMapping.Path));+ var problems = EventImageMapping.Problems(rows, ContentLoader.Load(Paths.Content));+ foreach (var r in rows)+ if (!File.Exists($"{EventImageMapping.Folder}/{r.File}")) problems.Add($"{r.Event}: {EventImageMapping.Folder}/{r.File} missing (run tools/event_images.py)");+ if (problems.Count > 0) throw new System.InvalidOperationException(EventImageMapping.Path + ":\n" + string.Join("\n", problems));++ var catalog = AssetDatabase.LoadAssetAtPath<EventImageCatalog>(CatalogPath);+ if (catalog == null)+ {+ Directory.CreateDirectory(Path.GetDirectoryName(CatalogPath)!);+ catalog = ScriptableObject.CreateInstance<EventImageCatalog>();+ AssetDatabase.CreateAsset(catalog, CatalogPath);+ }+ catalog.entries.Clear();+ foreach (var r in rows.OrderBy(r => r.Event, System.StringComparer.Ordinal))+ {+ var path = $"{EventImageMapping.Folder}/{r.File}";+ AssetDatabase.ImportAsset(path);+ Configure(path);+ catalog.entries.Add(new EventImageCatalog.Entry+ {+ eventId = r.Event, image = AssetDatabase.LoadAssetAtPath<Texture2D>(path), alt = r.Alt, credit = r.Credit,+ sensitive = r.Sensitive, sensitivityReviewed = r.SensitivityReviewed,+ });+ }+ EditorUtility.SetDirty(catalog);+ AssetDatabase.SaveAssets();+ }++ /// <summary>The portraits' settings (PortraitImport.Configure) with a higher quality: no mipmaps, clamp, sRGB,+ /// crunched, the same cap on every platform block. Saves and reimports only when something changed.</summary>+ static void Configure(string path)+ {+ const int quality = 75;+ var importer = (TextureImporter)AssetImporter.GetAtPath(path);+ bool changed = importer.textureType != TextureImporterType.Default || importer.maxTextureSize != MaxEdge || importer.mipmapEnabled+ || !importer.sRGBTexture || importer.wrapMode != TextureWrapMode.Clamp || !importer.crunchedCompression+ || importer.compressionQuality != quality || importer.npotScale != TextureImporterNPOTScale.None;+ importer.textureType = TextureImporterType.Default;+ importer.maxTextureSize = MaxEdge;+ importer.mipmapEnabled = false;+ importer.sRGBTexture = true;+ importer.wrapMode = TextureWrapMode.Clamp;+ importer.npotScale = TextureImporterNPOTScale.None;+ importer.crunchedCompression = true;+ importer.compressionQuality = quality;+ foreach (var target in new[] { "Standalone", "WebGL" })+ {+ var s = importer.GetPlatformTextureSettings(target);+ if (s.overridden || s.maxTextureSize != MaxEdge || !s.crunchedCompression || s.compressionQuality != quality) changed = true;+ s.overridden = false;+ s.maxTextureSize = MaxEdge;+ s.crunchedCompression = true;+ s.compressionQuality = quality;+ importer.SetPlatformTextureSettings(s);+ }+ var so = new SerializedObject(importer);+ var legacy = so.FindProperty("m_MaxTextureSize");+ if (legacy != null && legacy.intValue != MaxEdge) { legacy.intValue = MaxEdge; so.ApplyModifiedPropertiesWithoutUndo(); changed = true; }+ if (changed) importer.SaveAndReimport();+ }+ }+}diff --git a/unity/Assets/Editor/EventImageImport.cs.meta b/unity/Assets/Editor/EventImageImport.cs.metanew file mode 100644index 000000000..3d93c5f31--- /dev/null+++ b/unity/Assets/Editor/EventImageImport.cs.meta@@ -0,0 +1,2 @@+fileFormatVersion: 2+guid: 986120f37fc6b4335acce044d2ef0657\ No newline at end of filediff --git a/unity/Assets/Resources/EventImageCatalog.asset b/unity/Assets/Resources/EventImageCatalog.assetnew file mode 100644index 000000000..719274632--- /dev/null+++ b/unity/Assets/Resources/EventImageCatalog.asset@@ -0,0 +1,220 @@+%YAML 1.1+%TAG !u! tag:unity3d.com,2011:+--- !u!114 &11400000+MonoBehaviour:+ m_ObjectHideFlags: 0+ m_CorrespondingSourceObject: {fileID: 0}+ m_PrefabInstance: {fileID: 0}+ m_PrefabAsset: {fileID: 0}+ m_GameObject: {fileID: 0}+ m_Enabled: 1+ m_EditorHideFlags: 0+ m_Script: {fileID: 11500000, guid: 3240123ad63ed4a2dbd76283afa9295b, type: 3}+ m_Name: EventImageCatalog+ m_EditorClassIdentifier: Statecraft.Game::Statecraft.Game.UI.EventImageCatalog+ entries:+ - eventId: altalena+ image: {fileID: 2800000, guid: 778f252f061854a6191a38a48bba8dd1, type: 3}+ alt: "The Altalena off the Tel Aviv shore, seen from a seafront caf\xE9 shortly+ before the shelling, June 1948."+ credit: "Benno Rothenberg / Meitar Collection / National Library of Israel /+ The Pritzker Family National Photography Collection \xB7 CC BY 4.0 \xB7 graded+ and cropped"+ sensitive: 1+ sensitivityReviewed: 1+ - eventId: armistice_egypt+ image: {fileID: 2800000, guid: 6a3375c172b3341c48ed637bc90bf014, type: 3}+ alt: IDF and UN officers near the Faluja pocket during the siege of the Egyptian+ brigade, late 1948.+ credit: "Benno Rothenberg / Meitar Collection / National Library of Israel /+ The Pritzker Family National Photography Collection \xB7 CC BY 4.0 \xB7 graded+ and cropped"+ sensitive: 0+ sensitivityReviewed: 0+ - eventId: armistice_jordan+ image: {fileID: 2800000, guid: 1b071919ea9d249d3a94254f72713262, type: 3}+ alt: Members of Israel's delegation beside a United Nations aircraft, leaving+ for armistice talks with Jordan, 1949.+ credit: "Benno Rothenberg / Meitar Collection / National Library of Israel /+ The Pritzker Family National Photography Collection \xB7 CC BY 4.0 \xB7 graded+ and cropped"+ sensitive: 0+ sensitivityReviewed: 0+ - eventId: austerity_1949+ image: {fileID: 2800000, guid: fbdeb44f6ea2348d982ff0887c3259f8, type: 3}+ alt: A clerk hands out the new government ration-coupon books, 1949.+ credit: "Benno Rothenberg / Meitar Collection / National Library of Israel /+ The Pritzker Family National Photography Collection \xB7 CC BY 4.0 \xB7 graded+ and cropped"+ sensitive: 0+ sensitivityReviewed: 0+ - eventId: bernadotte_assassination+ image: {fileID: 2800000, guid: bd6487f6ceba74ad3a9060a52cabc3ba, type: 3}+ alt: UN and Israeli officials salute at Lydda airport as Count Bernadotte's coffin+ leaves for Sweden, September 1948.+ credit: "Benno Rothenberg / Meitar Collection / National Library of Israel /+ The Pritzker Family National Photography Collection \xB7 CC BY 4.0 \xB7 graded+ and cropped"+ sensitive: 1+ sensitivityReviewed: 1+ - eventId: clothing_rationing_1950+ image: {fileID: 2800000, guid: a2430cb25bd4644c3a6040cf18617c73, type: 3}+ alt: Shops on Nahalat Binyamin Street, Tel Aviv, shut in protest after the government+ decided to ration clothing, 1950.+ credit: "Benno Rothenberg / Meitar Collection / National Library of Israel /+ The Pritzker Family National Photography Collection \xB7 CC BY 4.0 \xB7 graded+ and cropped"+ sensitive: 0+ sensitivityReviewed: 0+ - eventId: elections_1949+ image: {fileID: 2800000, guid: 8c959d4b13cfc4b7a8a5ac3c7a46b480, type: 3}+ alt: A voter drops his envelope into the ballot box at a polling station on election+ day, 25 January 1949.+ credit: "Benno Rothenberg / Meitar Collection / National Library of Israel /+ The Pritzker Family National Photography Collection \xB7 CC BY 4.0 \xB7 graded+ and cropped"+ sensitive: 0+ sensitivityReviewed: 0+ - eventId: first_truce+ image: {fileID: 2800000, guid: e52b94b9d64f24bafa07294fd5068c17, type: 3}+ alt: A quiet, tree-lined street in Jerusalem during a pause in the fighting,+ 1948.+ credit: "Moshe Marlin Levin / Meitar Collection / National Library of Israel+ / The Pritzker Family National Photography Collection \xB7 CC BY 4.0 \xB7 graded+ and cropped"+ sensitive: 0+ sensitivityReviewed: 0+ - eventId: frumkin_commission+ image: {fileID: 2800000, guid: 9ac6b7418fe5f408a9d7be0e1c317ec0, type: 3}+ alt: Snow and slush at the Ras al-Ein (Rosh HaAyin) immigrant camp, winter 1950.+ credit: "Benno Rothenberg / Meitar Collection / National Library of Israel /+ The Pritzker Family National Photography Collection / Israel State Archives+ \xB7 CC BY 4.0 \xB7 graded and cropped"+ sensitive: 0+ sensitivityReviewed: 0+ - eventId: hula_drainage+ image: {fileID: 2800000, guid: 8667fce6f8c2b4633b2e291e9cdddd07, type: 3}+ alt: Timber shuttering and earthworks for the dams that drained Lake Hula, 1951.+ credit: "Benno Rothenberg / Meitar Collection / National Library of Israel /+ The Pritzker Family National Photography Collection \xB7 CC BY 4.0 \xB7 graded+ and cropped"+ sensitive: 0+ sensitivityReviewed: 0+ - eventId: idf_founding+ image: {fileID: 2800000, guid: bd09df6e255af486aa2b097209f0a079, type: 3}+ alt: Officers and a rabbi with a banner at the Jerusalem ceremony founding the+ Israel Defense Forces, June 1948.+ credit: "Moshe Marlin Levin / Meitar Collection / National Library of Israel+ / The Pritzker Family National Photography Collection \xB7 CC BY 4.0 \xB7 graded+ and cropped"+ sensitive: 0+ sensitivityReviewed: 0+ - eventId: iraqi_exodus+ image: {fileID: 2800000, guid: 500a6138a65cb4b94a22c47acc06c71c, type: 3}+ alt: Children newly arrived from Iraq at a reception table with bread, oranges+ and mugs, 1951.+ credit: "Benno Rothenberg / Meitar Collection / National Library of Israel /+ The Pritzker Family National Photography Collection \xB7 CC BY 4.0 \xB7 graded+ and cropped"+ sensitive: 0+ sensitivityReviewed: 0+ - eventId: israel_bonds+ image: {fileID: 2800000, guid: a4ce290bdab3342189da25741919d8d8, type: 3}+ alt: David Ben-Gurion and Abba Eban present a menorah to President Harry Truman+ in the Oval Office, May 1951.+ credit: "Abbie Rowe, National Park Service / U.S. National Archives (NARA 200318)+ \xB7 public domain \xB7 graded and cropped"+ sensitive: 0+ sensitivityReviewed: 0+ - eventId: jerusalem_ceasefire+ image: {fileID: 2800000, guid: df224a98a048241d9a46dfc713802e5e, type: 3}+ alt: Tank traps and roadblocks on Shmuel HaNavi Street, on the line between Israeli-+ and Jordanian-held Jerusalem, 1948-49.+ credit: "Willem van de Poll, Nationaal Archief (Van de Poll 255-0327) \xB7 CC0+ \xB7 graded and cropped"+ sensitive: 0+ sensitivityReviewed: 0+ - eventId: jerusalem_military_government+ image: {fileID: 2800000, guid: 58b9f14a3ed1e4a9aba4e8a649be050a, type: 3}+ alt: One of Israel's first policemen directs traffic on Ussishkin Street, Jerusalem,+ June 1948.+ credit: "Moshe Marlin Levin / Meitar Collection / National Library of Israel+ / The Pritzker Family National Photography Collection \xB7 CC BY 4.0 \xB7 graded+ and cropped"+ sensitive: 0+ sensitivityReviewed: 0+ - eventId: latrun_proposal+ image: {fileID: 2800000, guid: f55b884d1a14b458a979e0b862f98b22, type: 3}+ alt: A Palmach squad walks across the rocky slopes to the Israeli positions facing+ Latrun, 1948.+ credit: "Boris Carmi / Meitar Collection / National Library of Israel / The Pritzker+ Family National Photography Collection \xB7 CC BY 4.0 \xB7 graded and cropped"+ sensitive: 0+ sensitivityReviewed: 0+ - eventId: law_of_return+ image: {fileID: 2800000, guid: 37245b3d68ea14b38b4acd5dca8169db, type: 3}+ alt: The Knesset building, Beit Froumine on King George Street, Jerusalem, 1950.+ credit: "Benno Rothenberg / Meitar Collection / National Library of Israel /+ The Pritzker Family National Photography Collection \xB7 CC BY 4.0 \xB7 graded+ and cropped"+ sensitive: 0+ sensitivityReviewed: 0+ - eventId: maabarot_policy+ image: {fileID: 2800000, guid: 30e66f07968ea470285400148cdda3ec, type: 3}+ alt: Immigrant women and children inside a large tent at a ma'abara on the road+ to Jerusalem, 1950.+ credit: "Benno Rothenberg / Meitar Collection / National Library of Israel /+ The Pritzker Family National Photography Collection \xB7 CC BY 4.0 \xB7 graded+ and cropped"+ sensitive: 0+ sensitivityReviewed: 0+ - eventId: ministry_supply_crisis+ image: {fileID: 2800000, guid: dc210581e182c4a49a80c62a22465013, type: 3}+ alt: Customers at the counter of a Tel Aviv grocery with bare shelves under austerity,+ 1950.+ credit: "Benno Rothenberg / Meitar Collection / National Library of Israel /+ The Pritzker Family National Photography Collection \xB7 CC BY 4.0 \xB7 graded+ and cropped"+ sensitive: 0+ sensitivityReviewed: 0+ - eventId: operation_hiram+ image: {fileID: 2800000, guid: abf15c791a3374e62806e9976b5537e5, type: 3}+ alt: A soldier sweeps a Galilee road for mines after Operation Hiram, 1948.+ credit: "Boris Carmi / Meitar Collection / National Library of Israel / The Pritzker+ Family National Photography Collection \xB7 CC BY 4.0 \xB7 graded and cropped"+ sensitive: 1+ sensitivityReviewed: 1+ - eventId: operation_horev+ image: {fileID: 2800000, guid: 53720b264363543d5862414d660c8b40, type: 3}+ alt: A column of IDF vehicles and a motorcyclist on a desert track in the Negev+ during Operation Horev, December 1948.+ credit: "Benno Rothenberg / Meitar Collection / National Library of Israel /+ The Pritzker Family National Photography Collection \xB7 CC BY 4.0 \xB7 graded+ and cropped"+ sensitive: 1+ sensitivityReviewed: 1+ - eventId: operation_yoav+ image: {fileID: 2800000, guid: 4dbff23757d784486a804849886fb63e, type: 3}+ alt: IDF officers study a map on a jeep as forces move south before Operation+ Yoav, 13 October 1948.+ credit: "Benno Rothenberg / Meitar Collection / National Library of Israel /+ The Pritzker Family National Photography Collection \xB7 CC BY 4.0 \xB7 graded+ and cropped"+ sensitive: 1+ sensitivityReviewed: 1+ - eventId: second_truce+ image: {fileID: 2800000, guid: eeb2c6a1420f649d6b259c164df97e0a, type: 3}+ alt: Count Folke Bernadotte, the UN mediator, interviewed by a radio reporter+ at Schiphol airport, 17 July 1948.+ credit: "Ben Merk / Anefo, Nationaal Archief (Anefo 934-6899) \xB7 CC0 \xB7 graded+ and cropped"+ sensitive: 0+ sensitivityReviewed: 0+ - eventId: ten_days+ image: {fileID: 2800000, guid: 706abfabe556e4b3798cc6be35896d85, type: 3}+ alt: Two soldiers keep watch from an armoured car among eucalyptus trees during+ the capture of Lydda airport, 10 July 1948.+ credit: "Boris Carmi / Meitar Collection / National Library of Israel / The Pritzker+ Family National Photography Collection \xB7 CC BY 4.0 \xB7 graded and cropped"+ sensitive: 1+ sensitivityReviewed: 1diff --git a/unity/Assets/Resources/EventImageCatalog.asset.meta b/unity/Assets/Resources/EventImageCatalog.asset.metanew file mode 100644index 000000000..baecc35b7--- /dev/null+++ b/unity/Assets/Resources/EventImageCatalog.asset.meta@@ -0,0 +1,8 @@+fileFormatVersion: 2+guid: 49d4d797050b94707ad60b15b6054d42+NativeFormatImporter:+ externalObjects: {}+ mainObjectFileID: 11400000+ userData:+ assetBundleName:+ assetBundleVariant:diff --git a/unity/Assets/Scripts/UI/EventCardPresenter.cs b/unity/Assets/Scripts/UI/EventCardPresenter.csindex e83a9e138..f32a889ad 100644--- a/unity/Assets/Scripts/UI/EventCardPresenter.cs+++ b/unity/Assets/Scripts/UI/EventCardPresenter.cs@@ -5,8 +5,10 @@ using UnityEngine.UIElements;namespace Statecraft.Game.UI{- /// <summary>The event card (right of the screen): the first pending event the player has not yet answered, with the- /// responsible minister's portrait, the text with today's office holders filled in, and one button per option.+ /// <summary>The event card (right of the screen): the first pending event the player has not yet answered, with its+ /// header picture (an archival photograph of the event with its credit line, as the promo's card; EventImageCatalog) or,+ /// when the event has none, the responsible minister's portrait, the text with today's office holders filled in, and+ /// one button per option./// A choice is an order: it takes effect at End Turn, and an unanswered event is delegated to the minister.</summary>public sealed class EventCardPresenter : System.IDisposable{@@ -16,16 +18,32 @@ namespace Statecraft.Game.UIpublic const string OptionClass = "event-option";readonly VisualElement card; readonly SimBridge bridge; readonly UiText text; readonly PortraitCatalog? portraits;-- public EventCardPresenter(VisualElement root, SimBridge bridge, UiText text, PortraitCatalog? portraits)+ readonly EventImageCatalog? photos;+ readonly VisualElement band, head, scroll, options; readonly Label credit;++ public EventCardPresenter(VisualElement root, SimBridge bridge, UiText text, PortraitCatalog? portraits, EventImageCatalog? photos = null){- card = root.Q<VisualElement>("event-card"); this.bridge = bridge; this.text = text; this.portraits = portraits;+ card = root.Q<VisualElement>("event-card"); this.bridge = bridge; this.text = text; this.portraits = portraits; this.photos = photos;+ band = card.Q<VisualElement>("event-photo"); credit = card.Q<Label>("event-photo-credit");+ // The band and its credit settle the drop (FitPhoto); the column, which only the window sizes, brings a dropped+ // photograph back when the window grows. A hidden element keeps its old layout, so a band shown again at the+ // size it was dropped at gets no geometry event of its own; the head below it always moves, so it checks too.+ head = card.Q<VisualElement>(className: "event-head");+ scroll = card.Q<VisualElement>("event-scroll"); options = card.Q<VisualElement>("event-options");+ foreach (var e in new[] { band, credit, head, scroll, options }) e.RegisterCallback<GeometryChangedEvent>(OnPhotoGeometry);+ card.parent?.RegisterCallback<GeometryChangedEvent>(OnColumnGeometry);bridge.Changed += Render;Render();}/// <summary>Unsubscribes from the bridge, removes the option buttons and hides the card (the owner calls this when disabled).</summary>- public void Dispose() { bridge.Changed -= Render; card.Q<VisualElement>("event-options")?.Clear(); card.style.display = DisplayStyle.None; }+ public void Dispose()+ {+ bridge.Changed -= Render;+ foreach (var e in new[] { band, credit, head, scroll, options }) e.UnregisterCallback<GeometryChangedEvent>(OnPhotoGeometry);+ card.parent?.UnregisterCallback<GeometryChangedEvent>(OnColumnGeometry);+ card.Q<VisualElement>("event-options")?.Clear(); card.style.display = DisplayStyle.None;+ }/// <summary>The event the card shows, or null when every pending event has a queued answer.</summary>public GameEvent? Shown { get; private set; }@@ -37,12 +55,15 @@ namespace Statecraft.Game.UIvar open = pending.Where(e => bridge.QueuedLike(new ChooseEventOption(e.Id, "")) == null).ToList();Shown = open.FirstOrDefault();card.style.display = Shown == null ? DisplayStyle.None : DisplayStyle.Flex;- if (Shown == null) return;+ if (Shown == null) { ShowPhoto(null); return; }var e = Shown;var date = EventSystem.FillDate(e, s.Date);var holder = e.Office == "" ? null : Cabinet.Holder(c, s, e.Office, date);+ // The header photograph when the event has one; otherwise the minister's portrait plate (the fallback).+ var photo = photos?.Find(e.Id);+ ShowPhoto(photo);var image = card.Q<VisualElement>("event-image");- var entry = portraits?.Find(holder?.Id);+ var entry = photo == null ? portraits?.Find(holder?.Id) : null;var portrait = entry?.image;image.style.backgroundImage = portrait == null ? (StyleBackground)StyleKeyword.None : new StyleBackground(portrait);image.style.display = portrait == null ? DisplayStyle.None : DisplayStyle.Flex;@@ -66,6 +87,125 @@ namespace Statecraft.Game.UIcard.Q<Label>("event-count").text = open.Count > 1 ? text.Format("event.more", open.Count - 1) : "";}+ /// <summary>Shows the event's photograph with its credit line, its alt text as the picture's tooltip, or hides both.</summary>+ void ShowPhoto(EventImageCatalog.Entry? photo)+ {+ current = photo;+ credit.text = photo?.credit ?? "";+ SetPhotoShown(photo != null);+ }++ /// <summary>Shows the current photograph (band, credit, tooltip, texture) or hides all of it. Idempotent.</summary>+ void SetPhotoShown(bool shown)+ {+ var photo = shown ? current : null;+ var display = photo != null ? DisplayStyle.Flex : DisplayStyle.None;+ band.style.display = display; credit.style.display = display;+ band.style.backgroundImage = photo == null ? (StyleBackground)StyleKeyword.None : new StyleBackground(photo.Value.image);+ band.tooltip = photo?.alt ?? "";+ PhotoAlt = photo?.alt;+ ApplyPhotoFloor();+ }++ /// <summary>The logical window height below which the event body may scroll (UiLayoutTests, playtest 2 P2-3: from+ /// 990 up, the body and the options fit without scrolling).</summary>+ public const float ScrollFallbackHeight = 990f;++ /// <summary>True on a window shorter than <see cref="ScrollFallbackHeight"/> (logically), where the body may scroll.</summary>+ bool ShortWindow+ {+ get+ {+ var h = card.panel?.visualTree.layout.height ?? float.NaN;+ return !float.IsNaN(h) && h > 0 && h < ScrollFallbackHeight;+ }+ }++ /// <summary>On a short window (an ultrawide 2560x1080 is one) the body gives way before the band: it scrolls, as it+ /// may there, down to its minimum, and only then does the band shrink (and drop below PhotoNeeds). Before this the+ /// band always gave way first, fell below that height and no photograph ever showed at 21:9. On taller windows the+ /// band still gives way first (Statecraft.uss flex-shrink 1000), so the body never scrolls for it. The options keep+ /// flex-shrink 0 either way, so they are never cut.</summary>+ void ApplyPhotoFloor()+ {+ band.style.flexShrink = PhotoAlt != null && ShortWindow ? new StyleFloat(0.001f) : new StyleFloat(StyleKeyword.Null);+ band.style.height = StyleKeyword.Null; // back to the stylesheet's 200 px; FitPhoto trims it again if it must+ }++ /// <summary>The smallest height of the picture left visible above its credit strip (Statecraft.uss .event-photo+ /// shrinks first). On a window too short for a long event the band would show a sliver, or cut into the credit that+ /// CC BY 4.0 requires: below credit height + MinPhotoHeight the photograph is dropped (credit, tooltip and all), so+ /// the body and the options keep their room and the card reads as a card without a picture. The minister's+ /// portrait does not come back in its place: it is taller still (docs/event-images.md).</summary>+ public const float MinPhotoHeight = 48f;++ /// <summary>The band height the photograph needs: its whole credit strip plus MinPhotoHeight of picture. The credit is+ /// measured from its text at the band's width, not read from its layout: in a squeezed band the label's layout is+ /// clamped to the room left, which is exactly the clipping this guards against.</summary>+ public float PhotoNeeds => CreditHeight() + MinPhotoHeight;++ float CreditHeight()+ {+ var s = credit.resolvedStyle;+ var bandWidth = band.layout.width > 0 ? band.layout.width : card.contentRect.width;+ var width = bandWidth - band.resolvedStyle.borderLeftWidth - band.resolvedStyle.borderRightWidth - s.paddingLeft - s.paddingRight;+ if (float.IsNaN(width) || width <= 0) return float.NaN;+ var text = credit.MeasureTextSize(credit.text, width, VisualElement.MeasureMode.Exactly, 0, VisualElement.MeasureMode.Undefined);+ return text.y + s.paddingTop + s.paddingBottom + s.borderTopWidth + s.borderBottomWidth;+ }++ /// <summary>Drops the shown photograph when its band is shorter than <see cref="PhotoNeeds"/>. Only ever hides, so the+ /// layout pass it causes cannot bring the photo back and loop; OnColumnGeometry is what restores it.</summary>+ void FitPhoto()+ {+ if (PhotoAlt == null) return;+ var h = band.layout.height; var needs = PhotoNeeds;+ if (float.IsNaN(h) || float.IsNaN(needs)) return;+ if (h < needs - 0.5f) { SetPhotoShown(false); return; }+ // On a short window the band hardly shrinks (ApplyPhotoFloor), and Yoga does not hand the body's leftover+ // shortfall back to it once the body is at its minimum. So when the options would be cut, the band is trimmed+ // by that much, and dropped if that leaves it short of PhotoNeeds. It only ever shrinks, so this converges.+ if (!ShortWindow) return;+ var over = options.worldBound.yMax - card.worldBound.yMax;+ if (float.IsNaN(over) || over <= 0.5f) return;+ var target = h - over - 1f;+ if (target < needs) SetPhotoShown(false);+ else band.style.height = target;+ }++ void OnPhotoGeometry(GeometryChangedEvent evt) => FitPhoto();++ /// <summary>The right-hand column changed size (the window did; the card's content never moves it, as the column is+ /// pinned to the window by top and bottom). A shown photograph is checked again; a dropped one comes back only when+ /// the room now free in the column holds it (<see cref="RoomForDroppedPhoto"/>), so it is never shown just to be+ /// measured (a hidden element keeps its old layout, so a re-shown band may get no new geometry event).</summary>+ void OnColumnGeometry(GeometryChangedEvent evt)+ {+ if (current != null && PhotoAlt == null) { if (RoomForDroppedPhoto() >= PhotoNeeds) SetPhotoShown(true); }+ else { ApplyPhotoFloor(); FitPhoto(); }+ }++ /// <summary>The band height a dropped photograph would get now (at most; the band itself stops at 200 px): the slack+ /// of the column's flexible gap above its minimum, capped by the card's max-height, less the band's margins.</summary>+ float RoomForDroppedPhoto()+ {+ var gap = card.parent?.Q(className: "right-gap");+ if (gap == null || float.IsNaN(gap.layout.height) || float.IsNaN(card.layout.height)) return 0;+ var slack = gap.layout.height - gap.resolvedStyle.minHeight.value;+ // On a short window the body may scroll, so the room it would give up (down to its own minimum) counts too.+ if (ShortWindow && !float.IsNaN(scroll.layout.height)) slack += System.Math.Max(0f, scroll.layout.height - scroll.resolvedStyle.minHeight.value);+ var max = card.resolvedStyle.maxHeight;+ if (max.keyword == StyleKeyword.Undefined && !float.IsNaN(max.value)) slack = System.Math.Min(slack, max.value - card.layout.height);+ return slack - band.resolvedStyle.marginTop - band.resolvedStyle.marginBottom;+ }++ /// <summary>The event's photograph, whether or not the window has room to show it.</summary>+ EventImageCatalog.Entry? current;++ /// <summary>The shown photograph's alt text (what it depicts), or null when the card shows no photograph (none for+ /// this event, or dropped on a short window).</summary>+ public string? PhotoAlt { get; private set; }+/// <summary>The round sign in an option's left padding (Statecraft.uss .event-option), painted into the button so it/// stays a leaf whose wrapped text Yoga measures (UiIcon.Paint).</summary>const float SignRadius = 15f, SignLeft = 9f;diff --git a/unity/Assets/Scripts/UI/EventImageCatalog.cs b/unity/Assets/Scripts/UI/EventImageCatalog.csnew file mode 100644index 000000000..702ffd57c--- /dev/null+++ b/unity/Assets/Scripts/UI/EventImageCatalog.cs@@ -0,0 +1,53 @@+#nullable enable+using System;+using System.Collections.Generic;+using System.Linq;+using UnityEngine;++namespace Statecraft.Game.UI+{+ /// <summary>Event id -> the card's header photograph (an archival photo, never an AI image), with its alt text, its+ /// credit line and its sensitivity flags. Built by the editor tool EventImageImport from+ /// Assets/UI/EventImages/event-images.yaml, which is a Unity-side file and NOT game content: the event YAMLs feed the+ /// content hash and save compatibility, and the pictures must never touch either. Kept in Resources so the game loads+ /// it without a scene reference; the textures it references ship in the build's data file.</summary>+ [CreateAssetMenu(menuName = "Statecraft/Event Image Catalog")]+ public sealed class EventImageCatalog : ScriptableObject+ {+ /// <summary>Resources.Load path (Assets/Resources/EventImageCatalog.asset).</summary>+ public const string ResourcePath = "EventImageCatalog";++ [Serializable]+ public struct Entry+ {+ public string eventId; public Texture2D image;+ /// <summary>What the picture shows, for accessibility (the element's tooltip).</summary>+ public string alt;+ /// <summary>The credit line shown under the picture (artist, archive, licence, "graded and cropped").</summary>+ public string credit;+ /// <summary>The picture needs the owner's sensitivity review before a shareable build may carry it.</summary>+ public bool sensitive;+ public bool sensitivityReviewed;+ }++ public List<Entry> entries = new List<Entry>();++ /// <summary>The catalog the game ships, or null when there is none (the card then shows the minister's portrait).+ /// Memory (review M10): loading the catalog pulls in all its textures at start and they are never unloaded. At 25+ /// pictures of 720x320, DXT1, crunched, no mipmaps, that is about 115 KB each and 2.9 MB in all, which is fine. If+ /// the count grows past about 100, keep a Resources path per entry instead and load each event's texture on demand.</summary>+ public static EventImageCatalog? Load() => Resources.Load<EventImageCatalog>(ResourcePath);++ /// <summary>The event's entry, or null when the event has no picture.</summary>+ public Entry? Find(string? eventId)+ {+ if (eventId == null) return null;+ foreach (var e in entries) if (e.eventId == eventId && e.image != null) return e;+ return null;+ }++ /// <summary>The events whose picture is sensitive and not yet sensitivity-reviewed, in id order.</summary>+ public IReadOnlyList<string> SensitiveUnreviewed() =>+ entries.Where(e => e.sensitive && !e.sensitivityReviewed).Select(e => e.eventId).OrderBy(x => x, StringComparer.Ordinal).ToList();+ }+}diff --git a/unity/Assets/Scripts/UI/EventImageCatalog.cs.meta b/unity/Assets/Scripts/UI/EventImageCatalog.cs.metanew file mode 100644index 000000000..92c757106--- /dev/null+++ b/unity/Assets/Scripts/UI/EventImageCatalog.cs.meta@@ -0,0 +1,2 @@+fileFormatVersion: 2+guid: 3240123ad63ed4a2dbd76283afa9295b\ No newline at end of filediff --git a/unity/Assets/Scripts/UI/EventImageMapping.cs b/unity/Assets/Scripts/UI/EventImageMapping.csnew file mode 100644index 000000000..433b53481--- /dev/null+++ b/unity/Assets/Scripts/UI/EventImageMapping.cs@@ -0,0 +1,89 @@+#nullable enable+using System;+using System.Collections.Generic;+using System.Linq;+using Statecraft.Sim;+using YamlDotNet.Serialization;+using YamlDotNet.Serialization.NamingConventions;++namespace Statecraft.Game.UI+{+ /// <summary>Reads and checks Assets/UI/EventImages/event-images.yaml, the event -> photograph mapping (a Unity-side+ /// file, never part of the hashed game content). EventImageImport builds EventImageCatalog from it; tests check it.</summary>+ public static class EventImageMapping+ {+ public const string Folder = "Assets/UI/EventImages";+ public const string Path = Folder + "/event-images.yaml";+ /// <summary>The licences an event photograph may carry (owner ruling 2026-10-11): public domain, CC0 or CC BY 4.0.+ /// Spelled as in ASSETS.yaml (scripts/oss/oss_policy.py ALLOWED_LICENCES). Never share-alike, never "unknown".</summary>+ public static readonly IReadOnlyDictionary<string, string> Licences = new Dictionary<string, string>+ {+ ["Public-Domain"] = "public domain", ["CC0-1.0"] = "CC0", ["CC-BY-4.0"] = "CC BY 4.0",+ };+ /// <summary>Every credit names the adaptation, as CC BY 4.0 asks.</summary>+ public const string Adaptation = "graded and cropped";++ public sealed class Row+ {+ public string Event { get; set; } = "";+ public string File { get; set; } = "";+ public string Commons { get; set; } = "";+ public string Original { get; set; } = "";+ public string Sha1 { get; set; } = "";+ public List<int> OriginalSize { get; set; } = new List<int>();+ public string Licence { get; set; } = "";+ public string Artist { get; set; } = "";+ public string Credit { get; set; } = "";+ public string Alt { get; set; } = "";+ public List<double> Crop { get; set; } = new List<double>();+ public bool Sensitive { get; set; }+ public bool SensitivityReviewed { get; set; }+ public string Note { get; set; } = "";+ }++ sealed class Doc+ {+ public string Checked { get; set; } = "";+ public List<Row> Images { get; set; } = new List<Row>();+ }++ /// <summary>Parses the mapping. Throws InvalidOperationException naming the file on malformed YAML or unknown keys.</summary>+ public static IReadOnlyList<Row> Parse(string yaml)+ {+ try+ {+ var doc = new DeserializerBuilder().WithNamingConvention(UnderscoredNamingConvention.Instance)+ .WithDuplicateKeyChecking().Build().Deserialize<Doc>(yaml ?? "");+ return doc?.Images ?? new List<Row>();+ }+ catch (YamlDotNet.Core.YamlException e) { throw new InvalidOperationException($"{Path}: {e.Message}", e); }+ }++ /// <summary>Every problem with the rows against the game content (empty when the mapping is sound): unknown or+ /// repeated events, licences outside <see cref="Licences"/>, a credit without the artist, licence or adaptation,+ /// missing alt text or source, and an event with a sensitive tag whose picture is not marked sensitive.</summary>+ public static List<string> Problems(IReadOnlyList<Row> rows, Content content)+ {+ var problems = new List<string>();+ var events = content.Events.ToDictionary(e => e.Id);+ var sensitiveEvents = new HashSet<string>(ReleaseGate.SensitiveEvents(content)); // the events with a sensitive tag+ foreach (var g in rows.GroupBy(r => r.Event).Where(g => g.Count() > 1)) problems.Add($"{g.Key}: more than one row");+ foreach (var r in rows)+ {+ if (!events.TryGetValue(r.Event, out var ev)) { problems.Add($"{r.Event}: no such event"); continue; }+ if (r.File != r.Event + ".jpg") problems.Add($"{r.Event}: file must be {r.Event}.jpg (got '{r.File}')");+ if (!Licences.TryGetValue(r.Licence, out var label)) problems.Add($"{r.Event}: licence '{r.Licence}' is not public domain, CC0 or CC BY 4.0");+ else if (!r.Credit.Contains(label)) problems.Add($"{r.Event}: credit does not name the licence '{label}'");+ if (r.Artist == "" || !r.Credit.Contains(r.Artist)) problems.Add($"{r.Event}: credit does not name the artist '{r.Artist}'");+ if (!r.Credit.Contains(Adaptation)) problems.Add($"{r.Event}: credit does not say '{Adaptation}'");+ if (r.Alt.Trim().Length < 20) problems.Add($"{r.Event}: alt text missing or too short");+ if (!r.Commons.StartsWith("https://commons.wikimedia.org/wiki/File:", StringComparison.Ordinal)) problems.Add($"{r.Event}: commons page missing");+ if (r.Sha1.Length != 40) problems.Add($"{r.Event}: sha1 of the original missing");+ if (r.Crop.Count != 3) problems.Add($"{r.Event}: crop must be [centre x, centre y, width]");+ if (sensitiveEvents.Contains(ev.Id) && !r.Sensitive) problems.Add($"{r.Event}: the event has a sensitive tag, so its picture must be sensitive: true");+ if (r.SensitivityReviewed && !r.Sensitive) problems.Add($"{r.Event}: sensitivity_reviewed without sensitive");+ }+ return problems;+ }+ }+}diff --git a/unity/Assets/Scripts/UI/EventImageMapping.cs.meta b/unity/Assets/Scripts/UI/EventImageMapping.cs.metanew file mode 100644index 000000000..63e1549be--- /dev/null+++ b/unity/Assets/Scripts/UI/EventImageMapping.cs.meta@@ -0,0 +1,2 @@+fileFormatVersion: 2+guid: b168c9571ca0445ac8cd38cea86c9566\ No newline at end of filediff --git a/unity/Assets/Scripts/UI/GameRoot.cs b/unity/Assets/Scripts/UI/GameRoot.csindex 3facb7833..501b6df3d 100644--- a/unity/Assets/Scripts/UI/GameRoot.cs+++ b/unity/Assets/Scripts/UI/GameRoot.cs@@ -136,7 +136,7 @@ namespace Statecraft.Game.UIOwn(new PointerBlur(root)); // a mouse click leaves no focus fill behind (keyboard keeps it)Own(new NavigationGuard(root)); // the camera keys (WASD, arrows) never move UI focus (B6)if (DiagLog.Nav) Own(new NavEventLog(root)); // ?navlog: every UI pointer/submit event (playtest 2, P2-4)- var card = Own(new EventCardPresenter(root, bridge, text, portraits));+ var card = Own(new EventCardPresenter(root, bridge, text, portraits, EventImageCatalog.Load())); // event photos: Resources, no scene fieldOwn(new DefencePresenter(root, bridge, text, portraits));Own(new BudgetPresenter(root, bridge, text));Own(new WhyPresenter(root, bridge, text));diff --git a/unity/Assets/Tests/EditMode/BuildGateTests.cs b/unity/Assets/Tests/EditMode/BuildGateTests.csindex d3c720349..6bcb6e5d7 100644--- a/unity/Assets/Tests/EditMode/BuildGateTests.cs+++ b/unity/Assets/Tests/EditMode/BuildGateTests.cs@@ -14,7 +14,7 @@ public class BuildGateTests{var t = Type.GetType("Statecraft.Game.EditorTools.Build, Assembly-CSharp-Editor");Assert.IsNotNull(t, "Build exists");- return (string?)t!.GetMethod("ShareableRefusal", BindingFlags.Public | BindingFlags.Static)!.Invoke(null, new object[] { c });+ return (string?)t!.GetMethod("ShareableRefusal", BindingFlags.Public | BindingFlags.Static)!.Invoke(null, new object?[] { c, null, false, null }); // event content only}[Test]@@ -38,10 +38,10 @@ public class BuildGateTestsvar t = Type.GetType("Statecraft.Game.EditorTools.Build, Assembly-CSharp-Editor")!;var gate = t.GetMethod("GateRefusal", BindingFlags.Public | BindingFlags.Static)!;var c = ContentLoader.Load(Paths.Content);- Assert.IsNull(gate.Invoke(null, new object[] { new[] { "Unity", "-executeMethod", "Statecraft.Game.EditorTools.Build.Mac" }, c }), "a dev build is not gated");- Assert.IsNull(gate.Invoke(null, new object[] { new[] { "Unity", "-shareable" }, c }), "all seven are sensitivity-reviewed (D11)");+ Assert.IsNull(gate.Invoke(null, new object?[] { new[] { "Unity", "-executeMethod", "Statecraft.Game.EditorTools.Build.Mac" }, c, null, false, null }), "a dev build is not gated");+ Assert.IsNull(gate.Invoke(null, new object?[] { new[] { "Unity", "-shareable" }, c, null, false, null }), "all seven are sensitivity-reviewed (D11)");foreach (var e in c.Events) if (e.Id == "reparations_claim") e.Status = "fact-checked";- StringAssert.Contains("reparations_claim", (string?)gate.Invoke(null, new object[] { new[] { "Unity", "-shareable" }, c }));+ StringAssert.Contains("reparations_claim", (string?)gate.Invoke(null, new object?[] { new[] { "Unity", "-shareable" }, c, null, false, null }));var source = System.IO.File.ReadAllText("Assets/Editor/Build.cs");foreach (var method in new[] { "public static void Web()", "public static void Mac()" }){@@ -49,4 +49,140 @@ public class BuildGateTestsStringAssert.Contains("RefuseUnlessShareable()", body, method + " checks the gate first");}}++ // Owner ruling 2026-10-11: the event photographs of sensitive events need the+ // owner's sensitivity review before a shareable build may carry them. The gate reads the catalog the build ships.+ static readonly string[] SensitivePhotos =+ { "altalena", "bernadotte_assassination", "operation_hiram", "operation_horev", "operation_yoav", "ten_days" };++ static Statecraft.Game.UI.EventImageCatalog ShippedPhotos()+ {+ var real = UnityEditor.AssetDatabase.LoadAssetAtPath<Statecraft.Game.UI.EventImageCatalog>("Assets/Resources/EventImageCatalog.asset");+ Assert.IsNotNull(real, "the shipped catalog (run EventImageImport.Run)");+ return UnityEngine.Object.Instantiate(real);+ }++ /// <summary>The catalog as it was before the owner's sign-off of 2026-10-11: every sensitive picture unreviewed.</summary>+ static void Unreview(Statecraft.Game.UI.EventImageCatalog photos)+ {+ for (int i = 0; i < photos.entries.Count; i++) { var e = photos.entries[i]; e.sensitivityReviewed = false; photos.entries[i] = e; }+ }++ /// <summary>The mapping as it was before the owner's sign-off.</summary>+ static System.Collections.Generic.IReadOnlyList<Statecraft.Game.UI.EventImageMapping.Row> UnreviewedMapping+ {+ get { var rows = Mapping; foreach (var r in rows) r.SensitivityReviewed = false; return rows; }+ }++ [Test]+ public void ShareableBuildsWaitForTheSensitivityReviewOfTheEventPhotographs()+ {+ var t = Type.GetType("Statecraft.Game.EditorTools.Build, Assembly-CSharp-Editor")!;+ var gate = t.GetMethod("GateRefusal", BindingFlags.Public | BindingFlags.Static)!;+ var c = ContentLoader.Load(Paths.Content);+ var photos = ShippedPhotos();+ try+ {+ CollectionAssert.IsEmpty(photos.SensitiveUnreviewed(), "the owner signed off all six on 2026-10-11");+ Assert.IsNull(gate.Invoke(null, new object?[] { new[] { "Unity", "-shareable" }, c, photos, true, Mapping }), "the shipped catalog and mapping pass");+ Unreview(photos);+ CollectionAssert.AreEqual(SensitivePhotos, photos.SensitiveUnreviewed(), "exactly the owner's list");+ var refusal = (string?)gate.Invoke(null, new object?[] { new[] { "Unity", "-shareable" }, c, photos, false, null });+ Assert.IsNotNull(refusal, "unreviewed sensitive photographs block a shareable build");+ foreach (var id in SensitivePhotos) StringAssert.Contains(id, refusal);+ StringAssert.Contains("event photographs", refusal);+ Assert.IsNull(gate.Invoke(null, new object?[] { new[] { "Unity", "-executeMethod", "Statecraft.Game.EditorTools.Build.Web" }, c, photos, false, null }),+ "a dev build still carries them (the owner reviews them in one)");+ for (int i = 0; i < photos.entries.Count; i++) // as the owner's sign-off would+ {+ var e = photos.entries[i]; e.sensitivityReviewed = e.sensitive; photos.entries[i] = e;+ }+ Assert.IsNull(gate.Invoke(null, new object?[] { new[] { "Unity", "-shareable" }, c, photos, false, null }), "all reviewed: the build may be shared");+ }+ finally { UnityEngine.Object.DestroyImmediate(photos); }+ }++ [Test]+ public void TheShareableBuildChecksTheShippedCatalog()+ {+ var source = System.IO.File.ReadAllText("Assets/Editor/Build.cs");+ var body = source.Substring(source.IndexOf("static bool RefuseUnlessShareable()", StringComparison.Ordinal), 900);+ StringAssert.Contains("EventImageImport.CatalogPath", body, "the gate loads the catalog the build ships");+ StringAssert.Contains("File.Exists(EventImageImport.CatalogPath)", body, "a catalog that fails to load is not 'nothing to review'");+ StringAssert.Contains("EventImageMapping.Path", body, "the gate cross-checks the mapping");+ }++ static MethodInfo Gate => Type.GetType("Statecraft.Game.EditorTools.Build, Assembly-CSharp-Editor")!.GetMethod("GateRefusal", BindingFlags.Public | BindingFlags.Static)!;+ static System.Collections.Generic.IReadOnlyList<Statecraft.Game.UI.EventImageMapping.Row> Mapping =>+ Statecraft.Game.UI.EventImageMapping.Parse(System.IO.File.ReadAllText(Statecraft.Game.UI.EventImageMapping.Path));+ static readonly string[] Shareable = { "Unity", "-shareable" };++ /// <summary>Review I5: the gate fails closed. A catalog file that exists but did not load refuses, and the sensitive+ /// rows of the mapping refuse even when the catalog has none.</summary>+ [Test]+ public void TheGateFailsClosedWhenTheCatalogDoesNotLoad()+ {+ var c = ContentLoader.Load(Paths.Content);+ var refusal = (string?)Gate.Invoke(null, new object?[] { Shareable, c, null, true, null });+ Assert.IsNotNull(refusal, "an existing catalog that did not load is a refusal");+ StringAssert.Contains("did not load", refusal);+ Assert.IsNull(Gate.Invoke(null, new object?[] { Shareable, c, null, false, null }), "no catalog file and no mapping: no photographs ship");+ var fromMapping = (string?)Gate.Invoke(null, new object?[] { Shareable, c, null, true, UnreviewedMapping });+ foreach (var id in SensitivePhotos) StringAssert.Contains(id, fromMapping, "the mapping's own sensitive rows refuse");+ }++ /// <summary>Review I5: a catalog edited by hand (or stale) against the mapping refuses, even when the edit marks every+ /// photograph reviewed.</summary>+ [Test]+ public void TheGateRefusesACatalogThatDoesNotMatchTheMapping()+ {+ var c = ContentLoader.Load(Paths.Content);+ var photos = ShippedPhotos();+ try+ {+ Assert.IsNull(Gate.Invoke(null, new object?[] { Shareable, c, photos, true, Mapping }), "the shipped catalog matches the mapping");+ Unreview(photos);+ for (int i = 0; i < photos.entries.Count; i++) // a hand edit, not the owner's sign-off+ {+ var e = photos.entries[i]; e.sensitivityReviewed = e.sensitive; photos.entries[i] = e;+ }+ Assert.IsNull(Gate.Invoke(null, new object?[] { Shareable, c, photos, true, null }), "the catalog alone would pass");+ var refusal = (string?)Gate.Invoke(null, new object?[] { Shareable, c, photos, true, UnreviewedMapping });+ Assert.IsNotNull(refusal, "the mapping still says unreviewed");+ StringAssert.Contains("does not match", refusal);+ foreach (var id in SensitivePhotos) StringAssert.Contains(id, refusal);+ var j = photos.entries.FindIndex(e => e.eventId == "maabarot_policy");+ var m = photos.entries[j]; m.credit = "someone else"; photos.entries[j] = m;+ StringAssert.Contains("maabarot_policy", (string?)Gate.Invoke(null, new object?[] { Shareable, c, photos, true, Mapping }), "a changed credit");+ }+ finally { UnityEngine.Object.DestroyImmediate(photos); }+ }++ /// <summary>Review I1: every build writes event-photos.json beside its output, which tools/package_release.py reads+ /// (the pictures are packed into the data files, where the packager cannot see them).</summary>+ [Test]+ public void EveryBuildWritesThePhotoManifestForThePackager()+ {+ var t = Type.GetType("Statecraft.Game.EditorTools.Build, Assembly-CSharp-Editor")!;+ Assert.AreEqual("event-photos.json", t.GetField("PhotoManifestName", BindingFlags.Public | BindingFlags.Static)!.GetValue(null));+ var json = t.GetMethod("PhotoManifestJson", BindingFlags.Public | BindingFlags.Static)!;+ var photos = ShippedPhotos();+ try+ {+ var dev = (string)json.Invoke(null, new object?[] { photos, false })!;+ StringAssert.IsMatch("\"shareable\":\\s*false", dev);+ foreach (var id in SensitivePhotos)+ StringAssert.IsMatch($"\"event_id\":\\s*\"{id}\",\\s*\"sensitive\":\\s*true,\\s*\"sensitivity_reviewed\":\\s*true", dev);+ Assert.AreEqual(24, System.Text.RegularExpressions.Regex.Matches(dev, "\"event_id\"").Count);+ StringAssert.IsMatch("\"shareable\":\\s*true", (string)json.Invoke(null, new object?[] { photos, true })!);+ StringAssert.IsMatch("\"photos\":\\s*\\[\\s*\\]", (string)json.Invoke(null, new object?[] { null, true })!);+ }+ finally { UnityEngine.Object.DestroyImmediate(photos); }+ var source = System.IO.File.ReadAllText("Assets/Editor/Build.cs");+ foreach (var method in new[] { "public static void Web()", "public static void Mac()" })+ {+ var body = source.Substring(source.IndexOf(method, StringComparison.Ordinal), 900);+ StringAssert.Contains("WritePhotoManifest(", body, method + " writes the manifest");+ }+ }}diff --git a/unity/Assets/Tests/EditMode/EventCardTests.cs b/unity/Assets/Tests/EditMode/EventCardTests.csindex 001422c8e..275ee7367 100644--- a/unity/Assets/Tests/EditMode/EventCardTests.cs+++ b/unity/Assets/Tests/EditMode/EventCardTests.cs@@ -152,4 +152,87 @@ public class EventCardTestsvar queued = (ChooseEventOption)bridge.Queued.Single();Assert.AreEqual(("elections_1949", "hold"), (queued.EventId, queued.OptionId));}++ // Owner ruling 2026-10-11: the promo's header picture is a real archival photograph with its credit line under it.+ const string PhotosPath = "Assets/Resources/EventImageCatalog.asset";++ /// <summary>The historical game with only this event pending, on its first day (as UiLayoutTests does).</summary>+ static SimBridge Showing(string eventId)+ {+ var g = GameSession.New(C, GoldenRun.Seed, Mode.Historical);+ g.State.Date = C.Events.First(e => e.Id == eventId).From;+ g.State.PendingEvents.Clear(); g.State.PendingEvents.Add(eventId);+ return new SimBridge(g, Text);+ }++ [Test]+ public void AnEventWithAPhotographShowsItWithItsCreditAndAltText()+ {+ using var ui = new UiTestKit();+ var photos = AssetDatabase.LoadAssetAtPath<EventImageCatalog>(PhotosPath);+ var portraits = AssetDatabase.LoadAssetAtPath<PortraitCatalog>(CatalogPath);+ var card = new EventCardPresenter(ui.Root, AtArmistice(), Text, portraits, photos);+ var entry = photos.Find("armistice_egypt")!.Value;+ var band = ui.Q<VisualElement>("event-photo");+ Assert.AreEqual(entry.image, band.style.backgroundImage.value.texture);+ Assert.AreEqual(DisplayStyle.Flex, band.style.display.value);+ Assert.AreEqual(entry.alt, band.tooltip, "the alt text");+ Assert.AreEqual(entry.alt, card.PhotoAlt);+ var credit = ui.Q<Label>("event-photo-credit");+ Assert.AreEqual(DisplayStyle.Flex, credit.style.display.value);+ Assert.AreEqual(entry.credit, credit.text);+ StringAssert.Contains("Benno Rothenberg", credit.text);+ StringAssert.Contains("CC BY 4.0", credit.text);+ StringAssert.Contains("graded and cropped", credit.text);+ Assert.AreEqual(DisplayStyle.None, ui.Q<VisualElement>("event-image").style.display.value, "the photograph replaces the portrait");+ Assert.AreEqual("Prime Minister: David Ben-Gurion", ui.Q<Label>("event-office").text, "the minister is still named");+ }++ [Test]+ public void AnEventWithoutAPhotographFallsBackToTheMinistersPortrait()+ {+ using var ui = new UiTestKit();+ var photos = AssetDatabase.LoadAssetAtPath<EventImageCatalog>(PhotosPath);+ var portraits = AssetDatabase.LoadAssetAtPath<PortraitCatalog>(CatalogPath);+ Assert.IsNull(photos.Find("armistice_lebanon"), "no free photograph was found for it");+ var card = new EventCardPresenter(ui.Root, Showing("armistice_lebanon"), Text, portraits, photos);+ Assert.AreEqual("armistice_lebanon", card.Shown!.Id);+ Assert.AreEqual(DisplayStyle.None, ui.Q<VisualElement>("event-photo").style.display.value);+ Assert.AreEqual(DisplayStyle.None, ui.Q<Label>("event-photo-credit").style.display.value);+ Assert.AreEqual("", ui.Q<Label>("event-photo-credit").text);+ Assert.IsNull(card.PhotoAlt);+ Assert.AreEqual(portraits.Get("ben_gurion"), ui.Q<VisualElement>("event-image").style.backgroundImage.value.texture);+ Assert.AreEqual(DisplayStyle.Flex, ui.Q<VisualElement>("event-image").style.display.value);+ }++ [Test]+ public void ThePhotographGoesWhenTheNextEventHasNone()+ {+ using var ui = new UiTestKit();+ var real = AssetDatabase.LoadAssetAtPath<EventImageCatalog>(PhotosPath);+ var photos = Object.Instantiate(real); // the real catalog; its entries are edited between renders+ try+ {+ var portraits = AssetDatabase.LoadAssetAtPath<PortraitCatalog>(CatalogPath);+ var card = new EventCardPresenter(ui.Root, AtArmistice(), Text, portraits, photos);+ Assert.AreEqual(DisplayStyle.Flex, ui.Q<VisualElement>("event-photo").style.display.value);+ photos.entries.RemoveAll(e => e.eventId == "armistice_egypt");+ card.Render();+ Assert.IsNull(ui.Q<VisualElement>("event-photo").style.backgroundImage.value.texture, "the texture is gone");+ Assert.AreEqual(DisplayStyle.None, ui.Q<VisualElement>("event-photo").style.display.value);+ Assert.AreEqual("", ui.Q<VisualElement>("event-photo").tooltip);+ Assert.AreEqual(portraits.Get("ben_gurion"), ui.Q<VisualElement>("event-image").style.backgroundImage.value.texture, "the portrait is back");+ }+ finally { Object.DestroyImmediate(photos); }+ }++ [Test]+ public void WithNoPhotoCatalogTheCardKeepsThePortrait()+ {+ using var ui = new UiTestKit();+ var portraits = AssetDatabase.LoadAssetAtPath<PortraitCatalog>(CatalogPath);+ new EventCardPresenter(ui.Root, AtArmistice(), Text, portraits);+ Assert.AreEqual(DisplayStyle.None, ui.Q<VisualElement>("event-photo").style.display.value);+ Assert.AreEqual(portraits.Get("ben_gurion"), ui.Q<VisualElement>("event-image").style.backgroundImage.value.texture);+ }}diff --git a/unity/Assets/Tests/EditMode/EventImageMappingTests.cs b/unity/Assets/Tests/EditMode/EventImageMappingTests.csnew file mode 100644index 000000000..eb6945264--- /dev/null+++ b/unity/Assets/Tests/EditMode/EventImageMappingTests.cs@@ -0,0 +1,144 @@+#nullable enable+using System;+using System.Collections.Generic;+using System.IO;+using System.Linq;+using NUnit.Framework;+using Statecraft.Game;+using Statecraft.Game.UI;+using Statecraft.Sim;+using UnityEditor;+using UnityEngine;+using YamlDotNet.RepresentationModel;++/// <summary>The event -> photograph mapping (Assets/UI/EventImages/event-images.yaml; owner rulings 2026-10-11): sound+/// against the content, outside the hashed content, matched by the shipped catalog, the files and ASSETS.yaml.</summary>+public class EventImageMappingTests+{+ const string CatalogPath = "Assets/Resources/EventImageCatalog.asset";+ 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" };+ static readonly string[] SensitivePhotos =+ { "altalena", "bernadotte_assassination", "operation_hiram", "operation_horev", "operation_yoav", "ten_days" };++ [Test]+ public void TheMappingIsSoundAgainstTheContent()+ {+ var rows = Rows;+ Assert.AreEqual(24, rows.Count);+ CollectionAssert.IsEmpty(EventImageMapping.Problems(rows, C));+ CollectionAssert.AreEquivalent(C.Events.Select(e => e.Id).Except(Fallback), rows.Select(r => r.Event), "every event but the seven fallbacks has a picture");+ CollectionAssert.AreEquivalent(SensitivePhotos, rows.Where(r => r.Sensitive).Select(r => r.Event), "the owner's sensitive list");+ CollectionAssert.AreEquivalent(SensitivePhotos, rows.Where(r => r.SensitivityReviewed).Select(r => r.Event), "the owner's sign-off of 2026-10-11, and nothing else");+ }++ [Test]+ public void ProblemsAreFound()+ {+ EventImageMapping.Row Good() => new EventImageMapping.Row+ {+ Event = "maabarot_policy", File = "maabarot_policy.jpg", Commons = "https://commons.wikimedia.org/wiki/File:X.jpg", Sha1 = new string('a', 40),+ Licence = "CC-BY-4.0", Artist = "Benno Rothenberg", Credit = "Benno Rothenberg / Meitar Collection · CC BY 4.0 · graded and cropped",+ Alt = "A tent ma'abara on the road to Jerusalem, 1950.", Crop = new List<double> { 0.5, 0.5, 1 },+ };+ CollectionAssert.IsEmpty(EventImageMapping.Problems(new[] { Good() }, C));+ void Bad(Action<EventImageMapping.Row> edit, string expected)+ {+ var r = Good(); edit(r);+ var problems = EventImageMapping.Problems(new[] { r }, C);+ Assert.IsTrue(problems.Any(p => p.Contains(expected)), $"'{expected}' expected in: {string.Join(" | ", problems)}");+ }+ Bad(r => r.Licence = "CC-BY-SA-4.0", "is not public domain, CC0 or CC BY 4.0");+ Bad(r => r.Licence = "unknown", "is not public domain, CC0 or CC BY 4.0");+ Bad(r => r.Credit = "Benno Rothenberg · CC BY 4.0", "graded and cropped");+ Bad(r => r.Credit = "Meitar Collection · CC BY 4.0 · graded and cropped", "does not name the artist");+ Bad(r => r.Credit = "Benno Rothenberg · graded and cropped", "does not name the licence");+ Bad(r => r.Alt = "", "alt text");+ Bad(r => r.Event = "no_such_event", "no such event");+ Bad(r => { r.Event = "altalena"; r.File = "altalena.jpg"; }, "must be sensitive: true"); // tagged war-casualties+ var twice = EventImageMapping.Problems(new[] { Good(), Good() }, C);+ Assert.IsTrue(twice.Any(p => p.Contains("more than one row")));+ }++ /// <summary>The pictures live outside content/ and nothing in content/ names them, so the content hash, the goldens and+ /// save compatibility cannot change with them (the goldens and SaveGameTests run unchanged in the same suite).</summary>+ [Test]+ public void TheMappingIsNotGameContent()+ {+ var content = Path.GetFullPath(Paths.Content);+ Assert.IsFalse(Path.GetFullPath(EventImageMapping.Path).StartsWith(content, StringComparison.Ordinal));+ foreach (var f in Directory.GetFiles(Path.Combine(content, "events"), "*.yaml"))+ StringAssert.DoesNotContain("EventImages", File.ReadAllText(f), f);+ }++ [Test]+ public void EveryPictureIsAShippedNineByFourFileAndEveryFileHasARow()+ {+ var rows = Rows;+ var files = Directory.GetFiles(EventImageMapping.Folder, "*.jpg").Select(f => Path.GetFileName(f)).OrderBy(x => x).ToArray();+ CollectionAssert.AreEqual(rows.Select(r => r.File).OrderBy(x => x).ToArray(), files);+ foreach (var r in rows)+ {+ var path = $"{EventImageMapping.Folder}/{r.File}";+ Assert.LessOrEqual(new FileInfo(path).Length, 200 * 1024, path);+ var tex = new Texture2D(2, 2);+ try+ {+ Assert.IsTrue(ImageConversion.LoadImage(tex, File.ReadAllBytes(path)), path);+ Assert.AreEqual(tex.width * 4, tex.height * 9, $"{path}: 9:4 ({tex.width}x{tex.height})");+ Assert.AreEqual(0, tex.width % 4 + tex.height % 4, $"{path}: multiples of 4 for block compression");+ Assert.GreaterOrEqual(tex.width, 600, path);+ }+ finally { UnityEngine.Object.DestroyImmediate(tex); }+ }+ }++ [Test]+ public void TheShippedCatalogMatchesTheMapping()+ {+ var catalog = AssetDatabase.LoadAssetAtPath<EventImageCatalog>(CatalogPath);+ Assert.IsNotNull(catalog, CatalogPath + " (run EventImageImport.Run)");+ Assert.AreSame(catalog, Resources.Load<EventImageCatalog>(EventImageCatalog.ResourcePath), "the game loads it from Resources");+ var rows = Rows.OrderBy(r => r.Event, StringComparer.Ordinal).ToList();+ Assert.AreEqual(rows.Count, catalog.entries.Count);+ for (int i = 0; i < rows.Count; i++)+ {+ var (r, e) = (rows[i], catalog.entries[i]);+ Assert.AreEqual(r.Event, e.eventId);+ Assert.AreEqual($"{EventImageMapping.Folder}/{r.File}", AssetDatabase.GetAssetPath(e.image), r.Event);+ Assert.AreEqual(r.Alt, e.alt, r.Event);+ Assert.AreEqual(r.Credit, e.credit, r.Event);+ Assert.AreEqual(r.Sensitive, e.sensitive, r.Event);+ Assert.AreEqual(r.SensitivityReviewed, e.sensitivityReviewed, r.Event);+ }+ var importer = (TextureImporter)AssetImporter.GetAtPath($"{EventImageMapping.Folder}/{rows[0].File}");+ Assert.IsFalse(importer.mipmapEnabled);+ Assert.AreEqual(TextureImporterNPOTScale.None, importer.npotScale, "kept at 9:4");+ }++ /// <summary>Every picture has its own ASSETS.yaml row with the same licence, source page and credit, still owner-verify+ /// (the release gate's check_repo --release refuses those rows until the owner verifies them).</summary>+ [Test]+ public void EveryPictureHasItsProvenanceRow()+ {+ var yaml = new YamlStream();+ yaml.Load(new StringReader(File.ReadAllText(Path.Combine(Paths.RepoRoot, "ASSETS.yaml"))));+ static string Get(YamlMappingNode m, string key) => m.Children.TryGetValue(new YamlScalarNode(key), out var v) ? v.ToString() : "";+ var root = (YamlMappingNode)yaml.Documents[0].RootNode;+ var rules = ((YamlSequenceNode)root.Children[new YamlScalarNode("rules")]).Children.Cast<YamlMappingNode>().ToDictionary(m => Get(m, "glob"));+ foreach (var r in Rows)+ {+ var glob = $"unity/{EventImageMapping.Folder}/{r.File}";+ Assert.IsTrue(rules.TryGetValue(glob, out var rule), glob + " has no ASSETS.yaml row");+ Assert.AreEqual(r.Licence, Get(rule!, "licence"), glob);+ Assert.AreEqual(r.Commons, Get(rule!, "source"), glob);+ Assert.AreEqual(r.Credit, Get(rule!, "credit"), glob);+ Assert.AreEqual("verified", Get(rule!, "status"), glob); // the owner's sign-off of 2026-10-11 (docs/event-images.md)+ Assert.AreEqual("graded and cropped", Get(rule!, "adapted"), glob);+ if (r.Sensitive) StringAssert.Contains("sensitivity review", Get(rule!, "note"), glob);+ }+ }+}diff --git a/unity/Assets/Tests/EditMode/EventImageMappingTests.cs.meta b/unity/Assets/Tests/EditMode/EventImageMappingTests.cs.metanew file mode 100644index 000000000..36855b22a--- /dev/null+++ b/unity/Assets/Tests/EditMode/EventImageMappingTests.cs.meta@@ -0,0 +1,2 @@+fileFormatVersion: 2+guid: 9a6f3cb28c6e547048fe5de228ea4862\ No newline at end of filediff --git a/unity/Assets/Tests/EditMode/UiLayoutTests.cs b/unity/Assets/Tests/EditMode/UiLayoutTests.csindex 700aa1810..25f266038 100644--- a/unity/Assets/Tests/EditMode/UiLayoutTests.cs+++ b/unity/Assets/Tests/EditMode/UiLayoutTests.cs@@ -353,7 +353,10 @@ public class UiLayoutTests// The real portraits: a minister's portrait adds the 200 px image row, so the tallest card is a portrait card.var portraits = AssetDatabase.LoadAssetAtPath<PortraitCatalog>("Assets/UI/Portraits/PortraitCatalog.asset");Assert.IsNotNull(portraits);- var card = new EventCardPresenter(root, bridge, Text, portraits);+ // And the real event photographs: a photograph card adds the 200 px header band and its credit line.+ var photos = AssetDatabase.LoadAssetAtPath<EventImageCatalog>("Assets/Resources/EventImageCatalog.asset");+ Assert.IsNotNull(photos);+ var card = new EventCardPresenter(root, bridge, Text, portraits, photos);float tallest = 0; string tallestId = "";try{@@ -364,7 +367,8 @@ public class UiLayoutTestsg.State.Date = e.From; // the text names the office holders of the event's own timeg.State.PendingEvents.Clear(); g.State.PendingEvents.Add(e.Id);bridge.Replace(g);- for (int i = 0; i < 3; i++) yield return null;+ for (int i = 0; i < 4; i++) yield return null; // the fourth: a photograph dropped for height settles+ CheckPhoto($"{w}x{h}: {e.Id}", root, card, problems);var c = root.Q("event-card").worldBound;var mini = root.Q("minimap").worldBound;if (c.height > tallest) { tallest = c.height; tallestId = e.Id; }@@ -382,7 +386,7 @@ public class UiLayoutTests// without scrolling; shorter windows may scroll the body as the fallback.var scroll = root.Q<ScrollView>("event-scroll");var logicalHeight = root.panel.visualTree.layout.height;- if (logicalHeight >= 990f && scroll.contentContainer.layout.height > scroll.contentViewport.layout.height + 1f)+ if (logicalHeight >= EventCardPresenter.ScrollFallbackHeight && scroll.contentContainer.layout.height > scroll.contentViewport.layout.height + 1f)problems.Add($"{w}x{h} (logical height {logicalHeight:0}): {e.Id}: the body scrolls ({scroll.contentContainer.layout.height:0} px of text in {scroll.contentViewport.layout.height:0} px)");}Debug.Log($"I2 {w}x{h}: tallest card {tallestId} {tallest:0} px");@@ -396,4 +400,125 @@ public class UiLayoutTests}Assert.IsEmpty(problems, string.Join("\n", problems));}++ /// <summary>Review I2 and I6: a shown photograph keeps at least MinPhotoHeight of picture above its whole credit line+ /// (CC BY 4.0 needs the credit), the credit's text fits the strip, and PhotoAlt says whether it is shown.</summary>+ static void CheckPhoto(string where, VisualElement root, EventCardPresenter card, List<string> problems)+ {+ var band = root.Q("event-photo");+ var credit = root.Q<Label>("event-photo-credit");+ if (band.resolvedStyle.display == DisplayStyle.None)+ {+ if (card.PhotoAlt != null) problems.Add($"{where}: PhotoAlt is set but the photograph is hidden");+ return;+ }+ if (card.PhotoAlt == null) problems.Add($"{where}: the photograph band shows with no PhotoAlt");+ if (band.layout.height + 0.5f < credit.layout.height + EventCardPresenter.MinPhotoHeight)+ problems.Add($"{where}: the photograph band is {band.layout.height:0} px, under its credit ({credit.layout.height:0} px) + {EventCardPresenter.MinPhotoHeight} px");+ if (!Inside(credit.worldBound, band.worldBound)) problems.Add($"{where}: the credit {credit.worldBound} is cut by the band {band.worldBound}");+ if (!TextFits(credit)) problems.Add($"{where}: the credit '{credit.text}' does not fit its strip {credit.contentRect}");+ }++ /// <summary>Review I6 and the re-review's ultrawide finding: on a short window (logically under+ /// EventCardPresenter.ScrollFallbackHeight) a photograph is either shown whole with its credit, the body scrolling for+ /// it as it may there, or dropped rather than squeezed (PhotoAlt is null); the credit is never cut and the card clears+ /// the minimap with its options inside it. An ultrawide 2560x1080 window shows photographs.</summary>+ [UnityTest]+ public IEnumerator AShortWindowShowsThePhotographWholeOrDropsIt()+ {+ var problems = new List<string>();+ var photos = AssetDatabase.LoadAssetAtPath<EventImageCatalog>("Assets/Resources/EventImageCatalog.asset");+ Assert.IsNotNull(photos);+ foreach (var (w, h) in new[] { (1280, 600), (2560, 1080) }) // logically about 985 and 935 px tall+ {+ var rt = new RenderTexture(w, h, 0);+ var ps = Object.Instantiate(AssetDatabase.LoadAssetAtPath<PanelSettings>(UiPaths.Panel));+ ps.targetTexture = rt;+ var go = new GameObject("LayoutTest");+ go.SetActive(false);+ var doc = go.AddComponent<UIDocument>();+ doc.panelSettings = ps;+ doc.visualTreeAsset = AssetDatabase.LoadAssetAtPath<VisualTreeAsset>(UiPaths.GameUxml);+ go.SetActive(true);+ var root = doc.rootVisualElement;+ var bridge = new SimBridge(GameSession.New(C, GoldenRun.Seed, Mode.Historical), Text);+ var card = new EventCardPresenter(root, bridge, Text, null, photos);+ int dropped = 0, shown = 0;+ try+ {+ for (int i = 0; i < 20 && float.IsNaN(root.Q("minimap").worldBound.width); i++) yield return null;+ foreach (var e in C.Events.Where(e => photos.Find(e.Id) != null))+ {+ var g = GameSession.New(C, GoldenRun.Seed, Mode.Historical);+ g.State.Date = e.From;+ g.State.PendingEvents.Clear(); g.State.PendingEvents.Add(e.Id);+ bridge.Replace(g);+ for (int i = 0; i < 4; i++) yield return null;+ CheckPhoto($"{w}x{h}: {e.Id}", root, card, problems);+ if (card.PhotoAlt == null) dropped++; else shown++;+ var c = root.Q("event-card").worldBound;+ var mini = root.Q("minimap").worldBound;+ if (c.yMax > mini.yMin + 0.5f && c.xMax > mini.xMin && c.xMin < mini.xMax)+ problems.Add($"{w}x{h}: {e.Id}: card {c} overlaps the minimap {mini}");+ foreach (var b in root.Q("event-options").Query<Button>().ToList())+ if (!Inside(b.worldBound, c)) problems.Add($"{w}x{h}: {e.Id}: option '{b.text}' {b.worldBound} is cut off by the card {c}");+ }+ Debug.Log($"I6 {w}x{h}: {shown} photographs shown, {dropped} dropped");+ Assert.Greater(shown, 0, $"{w}x{h}: photographs show on this window");+ Assert.Less(root.panel.visualTree.layout.height, EventCardPresenter.ScrollFallbackHeight, $"{w}x{h} is a short window");+ }+ finally+ {+ card.Dispose();+ Object.DestroyImmediate(go); Object.DestroyImmediate(ps); rt.Release(); Object.DestroyImmediate(rt);+ }+ }+ Assert.IsEmpty(problems, string.Join("\n", problems));+ }++ /// <summary>Review I2: a photograph dropped because the window got shorter comes back when it grows again, without a+ /// new event (the card listens to the right-hand column's size, which only the window changes).</summary>+ [UnityTest]+ public IEnumerator ADroppedPhotographReturnsWhenTheWindowGrows()+ {+ var rt = new RenderTexture(1920, 1080, 0);+ var ps = Object.Instantiate(AssetDatabase.LoadAssetAtPath<PanelSettings>(UiPaths.Panel));+ ps.targetTexture = rt;+ var go = new GameObject("LayoutTest");+ go.SetActive(false);+ var doc = go.AddComponent<UIDocument>();+ doc.panelSettings = ps;+ doc.visualTreeAsset = AssetDatabase.LoadAssetAtPath<VisualTreeAsset>(UiPaths.GameUxml);+ go.SetActive(true);+ var root = doc.rootVisualElement;+ var photos = AssetDatabase.LoadAssetAtPath<EventImageCatalog>("Assets/Resources/EventImageCatalog.asset");+ var g = GameSession.New(C, GoldenRun.Seed, Mode.Historical);+ g.State.Date = C.Events.First(e => e.Id == "armistice_egypt").From;+ g.State.PendingEvents.Clear(); g.State.PendingEvents.Add("armistice_egypt");+ var card = new EventCardPresenter(root, new SimBridge(g, Text), Text, null, photos);+ var column = root.Q("right-column");+ try+ {+ for (int i = 0; i < 20 && float.IsNaN(root.Q("minimap").worldBound.width); i++) yield return null;+ for (int i = 0; i < 3; i++) yield return null;+ Assert.IsNotNull(card.PhotoAlt, "1080p has room for the photograph");+ column.style.bottom = 560; // as a much shorter window would leave the column+ for (int i = 0; i < 4; i++) yield return null;+ Assert.IsNull(card.PhotoAlt, "a short column drops the photograph");+ Assert.AreEqual(DisplayStyle.None, root.Q("event-photo").resolvedStyle.display);+ Assert.AreEqual("", root.Q("event-photo").tooltip, "the alt text goes with it");+ column.style.bottom = StyleKeyword.Null; // the window grows back+ for (int i = 0; i < 4; i++) yield return null;+ Assert.IsNotNull(card.PhotoAlt, "the photograph is back without a new event");+ Assert.AreEqual(DisplayStyle.Flex, root.Q("event-photo").resolvedStyle.display);+ var problems = new List<string>();+ CheckPhoto("1920x1080 regrown", root, card, problems);+ Assert.IsEmpty(problems, string.Join("\n", problems));+ }+ finally+ {+ card.Dispose();+ Object.DestroyImmediate(go); Object.DestroyImmediate(ps); rt.Release(); Object.DestroyImmediate(rt);+ }+ }}diff --git a/unity/Assets/UI/EventImages.meta b/unity/Assets/UI/EventImages.metanew file mode 100644index 000000000..55c7917d1--- /dev/null+++ b/unity/Assets/UI/EventImages.meta@@ -0,0 +1,8 @@+fileFormatVersion: 2+guid: 67fac38986192414ab7dba11d9cca523+folderAsset: yes+DefaultImporter:+ externalObjects: {}+ userData:+ assetBundleName:+ assetBundleVariant:diff --git a/unity/Assets/UI/EventImages/altalena.jpg b/unity/Assets/UI/EventImages/altalena.jpgnew file mode 100644index 000000000..70a95971bBinary files /dev/null and b/unity/Assets/UI/EventImages/altalena.jpg differdiff --git a/unity/Assets/UI/EventImages/altalena.jpg.meta b/unity/Assets/UI/EventImages/altalena.jpg.metanew file mode 100644index 000000000..b504d0eea--- /dev/null+++ b/unity/Assets/UI/EventImages/altalena.jpg.meta@@ -0,0 +1,130 @@+fileFormatVersion: 2+guid: 778f252f061854a6191a38a48bba8dd1+TextureImporter:+ internalIDToNameTable: []+ externalObjects: {}+ serializedVersion: 13+ mipmaps:+ mipMapMode: 0+ enableMipMap: 0+ sRGBTexture: 1+ linearTexture: 0+ fadeOut: 0+ borderMipMap: 0+ mipMapsPreserveCoverage: 0+ alphaTestReferenceValue: 0.5+ mipMapFadeDistanceStart: 1+ mipMapFadeDistanceEnd: 3+ bumpmap:+ convertToNormalMap: 0+ externalNormalMap: 0+ heightScale: 0.25+ normalMapFilter: 0+ flipGreenChannel: 0+ isReadable: 0+ streamingMipmaps: 0+ streamingMipmapsPriority: 0+ vTOnly: 0+ ignoreMipmapLimit: 0+ grayScaleToAlpha: 0+ generateCubemap: 6+ cubemapConvolution: 0+ seamlessCubemap: 0+ textureFormat: 1+ maxTextureSize: 1024+ textureSettings:+ serializedVersion: 2+ filterMode: 1+ aniso: 1+ mipBias: 0+ wrapU: 1+ wrapV: 1+ wrapW: 1+ nPOTScale: 0+ lightmap: 0+ compressionQuality: 50+ spriteMode: 0+ spriteExtrude: 1+ spriteMeshType: 1+ alignment: 0+ spritePivot: {x: 0.5, y: 0.5}+ spritePixelsToUnits: 100+ spriteBorder: {x: 0, y: 0, z: 0, w: 0}+ spriteGenerateFallbackPhysicsShape: 1+ alphaUsage: 1+ alphaIsTransparency: 0+ spriteTessellationDetail: -1+ textureType: 0+ textureShape: 1+ singleChannelComponent: 0+ flipbookRows: 1+ flipbookColumns: 1+ maxTextureSizeSet: 0+ compressionQualitySet: 0+ textureFormatSet: 0+ ignorePngGamma: 0+ applyGammaDecoding: 0+ swizzle: 50462976+ cookieLightType: 0+ platformSettings:+ - serializedVersion: 4+ buildTarget: DefaultTexturePlatform+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ - serializedVersion: 4+ buildTarget: Standalone+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ - serializedVersion: 4+ buildTarget: WebGL+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ spriteSheet:+ serializedVersion: 2+ sprites: []+ outline: []+ customData:+ physicsShape: []+ bones: []+ spriteID:+ internalID: 0+ vertices: []+ indices:+ edges: []+ weights: []+ secondaryTextures: []+ spriteCustomMetadata:+ entries: []+ nameFileIdTable: {}+ mipmapLimitGroupName:+ pSDRemoveMatte: 0+ userData:+ assetBundleName:+ assetBundleVariant:diff --git a/unity/Assets/UI/EventImages/armistice_egypt.jpg b/unity/Assets/UI/EventImages/armistice_egypt.jpgnew file mode 100644index 000000000..feb7dab7aBinary files /dev/null and b/unity/Assets/UI/EventImages/armistice_egypt.jpg differdiff --git a/unity/Assets/UI/EventImages/armistice_egypt.jpg.meta b/unity/Assets/UI/EventImages/armistice_egypt.jpg.metanew file mode 100644index 000000000..5dcadd7ef--- /dev/null+++ b/unity/Assets/UI/EventImages/armistice_egypt.jpg.meta@@ -0,0 +1,130 @@+fileFormatVersion: 2+guid: 6a3375c172b3341c48ed637bc90bf014+TextureImporter:+ internalIDToNameTable: []+ externalObjects: {}+ serializedVersion: 13+ mipmaps:+ mipMapMode: 0+ enableMipMap: 0+ sRGBTexture: 1+ linearTexture: 0+ fadeOut: 0+ borderMipMap: 0+ mipMapsPreserveCoverage: 0+ alphaTestReferenceValue: 0.5+ mipMapFadeDistanceStart: 1+ mipMapFadeDistanceEnd: 3+ bumpmap:+ convertToNormalMap: 0+ externalNormalMap: 0+ heightScale: 0.25+ normalMapFilter: 0+ flipGreenChannel: 0+ isReadable: 0+ streamingMipmaps: 0+ streamingMipmapsPriority: 0+ vTOnly: 0+ ignoreMipmapLimit: 0+ grayScaleToAlpha: 0+ generateCubemap: 6+ cubemapConvolution: 0+ seamlessCubemap: 0+ textureFormat: 1+ maxTextureSize: 1024+ textureSettings:+ serializedVersion: 2+ filterMode: 1+ aniso: 1+ mipBias: 0+ wrapU: 1+ wrapV: 1+ wrapW: 1+ nPOTScale: 0+ lightmap: 0+ compressionQuality: 50+ spriteMode: 0+ spriteExtrude: 1+ spriteMeshType: 1+ alignment: 0+ spritePivot: {x: 0.5, y: 0.5}+ spritePixelsToUnits: 100+ spriteBorder: {x: 0, y: 0, z: 0, w: 0}+ spriteGenerateFallbackPhysicsShape: 1+ alphaUsage: 1+ alphaIsTransparency: 0+ spriteTessellationDetail: -1+ textureType: 0+ textureShape: 1+ singleChannelComponent: 0+ flipbookRows: 1+ flipbookColumns: 1+ maxTextureSizeSet: 0+ compressionQualitySet: 0+ textureFormatSet: 0+ ignorePngGamma: 0+ applyGammaDecoding: 0+ swizzle: 50462976+ cookieLightType: 0+ platformSettings:+ - serializedVersion: 4+ buildTarget: DefaultTexturePlatform+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ - serializedVersion: 4+ buildTarget: Standalone+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ - serializedVersion: 4+ buildTarget: WebGL+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ spriteSheet:+ serializedVersion: 2+ sprites: []+ outline: []+ customData:+ physicsShape: []+ bones: []+ spriteID:+ internalID: 0+ vertices: []+ indices:+ edges: []+ weights: []+ secondaryTextures: []+ spriteCustomMetadata:+ entries: []+ nameFileIdTable: {}+ mipmapLimitGroupName:+ pSDRemoveMatte: 0+ userData:+ assetBundleName:+ assetBundleVariant:diff --git a/unity/Assets/UI/EventImages/armistice_jordan.jpg b/unity/Assets/UI/EventImages/armistice_jordan.jpgnew file mode 100644index 000000000..b7435a2ddBinary files /dev/null and b/unity/Assets/UI/EventImages/armistice_jordan.jpg differdiff --git a/unity/Assets/UI/EventImages/armistice_jordan.jpg.meta b/unity/Assets/UI/EventImages/armistice_jordan.jpg.metanew file mode 100644index 000000000..c7ec491a3--- /dev/null+++ b/unity/Assets/UI/EventImages/armistice_jordan.jpg.meta@@ -0,0 +1,130 @@+fileFormatVersion: 2+guid: 1b071919ea9d249d3a94254f72713262+TextureImporter:+ internalIDToNameTable: []+ externalObjects: {}+ serializedVersion: 13+ mipmaps:+ mipMapMode: 0+ enableMipMap: 0+ sRGBTexture: 1+ linearTexture: 0+ fadeOut: 0+ borderMipMap: 0+ mipMapsPreserveCoverage: 0+ alphaTestReferenceValue: 0.5+ mipMapFadeDistanceStart: 1+ mipMapFadeDistanceEnd: 3+ bumpmap:+ convertToNormalMap: 0+ externalNormalMap: 0+ heightScale: 0.25+ normalMapFilter: 0+ flipGreenChannel: 0+ isReadable: 0+ streamingMipmaps: 0+ streamingMipmapsPriority: 0+ vTOnly: 0+ ignoreMipmapLimit: 0+ grayScaleToAlpha: 0+ generateCubemap: 6+ cubemapConvolution: 0+ seamlessCubemap: 0+ textureFormat: 1+ maxTextureSize: 1024+ textureSettings:+ serializedVersion: 2+ filterMode: 1+ aniso: 1+ mipBias: 0+ wrapU: 1+ wrapV: 1+ wrapW: 1+ nPOTScale: 0+ lightmap: 0+ compressionQuality: 50+ spriteMode: 0+ spriteExtrude: 1+ spriteMeshType: 1+ alignment: 0+ spritePivot: {x: 0.5, y: 0.5}+ spritePixelsToUnits: 100+ spriteBorder: {x: 0, y: 0, z: 0, w: 0}+ spriteGenerateFallbackPhysicsShape: 1+ alphaUsage: 1+ alphaIsTransparency: 0+ spriteTessellationDetail: -1+ textureType: 0+ textureShape: 1+ singleChannelComponent: 0+ flipbookRows: 1+ flipbookColumns: 1+ maxTextureSizeSet: 0+ compressionQualitySet: 0+ textureFormatSet: 0+ ignorePngGamma: 0+ applyGammaDecoding: 0+ swizzle: 50462976+ cookieLightType: 0+ platformSettings:+ - serializedVersion: 4+ buildTarget: DefaultTexturePlatform+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ - serializedVersion: 4+ buildTarget: Standalone+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ - serializedVersion: 4+ buildTarget: WebGL+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ spriteSheet:+ serializedVersion: 2+ sprites: []+ outline: []+ customData:+ physicsShape: []+ bones: []+ spriteID:+ internalID: 0+ vertices: []+ indices:+ edges: []+ weights: []+ secondaryTextures: []+ spriteCustomMetadata:+ entries: []+ nameFileIdTable: {}+ mipmapLimitGroupName:+ pSDRemoveMatte: 0+ userData:+ assetBundleName:+ assetBundleVariant:diff --git a/unity/Assets/UI/EventImages/austerity_1949.jpg b/unity/Assets/UI/EventImages/austerity_1949.jpgnew file mode 100644index 000000000..8010b0eadBinary files /dev/null and b/unity/Assets/UI/EventImages/austerity_1949.jpg differdiff --git a/unity/Assets/UI/EventImages/austerity_1949.jpg.meta b/unity/Assets/UI/EventImages/austerity_1949.jpg.metanew file mode 100644index 000000000..2ef7b555a--- /dev/null+++ b/unity/Assets/UI/EventImages/austerity_1949.jpg.meta@@ -0,0 +1,130 @@+fileFormatVersion: 2+guid: fbdeb44f6ea2348d982ff0887c3259f8+TextureImporter:+ internalIDToNameTable: []+ externalObjects: {}+ serializedVersion: 13+ mipmaps:+ mipMapMode: 0+ enableMipMap: 0+ sRGBTexture: 1+ linearTexture: 0+ fadeOut: 0+ borderMipMap: 0+ mipMapsPreserveCoverage: 0+ alphaTestReferenceValue: 0.5+ mipMapFadeDistanceStart: 1+ mipMapFadeDistanceEnd: 3+ bumpmap:+ convertToNormalMap: 0+ externalNormalMap: 0+ heightScale: 0.25+ normalMapFilter: 0+ flipGreenChannel: 0+ isReadable: 0+ streamingMipmaps: 0+ streamingMipmapsPriority: 0+ vTOnly: 0+ ignoreMipmapLimit: 0+ grayScaleToAlpha: 0+ generateCubemap: 6+ cubemapConvolution: 0+ seamlessCubemap: 0+ textureFormat: 1+ maxTextureSize: 1024+ textureSettings:+ serializedVersion: 2+ filterMode: 1+ aniso: 1+ mipBias: 0+ wrapU: 1+ wrapV: 1+ wrapW: 1+ nPOTScale: 0+ lightmap: 0+ compressionQuality: 50+ spriteMode: 0+ spriteExtrude: 1+ spriteMeshType: 1+ alignment: 0+ spritePivot: {x: 0.5, y: 0.5}+ spritePixelsToUnits: 100+ spriteBorder: {x: 0, y: 0, z: 0, w: 0}+ spriteGenerateFallbackPhysicsShape: 1+ alphaUsage: 1+ alphaIsTransparency: 0+ spriteTessellationDetail: -1+ textureType: 0+ textureShape: 1+ singleChannelComponent: 0+ flipbookRows: 1+ flipbookColumns: 1+ maxTextureSizeSet: 0+ compressionQualitySet: 0+ textureFormatSet: 0+ ignorePngGamma: 0+ applyGammaDecoding: 0+ swizzle: 50462976+ cookieLightType: 0+ platformSettings:+ - serializedVersion: 4+ buildTarget: DefaultTexturePlatform+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ - serializedVersion: 4+ buildTarget: Standalone+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ - serializedVersion: 4+ buildTarget: WebGL+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ spriteSheet:+ serializedVersion: 2+ sprites: []+ outline: []+ customData:+ physicsShape: []+ bones: []+ spriteID:+ internalID: 0+ vertices: []+ indices:+ edges: []+ weights: []+ secondaryTextures: []+ spriteCustomMetadata:+ entries: []+ nameFileIdTable: {}+ mipmapLimitGroupName:+ pSDRemoveMatte: 0+ userData:+ assetBundleName:+ assetBundleVariant:diff --git a/unity/Assets/UI/EventImages/bernadotte_assassination.jpg b/unity/Assets/UI/EventImages/bernadotte_assassination.jpgnew file mode 100644index 000000000..cacf91f8cBinary files /dev/null and b/unity/Assets/UI/EventImages/bernadotte_assassination.jpg differdiff --git a/unity/Assets/UI/EventImages/bernadotte_assassination.jpg.meta b/unity/Assets/UI/EventImages/bernadotte_assassination.jpg.metanew file mode 100644index 000000000..709a4cab5--- /dev/null+++ b/unity/Assets/UI/EventImages/bernadotte_assassination.jpg.meta@@ -0,0 +1,130 @@+fileFormatVersion: 2+guid: bd6487f6ceba74ad3a9060a52cabc3ba+TextureImporter:+ internalIDToNameTable: []+ externalObjects: {}+ serializedVersion: 13+ mipmaps:+ mipMapMode: 0+ enableMipMap: 0+ sRGBTexture: 1+ linearTexture: 0+ fadeOut: 0+ borderMipMap: 0+ mipMapsPreserveCoverage: 0+ alphaTestReferenceValue: 0.5+ mipMapFadeDistanceStart: 1+ mipMapFadeDistanceEnd: 3+ bumpmap:+ convertToNormalMap: 0+ externalNormalMap: 0+ heightScale: 0.25+ normalMapFilter: 0+ flipGreenChannel: 0+ isReadable: 0+ streamingMipmaps: 0+ streamingMipmapsPriority: 0+ vTOnly: 0+ ignoreMipmapLimit: 0+ grayScaleToAlpha: 0+ generateCubemap: 6+ cubemapConvolution: 0+ seamlessCubemap: 0+ textureFormat: 1+ maxTextureSize: 1024+ textureSettings:+ serializedVersion: 2+ filterMode: 1+ aniso: 1+ mipBias: 0+ wrapU: 1+ wrapV: 1+ wrapW: 1+ nPOTScale: 0+ lightmap: 0+ compressionQuality: 50+ spriteMode: 0+ spriteExtrude: 1+ spriteMeshType: 1+ alignment: 0+ spritePivot: {x: 0.5, y: 0.5}+ spritePixelsToUnits: 100+ spriteBorder: {x: 0, y: 0, z: 0, w: 0}+ spriteGenerateFallbackPhysicsShape: 1+ alphaUsage: 1+ alphaIsTransparency: 0+ spriteTessellationDetail: -1+ textureType: 0+ textureShape: 1+ singleChannelComponent: 0+ flipbookRows: 1+ flipbookColumns: 1+ maxTextureSizeSet: 0+ compressionQualitySet: 0+ textureFormatSet: 0+ ignorePngGamma: 0+ applyGammaDecoding: 0+ swizzle: 50462976+ cookieLightType: 0+ platformSettings:+ - serializedVersion: 4+ buildTarget: DefaultTexturePlatform+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ - serializedVersion: 4+ buildTarget: Standalone+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ - serializedVersion: 4+ buildTarget: WebGL+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ spriteSheet:+ serializedVersion: 2+ sprites: []+ outline: []+ customData:+ physicsShape: []+ bones: []+ spriteID:+ internalID: 0+ vertices: []+ indices:+ edges: []+ weights: []+ secondaryTextures: []+ spriteCustomMetadata:+ entries: []+ nameFileIdTable: {}+ mipmapLimitGroupName:+ pSDRemoveMatte: 0+ userData:+ assetBundleName:+ assetBundleVariant:diff --git a/unity/Assets/UI/EventImages/clothing_rationing_1950.jpg b/unity/Assets/UI/EventImages/clothing_rationing_1950.jpgnew file mode 100644index 000000000..96177f715Binary files /dev/null and b/unity/Assets/UI/EventImages/clothing_rationing_1950.jpg differdiff --git a/unity/Assets/UI/EventImages/clothing_rationing_1950.jpg.meta b/unity/Assets/UI/EventImages/clothing_rationing_1950.jpg.metanew file mode 100644index 000000000..27c81d18f--- /dev/null+++ b/unity/Assets/UI/EventImages/clothing_rationing_1950.jpg.meta@@ -0,0 +1,130 @@+fileFormatVersion: 2+guid: a2430cb25bd4644c3a6040cf18617c73+TextureImporter:+ internalIDToNameTable: []+ externalObjects: {}+ serializedVersion: 13+ mipmaps:+ mipMapMode: 0+ enableMipMap: 0+ sRGBTexture: 1+ linearTexture: 0+ fadeOut: 0+ borderMipMap: 0+ mipMapsPreserveCoverage: 0+ alphaTestReferenceValue: 0.5+ mipMapFadeDistanceStart: 1+ mipMapFadeDistanceEnd: 3+ bumpmap:+ convertToNormalMap: 0+ externalNormalMap: 0+ heightScale: 0.25+ normalMapFilter: 0+ flipGreenChannel: 0+ isReadable: 0+ streamingMipmaps: 0+ streamingMipmapsPriority: 0+ vTOnly: 0+ ignoreMipmapLimit: 0+ grayScaleToAlpha: 0+ generateCubemap: 6+ cubemapConvolution: 0+ seamlessCubemap: 0+ textureFormat: 1+ maxTextureSize: 1024+ textureSettings:+ serializedVersion: 2+ filterMode: 1+ aniso: 1+ mipBias: 0+ wrapU: 1+ wrapV: 1+ wrapW: 1+ nPOTScale: 0+ lightmap: 0+ compressionQuality: 50+ spriteMode: 0+ spriteExtrude: 1+ spriteMeshType: 1+ alignment: 0+ spritePivot: {x: 0.5, y: 0.5}+ spritePixelsToUnits: 100+ spriteBorder: {x: 0, y: 0, z: 0, w: 0}+ spriteGenerateFallbackPhysicsShape: 1+ alphaUsage: 1+ alphaIsTransparency: 0+ spriteTessellationDetail: -1+ textureType: 0+ textureShape: 1+ singleChannelComponent: 0+ flipbookRows: 1+ flipbookColumns: 1+ maxTextureSizeSet: 0+ compressionQualitySet: 0+ textureFormatSet: 0+ ignorePngGamma: 0+ applyGammaDecoding: 0+ swizzle: 50462976+ cookieLightType: 0+ platformSettings:+ - serializedVersion: 4+ buildTarget: DefaultTexturePlatform+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ - serializedVersion: 4+ buildTarget: Standalone+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ - serializedVersion: 4+ buildTarget: WebGL+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ spriteSheet:+ serializedVersion: 2+ sprites: []+ outline: []+ customData:+ physicsShape: []+ bones: []+ spriteID:+ internalID: 0+ vertices: []+ indices:+ edges: []+ weights: []+ secondaryTextures: []+ spriteCustomMetadata:+ entries: []+ nameFileIdTable: {}+ mipmapLimitGroupName:+ pSDRemoveMatte: 0+ userData:+ assetBundleName:+ assetBundleVariant:diff --git a/unity/Assets/UI/EventImages/elections_1949.jpg b/unity/Assets/UI/EventImages/elections_1949.jpgnew file mode 100644index 000000000..e7fb180eaBinary files /dev/null and b/unity/Assets/UI/EventImages/elections_1949.jpg differdiff --git a/unity/Assets/UI/EventImages/elections_1949.jpg.meta b/unity/Assets/UI/EventImages/elections_1949.jpg.metanew file mode 100644index 000000000..e4694508b--- /dev/null+++ b/unity/Assets/UI/EventImages/elections_1949.jpg.meta@@ -0,0 +1,130 @@+fileFormatVersion: 2+guid: 8c959d4b13cfc4b7a8a5ac3c7a46b480+TextureImporter:+ internalIDToNameTable: []+ externalObjects: {}+ serializedVersion: 13+ mipmaps:+ mipMapMode: 0+ enableMipMap: 0+ sRGBTexture: 1+ linearTexture: 0+ fadeOut: 0+ borderMipMap: 0+ mipMapsPreserveCoverage: 0+ alphaTestReferenceValue: 0.5+ mipMapFadeDistanceStart: 1+ mipMapFadeDistanceEnd: 3+ bumpmap:+ convertToNormalMap: 0+ externalNormalMap: 0+ heightScale: 0.25+ normalMapFilter: 0+ flipGreenChannel: 0+ isReadable: 0+ streamingMipmaps: 0+ streamingMipmapsPriority: 0+ vTOnly: 0+ ignoreMipmapLimit: 0+ grayScaleToAlpha: 0+ generateCubemap: 6+ cubemapConvolution: 0+ seamlessCubemap: 0+ textureFormat: 1+ maxTextureSize: 1024+ textureSettings:+ serializedVersion: 2+ filterMode: 1+ aniso: 1+ mipBias: 0+ wrapU: 1+ wrapV: 1+ wrapW: 1+ nPOTScale: 0+ lightmap: 0+ compressionQuality: 50+ spriteMode: 0+ spriteExtrude: 1+ spriteMeshType: 1+ alignment: 0+ spritePivot: {x: 0.5, y: 0.5}+ spritePixelsToUnits: 100+ spriteBorder: {x: 0, y: 0, z: 0, w: 0}+ spriteGenerateFallbackPhysicsShape: 1+ alphaUsage: 1+ alphaIsTransparency: 0+ spriteTessellationDetail: -1+ textureType: 0+ textureShape: 1+ singleChannelComponent: 0+ flipbookRows: 1+ flipbookColumns: 1+ maxTextureSizeSet: 0+ compressionQualitySet: 0+ textureFormatSet: 0+ ignorePngGamma: 0+ applyGammaDecoding: 0+ swizzle: 50462976+ cookieLightType: 0+ platformSettings:+ - serializedVersion: 4+ buildTarget: DefaultTexturePlatform+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ - serializedVersion: 4+ buildTarget: Standalone+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ - serializedVersion: 4+ buildTarget: WebGL+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ spriteSheet:+ serializedVersion: 2+ sprites: []+ outline: []+ customData:+ physicsShape: []+ bones: []+ spriteID:+ internalID: 0+ vertices: []+ indices:+ edges: []+ weights: []+ secondaryTextures: []+ spriteCustomMetadata:+ entries: []+ nameFileIdTable: {}+ mipmapLimitGroupName:+ pSDRemoveMatte: 0+ userData:+ assetBundleName:+ assetBundleVariant:diff --git a/unity/Assets/UI/EventImages/event-images.yaml b/unity/Assets/UI/EventImages/event-images.yamlnew file mode 100644index 000000000..4359296d4--- /dev/null+++ b/unity/Assets/UI/EventImages/event-images.yaml@@ -0,0 +1,344 @@+# Event-card header photographs: real archival photos, never AI images (docs/event-images.md).+# This file maps event ids to pictures for the Unity card only. It is NOT game content: content/events/*.yaml feed the+# content hash and save compatibility, and this file must never move there.+# Each row: the event id, the shipped file (in this folder), the Commons file page and original (with its SHA-1), the+# licence (ALLOWED_LICENCES spelling), the artist, the credit line shown under the picture (for CC BY 4.0, the credit+# line the licensor asks for on Commons, plus the licence and the adaptation), the alt text, the crop (centre x, centre y+# and width, as shares of the original; the height follows from the 9:4 header) and the sensitivity flags.+# sensitive: true rows may not ship in a -shareable build until sensitivity_reviewed: true (an OWNER step; Build.cs).+# Owner ruling 2026-10-11 (summarised in docs/CONTENT_POLICY.md section 4): CC BY 4.0 event photos allowed with a+# credit line; shown in black and white with a subtle warm grade and the gold frame; no colourising, no change beyond+# grade, crop and resize.+# tools/event_images.py makes the JPGs from the originals; EventImageImport rebuilds EventImageCatalog.asset from this file.+# Events with no row (rhodes_talks, armistice_lebanon, armistice_syria, sinai_withdrawal, education_registration_1951,+# reparations_claim, forex_crisis_1951) fall back to the minister's portrait plate. sinai_withdrawal: no free photograph+# from its window (31 December 1948 - 3 January 1949) exists (docs/event-images.md).+checked: 2026-10-11+images:+ - event: idf_founding+ file: idf_founding.jpg+ commons: "https://commons.wikimedia.org/wiki/File:Jerusalem_(997008872766605171.jpg"+ original: "https://upload.wikimedia.org/wikipedia/commons/0/0b/Jerusalem_%28997008872766605171.jpg"+ sha1: 2f0905da8614028f03d981bbd07cb77c7e19059b+ original_size: [686, 1200]+ licence: CC-BY-4.0+ artist: "Moshe Marlin Levin"+ credit: "Moshe Marlin Levin / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"+ alt: "Officers and a rabbi with a banner at the Jerusalem ceremony founding the Israel Defense Forces, June 1948."+ crop: [0.5, 0.52, 0.94]+ sensitive: false+ sensitivity_reviewed: false+ note: "The NLI calls it the IDF founding ceremony at the Rehavia Gymnasium (the first IDF parade in Jerusalem), June 1948, just after the event window. Colour slide shown in monochrome (the grade); the slide mount and its handwriting are cropped away."+ - event: first_truce+ file: first_truce.jpg+ commons: "https://commons.wikimedia.org/wiki/File:Jerusalem_(997008872623805171).jpg"+ original: "https://upload.wikimedia.org/wikipedia/commons/9/94/Jerusalem_%28997008872623805171%29.jpg"+ sha1: c61bbf24a941d9568eb2b6dcb429a35b8692fe38+ original_size: [2000, 1334]+ licence: CC-BY-4.0+ artist: "Moshe Marlin Levin"+ credit: "Moshe Marlin Levin / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"+ alt: "A quiet, tree-lined street in Jerusalem during a pause in the fighting, 1948."+ crop: [0.5, 0.55, 1.0]+ sensitive: false+ sensitivity_reviewed: false+ note: "Colour slide shown in monochrome (the grade). NLI: taken 'during a pause in the fighting'; which truce is not recorded."+ - event: altalena+ file: altalena.jpg+ commons: "https://commons.wikimedia.org/wiki/File:1948_Arab-Israeli_War_(997008136847805171).jpg"+ original: "https://upload.wikimedia.org/wikipedia/commons/f/f7/1948_Arab-Israeli_War_%28997008136847805171%29.jpg"+ sha1: 80f3a7175284948b1232f54ae521d66d11580866+ original_size: [1362, 924]+ licence: CC-BY-4.0+ artist: "Benno Rothenberg"+ credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"+ alt: "The Altalena off the Tel Aviv shore, seen from a seafront café shortly before the shelling, June 1948."+ crop: [0.5, 0.58, 1.0]+ sensitive: true+ sensitivity_reviewed: true+ note: "Replaces the burning-ship frame (owner-delegated ruling 2026-10-11: no outcome before the choice). NLI: 'A moment before the shelling of the Altalena, the Irgun's arms ship. The Altalena approaches the Tel Aviv shore', dated 20 June 1948 (in the event window). No Altalena frame from Kfar Vitkin was found on Commons under a usable licence: the Meitar frames are all at Tel Aviv, and the others found are GPO, PD-Israel or CC BY-SA. Replacement picked 2026-10-11 under the controller's ruling (owner-delegated): a pre-decision or in-window photograph, nothing graphic; licence, SHA-1 and credit read through the Commons API. Owner sign-off 2026-10-11 (in session, via controller)."+ - event: ten_days+ file: ten_days.jpg+ commons: "https://commons.wikimedia.org/wiki/File:1948_Arab-Israeli_War_997009323190005171.jpg"+ original: "https://upload.wikimedia.org/wikipedia/commons/b/b0/1948_Arab-Israeli_War_997009323190005171.jpg"+ sha1: b0e87fdf628f8df263c9ad0034fc47016110a343+ original_size: [1322, 1297]+ licence: CC-BY-4.0+ artist: "Boris Carmi"+ credit: "Boris Carmi / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"+ alt: "Two soldiers keep watch from an armoured car among eucalyptus trees during the capture of Lydda airport, 10 July 1948."+ crop: [0.5, 0.4, 1.0]+ sensitive: true+ sensitivity_reviewed: true+ note: "Replaces the near-portrait of one named woman (owner-delegated ruling 2026-10-11: portraits stay PD or CC0). NLI: 'The capture of the airport at Lydda in the War of Independence', 10 July 1948 (in the event window). Two unnamed soldiers; the airport itself is not in the frame. The 82nd Battalion series of the same day is in 'Meitar Collection (review needed)' on Commons and was not used. Replacement picked 2026-10-11 under the controller's ruling (owner-delegated): a pre-decision or in-window photograph, nothing graphic; licence, SHA-1 and credit read through the Commons API. Owner sign-off 2026-10-11 (in session, via controller)."+ - event: second_truce+ file: second_truce.jpg+ commons: "https://commons.wikimedia.org/wiki/File:Graaf_Bernadotte_op_Schiphol,_Bestanddeelnr_934-6899.jpg"+ original: "https://upload.wikimedia.org/wikipedia/commons/6/63/Graaf_Bernadotte_op_Schiphol%2C_Bestanddeelnr_934-6899.jpg"+ sha1: fb5bef2114d8d19013884a39b2b3534440e87e47+ original_size: [3205, 2504]+ licence: CC0-1.0+ artist: "Ben Merk / Anefo"+ credit: "Ben Merk / Anefo, Nationaal Archief (Anefo 934-6899) · CC0 · graded and cropped"+ alt: "Count Folke Bernadotte, the UN mediator, interviewed by a radio reporter at Schiphol airport, 17 July 1948."+ crop: [0.5, 0.35, 1.0]+ sensitive: false+ sensitivity_reviewed: false+ note: "Nationaal Archief record: 'Auteursrechthebbende: Nationaal Archief, CC0'. Taken in Amsterdam."+ - event: jerusalem_military_government+ file: jerusalem_military_government.jpg+ commons: "https://commons.wikimedia.org/wiki/File:Jerusalem_(997008872608005171.jpg"+ original: "https://upload.wikimedia.org/wikipedia/commons/6/6e/Jerusalem_%28997008872608005171.jpg"+ sha1: 241a9575d316acca61a4218caabffbc9987217d5+ original_size: [2000, 1322]+ licence: CC-BY-4.0+ artist: "Moshe Marlin Levin"+ credit: "Moshe Marlin Levin / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"+ alt: "One of Israel's first policemen directs traffic on Ussishkin Street, Jerusalem, June 1948."+ crop: [0.5, 0.64, 1.0]+ sensitive: false+ sensitivity_reviewed: false+ note: "Context, a month before the event window (the NLI dates it June 1948). Colour slide shown in monochrome (the grade)."+ - event: latrun_proposal+ file: latrun_proposal.jpg+ commons: "https://commons.wikimedia.org/wiki/File:Latrun_(997009322899505171.jpg"+ original: "https://upload.wikimedia.org/wikipedia/commons/9/97/Latrun_%28997009322899505171.jpg"+ sha1: b7c373c3b9d8ef7cd18c60b5bad42a682106784d+ original_size: [1314, 1314]+ licence: CC-BY-4.0+ artist: "Boris Carmi"+ credit: "Boris Carmi / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"+ alt: "A Palmach squad walks across the rocky slopes to the Israeli positions facing Latrun, 1948."+ crop: [0.5, 0.56, 1.0]+ sensitive: false+ sensitivity_reviewed: false+ - event: bernadotte_assassination+ file: bernadotte_assassination.jpg+ commons: "https://commons.wikimedia.org/wiki/File:Ben_Gurion_International_Airport_(997008136963805171).jpg"+ original: "https://upload.wikimedia.org/wikipedia/commons/e/ef/Ben_Gurion_International_Airport_%28997008136963805171%29.jpg"+ sha1: f2d01b034fdac97de865b2a0903bf72c43919c81+ original_size: [1476, 900]+ licence: CC-BY-4.0+ artist: "Benno Rothenberg"+ credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"+ alt: "UN and Israeli officials salute at Lydda airport as Count Bernadotte's coffin leaves for Sweden, September 1948."+ crop: [0.5, 0.45, 1.0]+ sensitive: true+ sensitivity_reviewed: true+ note: "This frame shows the officials saluting by the UN aircraft (Ralph Bunche at left); the coffin is not in it. Identifiable officials. Owner sign-off 2026-10-11 (in session, via controller)."+ - event: operation_yoav+ file: operation_yoav.jpg+ commons: "https://commons.wikimedia.org/wiki/File:1948_Arab-Israeli_War_997008137023805171.jpg"+ original: "https://upload.wikimedia.org/wikipedia/commons/8/8f/1948_Arab-Israeli_War_997008137023805171.jpg"+ sha1: 0069029bf7941c344f27d9600ed68c04c9df7d3b+ original_size: [1459, 916]+ licence: CC-BY-4.0+ artist: "Benno Rothenberg"+ credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"+ alt: "IDF officers study a map on a jeep as forces move south before Operation Yoav, 13 October 1948."+ crop: [0.5, 0.48, 1.0]+ sensitive: true+ sensitivity_reviewed: true+ note: "Replaces Beersheba on the day it was taken (owner-delegated ruling 2026-10-11: no outcome before the choice). NLI: 'IDF forces go down before the start of Operation Yoav to free the besieged Negev', 13 October 1948, two days before the event window. Unnamed officers. Replacement picked 2026-10-11 under the controller's ruling (owner-delegated): a pre-decision or in-window photograph, nothing graphic; licence, SHA-1 and credit read through the Commons API. Owner sign-off 2026-10-11 (in session, via controller)."+ - event: operation_hiram+ file: operation_hiram.jpg+ commons: "https://commons.wikimedia.org/wiki/File:Galilee_(997009323161505171.jpg"+ original: "https://upload.wikimedia.org/wikipedia/commons/8/88/Galilee_%28997009323161505171.jpg"+ sha1: 0c130ac6cd06aa8c74e5fd4e102f817c57c34ddd+ original_size: [1273, 1314]+ licence: CC-BY-4.0+ artist: "Boris Carmi"+ credit: "Boris Carmi / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"+ alt: "A soldier sweeps a Galilee road for mines after Operation Hiram, 1948."+ crop: [0.5, 0.44, 1.0]+ sensitive: true+ sensitivity_reviewed: true+ note: "Owner sign-off 2026-10-11 (in session, via controller)."+ - event: jerusalem_ceasefire+ file: jerusalem_ceasefire.jpg+ commons: "https://commons.wikimedia.org/wiki/File:Jeruzalem._Wegversperringen_in_de_Propheet_Samuelstraat,_op_de_grens_tussen_Jord,_Bestanddeelnr_255-0327.jpg"+ original: "https://upload.wikimedia.org/wikipedia/commons/b/b8/Jeruzalem._Wegversperringen_in_de_Propheet_Samuelstraat%2C_op_de_grens_tussen_Jord%2C_Bestanddeelnr_255-0327.jpg"+ sha1: c6638d02c2c60c7a88c0206623509f3801136a54+ original_size: [2629, 2613]+ licence: CC0-1.0+ artist: "Willem van de Poll"+ credit: "Willem van de Poll, Nationaal Archief (Van de Poll 255-0327) · CC0 · graded and cropped"+ alt: "Tank traps and roadblocks on Shmuel HaNavi Street, on the line between Israeli- and Jordanian-held Jerusalem, 1948-49."+ crop: [0.5, 0.6, 1.0]+ sensitive: false+ sensitivity_reviewed: false+ note: "Nationaal Archief record: 'Auteursrechthebbende: Nationaal Archief, CC0'. Exact date not recorded (Van de Poll's 1948-1949 series)."+ - event: operation_horev+ file: operation_horev.jpg+ commons: "https://commons.wikimedia.org/wiki/File:1948_Arab-Israeli_War_997008137257005171.jpg"+ original: "https://upload.wikimedia.org/wikipedia/commons/9/97/1948_Arab-Israeli_War_997008137257005171.jpg"+ sha1: bce4cc3336c0a4ca544b7a1645e0e9289216d89b+ original_size: [1476, 932]+ licence: CC-BY-4.0+ artist: "Benno Rothenberg"+ credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"+ alt: "A column of IDF vehicles and a motorcyclist on a desert track in the Negev during Operation Horev, December 1948."+ crop: [0.38, 0.6, 0.7]+ sensitive: true+ sensitivity_reviewed: true+ note: "Research alternate 1, not pick 2: pick 2 (997008137258905171) has two covered bundles on the track that could not be identified at full resolution. The right side of this negative is fogged; the crop keeps the left two-thirds. Owner sign-off 2026-10-11 (in session, via controller)."+ - event: elections_1949+ file: elections_1949.jpg+ commons: "https://commons.wikimedia.org/wiki/File:Meitar_Collection_(997008137164005171.jpg"+ original: "https://upload.wikimedia.org/wikipedia/commons/5/5f/Meitar_Collection_%28997008137164005171.jpg"+ sha1: b651d1645cc6b346e849cb4197ab2e9b99a2c950+ original_size: [945, 665]+ licence: CC-BY-4.0+ artist: "Benno Rothenberg"+ credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"+ alt: "A voter drops his envelope into the ballot box at a polling station on election day, 25 January 1949."+ crop: [0.5, 0.48, 1.0]+ sensitive: false+ sensitivity_reviewed: false+ - event: armistice_egypt+ file: armistice_egypt.jpg+ commons: "https://commons.wikimedia.org/wiki/File:Meitar_Collection_(997008137405105171.jpg"+ original: "https://upload.wikimedia.org/wikipedia/commons/d/d6/Meitar_Collection_%28997008137405105171.jpg"+ sha1: c76e85fe84c63805aed6eb04c04c140511b16d21+ original_size: [1873, 1330]+ licence: CC-BY-4.0+ artist: "Benno Rothenberg"+ credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"+ alt: "IDF and UN officers near the Faluja pocket during the siege of the Egyptian brigade, late 1948."+ crop: [0.5, 0.5, 1.0]+ sensitive: false+ sensitivity_reviewed: false+ note: "Context, three months before the armistice."+ - event: armistice_jordan+ file: armistice_jordan.jpg+ commons: "https://commons.wikimedia.org/wiki/File:Ben_Gurion_International_Airport_(997008137543905171).jpg"+ original: "https://upload.wikimedia.org/wikipedia/commons/d/dc/Ben_Gurion_International_Airport_%28997008137543905171%29.jpg"+ sha1: b43662888bdc03a1c09952b094c52e996e138cae+ original_size: [920, 657]+ licence: CC-BY-4.0+ artist: "Benno Rothenberg"+ credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"+ alt: "Members of Israel's delegation beside a United Nations aircraft, leaving for armistice talks with Jordan, 1949."+ crop: [0.5, 0.45, 1.0]+ sensitive: false+ sensitivity_reviewed: false+ note: "Identifiable officials (probably among them Moshe Dayan and Walter Eytan; the NLI caption does not name them)."+ - event: austerity_1949+ file: austerity_1949.jpg+ commons: "https://commons.wikimedia.org/wiki/File:Meitar_Collection_(997008136819405171).jpg"+ original: "https://upload.wikimedia.org/wikipedia/commons/c/c5/Meitar_Collection_%28997008136819405171%29.jpg"+ sha1: 3304e182575fd203ab3d5c1f400eba2e5227df64+ original_size: [941, 661]+ licence: CC-BY-4.0+ artist: "Benno Rothenberg"+ credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"+ alt: "A clerk hands out the new government ration-coupon books, 1949."+ crop: [0.5, 0.45, 1.0]+ sensitive: false+ sensitivity_reviewed: false+ - event: frumkin_commission+ file: frumkin_commission.jpg+ commons: "https://commons.wikimedia.org/wiki/File:Rosh_Ha%27Ayin_(997008136256005171).jpg"+ original: "https://upload.wikimedia.org/wikipedia/commons/b/b5/Rosh_Ha%27Ayin_%28997008136256005171%29.jpg"+ sha1: eb469d7bf52b6c15a005cfb2a9e0c22f8ce80c21+ original_size: [1249, 1338]+ licence: CC-BY-4.0+ artist: "Benno Rothenberg"+ credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection / Israel State Archives · CC BY 4.0 · graded and cropped"+ alt: "Snow and slush at the Ras al-Ein (Rosh HaAyin) immigrant camp, winter 1950."+ crop: [0.5, 0.52, 1.0]+ sensitive: false+ sensitivity_reviewed: false+ - event: maabarot_policy+ file: maabarot_policy.jpg+ commons: "https://commons.wikimedia.org/wiki/File:Ma%27abara_(997008136927805171.jpg"+ original: "https://upload.wikimedia.org/wikipedia/commons/9/9e/Ma%27abara_%28997008136927805171.jpg"+ sha1: ee0b388c7cb1eed63a920d4b3831119c9ab28ff6+ original_size: [1914, 1322]+ licence: CC-BY-4.0+ artist: "Benno Rothenberg"+ credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"+ alt: "Immigrant women and children inside a large tent at a ma'abara on the road to Jerusalem, 1950."+ crop: [0.5, 0.55, 1.0]+ sensitive: false+ sensitivity_reviewed: false+ - event: law_of_return+ file: law_of_return.jpg+ commons: "https://commons.wikimedia.org/wiki/File:Jerusalem_(997008136347905171).jpg"+ original: "https://upload.wikimedia.org/wikipedia/commons/b/b8/Jerusalem_%28997008136347905171%29.jpg"+ sha1: 8414ef53805ec5628dc8a7d20ec1593c3a83982d+ original_size: [1330, 1346]+ licence: CC-BY-4.0+ artist: "Benno Rothenberg"+ credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"+ alt: "The Knesset building, Beit Froumine on King George Street, Jerusalem, 1950."+ crop: [0.5, 0.55, 1.0]+ sensitive: false+ sensitivity_reviewed: false+ - event: clothing_rationing_1950+ file: clothing_rationing_1950.jpg+ commons: "https://commons.wikimedia.org/wiki/File:Tel_Aviv-Yafo_997008137472205171.jpg"+ original: "https://upload.wikimedia.org/wikipedia/commons/0/06/Tel_Aviv-Yafo_997008137472205171.jpg"+ sha1: 65d46a266250b3e28b0adf3f44f43d03c91b836e+ original_size: [1330, 1314]+ licence: CC-BY-4.0+ artist: "Benno Rothenberg"+ credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"+ alt: "Shops on Nahalat Binyamin Street, Tel Aviv, shut in protest after the government decided to ration clothing, 1950."+ crop: [0.5, 0.62, 1.0]+ sensitive: false+ sensitivity_reviewed: false+ - event: ministry_supply_crisis+ file: ministry_supply_crisis.jpg+ commons: "https://commons.wikimedia.org/wiki/File:Tel_Aviv-Yafo_997008137468405171.jpg"+ original: "https://upload.wikimedia.org/wikipedia/commons/6/6a/Tel_Aviv-Yafo_997008137468405171.jpg"+ sha1: 847ad5f90f86a9754d5cfb7b1af77731d636333c+ original_size: [1889, 1314]+ licence: CC-BY-4.0+ artist: "Benno Rothenberg"+ credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"+ alt: "Customers at the counter of a Tel Aviv grocery with bare shelves under austerity, 1950."+ crop: [0.5, 0.5, 1.0]+ sensitive: false+ sensitivity_reviewed: false+ note: "Context, six months before the event."+ - event: hula_drainage+ file: hula_drainage.jpg+ commons: "https://commons.wikimedia.org/wiki/File:Hula_Valley_(997008137583605171.jpg"+ original: "https://upload.wikimedia.org/wikipedia/commons/0/0a/Hula_Valley_%28997008137583605171.jpg"+ sha1: 81b3d2ddbf29f916c54a988338aaa44348cf0afe+ original_size: [1322, 1322]+ licence: CC-BY-4.0+ artist: "Benno Rothenberg"+ credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"+ alt: "Timber shuttering and earthworks for the dams that drained Lake Hula, 1951."+ crop: [0.5, 0.42, 1.0]+ sensitive: false+ sensitivity_reviewed: false+ - event: iraqi_exodus+ file: iraqi_exodus.jpg+ commons: "https://commons.wikimedia.org/wiki/File:Aliyah_(997008136551705171).jpg"+ original: "https://upload.wikimedia.org/wikipedia/commons/1/1d/Aliyah_%28997008136551705171%29.jpg"+ sha1: 70c4dfa48f2794853b6eb6229663f2840c68c613+ original_size: [1914, 1322]+ licence: CC-BY-4.0+ artist: "Benno Rothenberg"+ credit: "Benno Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection · CC BY 4.0 · graded and cropped"+ alt: "Children newly arrived from Iraq at a reception table with bread, oranges and mugs, 1951."+ crop: [0.5, 0.55, 1.0]+ sensitive: false+ sensitivity_reviewed: false+ - event: israel_bonds+ file: israel_bonds.jpg+ commons: "https://commons.wikimedia.org/wiki/File:Photograph_of_President_Truman_in_the_Oval_Office,_evidently_receiving_a_Menorah_as_a_gift_from_the_Prime_Minister_of..._-_NARA_-_200318.jpg"+ original: "https://upload.wikimedia.org/wikipedia/commons/5/53/Photograph_of_President_Truman_in_the_Oval_Office%2C_evidently_receiving_a_Menorah_as_a_gift_from_the_Prime_Minister_of..._-_NARA_-_200318.jpg"+ sha1: 990a79527ad34e1296129d1956bad1e602127db8+ original_size: [3000, 2393]+ licence: Public-Domain+ artist: "Abbie Rowe"+ credit: "Abbie Rowe, National Park Service / U.S. National Archives (NARA 200318) · public domain · graded and cropped"+ alt: "David Ben-Gurion and Abba Eban present a menorah to President Harry Truman in the Oval Office, May 1951."+ crop: [0.5, 0.58, 1.0]+ sensitive: false+ sensitivity_reviewed: false+ note: "US federal work (Abbie Rowe, National Park Service photographer at the White House), public domain in the US."diff --git a/unity/Assets/UI/EventImages/event-images.yaml.meta b/unity/Assets/UI/EventImages/event-images.yaml.metanew file mode 100644index 000000000..2c7c3e104--- /dev/null+++ b/unity/Assets/UI/EventImages/event-images.yaml.meta@@ -0,0 +1,7 @@+fileFormatVersion: 2+guid: ee9b9681dfbf544e6a995c177b7dc550+TextScriptImporter:+ externalObjects: {}+ userData:+ assetBundleName:+ assetBundleVariant:diff --git a/unity/Assets/UI/EventImages/first_truce.jpg b/unity/Assets/UI/EventImages/first_truce.jpgnew file mode 100644index 000000000..8fe56e17fBinary files /dev/null and b/unity/Assets/UI/EventImages/first_truce.jpg differdiff --git a/unity/Assets/UI/EventImages/first_truce.jpg.meta b/unity/Assets/UI/EventImages/first_truce.jpg.metanew file mode 100644index 000000000..90f3f3e51--- /dev/null+++ b/unity/Assets/UI/EventImages/first_truce.jpg.meta@@ -0,0 +1,130 @@+fileFormatVersion: 2+guid: e52b94b9d64f24bafa07294fd5068c17+TextureImporter:+ internalIDToNameTable: []+ externalObjects: {}+ serializedVersion: 13+ mipmaps:+ mipMapMode: 0+ enableMipMap: 0+ sRGBTexture: 1+ linearTexture: 0+ fadeOut: 0+ borderMipMap: 0+ mipMapsPreserveCoverage: 0+ alphaTestReferenceValue: 0.5+ mipMapFadeDistanceStart: 1+ mipMapFadeDistanceEnd: 3+ bumpmap:+ convertToNormalMap: 0+ externalNormalMap: 0+ heightScale: 0.25+ normalMapFilter: 0+ flipGreenChannel: 0+ isReadable: 0+ streamingMipmaps: 0+ streamingMipmapsPriority: 0+ vTOnly: 0+ ignoreMipmapLimit: 0+ grayScaleToAlpha: 0+ generateCubemap: 6+ cubemapConvolution: 0+ seamlessCubemap: 0+ textureFormat: 1+ maxTextureSize: 1024+ textureSettings:+ serializedVersion: 2+ filterMode: 1+ aniso: 1+ mipBias: 0+ wrapU: 1+ wrapV: 1+ wrapW: 1+ nPOTScale: 0+ lightmap: 0+ compressionQuality: 50+ spriteMode: 0+ spriteExtrude: 1+ spriteMeshType: 1+ alignment: 0+ spritePivot: {x: 0.5, y: 0.5}+ spritePixelsToUnits: 100+ spriteBorder: {x: 0, y: 0, z: 0, w: 0}+ spriteGenerateFallbackPhysicsShape: 1+ alphaUsage: 1+ alphaIsTransparency: 0+ spriteTessellationDetail: -1+ textureType: 0+ textureShape: 1+ singleChannelComponent: 0+ flipbookRows: 1+ flipbookColumns: 1+ maxTextureSizeSet: 0+ compressionQualitySet: 0+ textureFormatSet: 0+ ignorePngGamma: 0+ applyGammaDecoding: 0+ swizzle: 50462976+ cookieLightType: 0+ platformSettings:+ - serializedVersion: 4+ buildTarget: DefaultTexturePlatform+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ - serializedVersion: 4+ buildTarget: Standalone+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ - serializedVersion: 4+ buildTarget: WebGL+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ spriteSheet:+ serializedVersion: 2+ sprites: []+ outline: []+ customData:+ physicsShape: []+ bones: []+ spriteID:+ internalID: 0+ vertices: []+ indices:+ edges: []+ weights: []+ secondaryTextures: []+ spriteCustomMetadata:+ entries: []+ nameFileIdTable: {}+ mipmapLimitGroupName:+ pSDRemoveMatte: 0+ userData:+ assetBundleName:+ assetBundleVariant:diff --git a/unity/Assets/UI/EventImages/frumkin_commission.jpg b/unity/Assets/UI/EventImages/frumkin_commission.jpgnew file mode 100644index 000000000..d73c19d96Binary files /dev/null and b/unity/Assets/UI/EventImages/frumkin_commission.jpg differdiff --git a/unity/Assets/UI/EventImages/frumkin_commission.jpg.meta b/unity/Assets/UI/EventImages/frumkin_commission.jpg.metanew file mode 100644index 000000000..db90f16de--- /dev/null+++ b/unity/Assets/UI/EventImages/frumkin_commission.jpg.meta@@ -0,0 +1,130 @@+fileFormatVersion: 2+guid: 9ac6b7418fe5f408a9d7be0e1c317ec0+TextureImporter:+ internalIDToNameTable: []+ externalObjects: {}+ serializedVersion: 13+ mipmaps:+ mipMapMode: 0+ enableMipMap: 0+ sRGBTexture: 1+ linearTexture: 0+ fadeOut: 0+ borderMipMap: 0+ mipMapsPreserveCoverage: 0+ alphaTestReferenceValue: 0.5+ mipMapFadeDistanceStart: 1+ mipMapFadeDistanceEnd: 3+ bumpmap:+ convertToNormalMap: 0+ externalNormalMap: 0+ heightScale: 0.25+ normalMapFilter: 0+ flipGreenChannel: 0+ isReadable: 0+ streamingMipmaps: 0+ streamingMipmapsPriority: 0+ vTOnly: 0+ ignoreMipmapLimit: 0+ grayScaleToAlpha: 0+ generateCubemap: 6+ cubemapConvolution: 0+ seamlessCubemap: 0+ textureFormat: 1+ maxTextureSize: 1024+ textureSettings:+ serializedVersion: 2+ filterMode: 1+ aniso: 1+ mipBias: 0+ wrapU: 1+ wrapV: 1+ wrapW: 1+ nPOTScale: 0+ lightmap: 0+ compressionQuality: 50+ spriteMode: 0+ spriteExtrude: 1+ spriteMeshType: 1+ alignment: 0+ spritePivot: {x: 0.5, y: 0.5}+ spritePixelsToUnits: 100+ spriteBorder: {x: 0, y: 0, z: 0, w: 0}+ spriteGenerateFallbackPhysicsShape: 1+ alphaUsage: 1+ alphaIsTransparency: 0+ spriteTessellationDetail: -1+ textureType: 0+ textureShape: 1+ singleChannelComponent: 0+ flipbookRows: 1+ flipbookColumns: 1+ maxTextureSizeSet: 0+ compressionQualitySet: 0+ textureFormatSet: 0+ ignorePngGamma: 0+ applyGammaDecoding: 0+ swizzle: 50462976+ cookieLightType: 0+ platformSettings:+ - serializedVersion: 4+ buildTarget: DefaultTexturePlatform+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ - serializedVersion: 4+ buildTarget: Standalone+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ - serializedVersion: 4+ buildTarget: WebGL+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ spriteSheet:+ serializedVersion: 2+ sprites: []+ outline: []+ customData:+ physicsShape: []+ bones: []+ spriteID:+ internalID: 0+ vertices: []+ indices:+ edges: []+ weights: []+ secondaryTextures: []+ spriteCustomMetadata:+ entries: []+ nameFileIdTable: {}+ mipmapLimitGroupName:+ pSDRemoveMatte: 0+ userData:+ assetBundleName:+ assetBundleVariant:diff --git a/unity/Assets/UI/EventImages/hula_drainage.jpg b/unity/Assets/UI/EventImages/hula_drainage.jpgnew file mode 100644index 000000000..ddc717d27Binary files /dev/null and b/unity/Assets/UI/EventImages/hula_drainage.jpg differdiff --git a/unity/Assets/UI/EventImages/hula_drainage.jpg.meta b/unity/Assets/UI/EventImages/hula_drainage.jpg.metanew file mode 100644index 000000000..19c6d2681--- /dev/null+++ b/unity/Assets/UI/EventImages/hula_drainage.jpg.meta@@ -0,0 +1,130 @@+fileFormatVersion: 2+guid: 8667fce6f8c2b4633b2e291e9cdddd07+TextureImporter:+ internalIDToNameTable: []+ externalObjects: {}+ serializedVersion: 13+ mipmaps:+ mipMapMode: 0+ enableMipMap: 0+ sRGBTexture: 1+ linearTexture: 0+ fadeOut: 0+ borderMipMap: 0+ mipMapsPreserveCoverage: 0+ alphaTestReferenceValue: 0.5+ mipMapFadeDistanceStart: 1+ mipMapFadeDistanceEnd: 3+ bumpmap:+ convertToNormalMap: 0+ externalNormalMap: 0+ heightScale: 0.25+ normalMapFilter: 0+ flipGreenChannel: 0+ isReadable: 0+ streamingMipmaps: 0+ streamingMipmapsPriority: 0+ vTOnly: 0+ ignoreMipmapLimit: 0+ grayScaleToAlpha: 0+ generateCubemap: 6+ cubemapConvolution: 0+ seamlessCubemap: 0+ textureFormat: 1+ maxTextureSize: 1024+ textureSettings:+ serializedVersion: 2+ filterMode: 1+ aniso: 1+ mipBias: 0+ wrapU: 1+ wrapV: 1+ wrapW: 1+ nPOTScale: 0+ lightmap: 0+ compressionQuality: 50+ spriteMode: 0+ spriteExtrude: 1+ spriteMeshType: 1+ alignment: 0+ spritePivot: {x: 0.5, y: 0.5}+ spritePixelsToUnits: 100+ spriteBorder: {x: 0, y: 0, z: 0, w: 0}+ spriteGenerateFallbackPhysicsShape: 1+ alphaUsage: 1+ alphaIsTransparency: 0+ spriteTessellationDetail: -1+ textureType: 0+ textureShape: 1+ singleChannelComponent: 0+ flipbookRows: 1+ flipbookColumns: 1+ maxTextureSizeSet: 0+ compressionQualitySet: 0+ textureFormatSet: 0+ ignorePngGamma: 0+ applyGammaDecoding: 0+ swizzle: 50462976+ cookieLightType: 0+ platformSettings:+ - serializedVersion: 4+ buildTarget: DefaultTexturePlatform+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ - serializedVersion: 4+ buildTarget: Standalone+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ - serializedVersion: 4+ buildTarget: WebGL+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ spriteSheet:+ serializedVersion: 2+ sprites: []+ outline: []+ customData:+ physicsShape: []+ bones: []+ spriteID:+ internalID: 0+ vertices: []+ indices:+ edges: []+ weights: []+ secondaryTextures: []+ spriteCustomMetadata:+ entries: []+ nameFileIdTable: {}+ mipmapLimitGroupName:+ pSDRemoveMatte: 0+ userData:+ assetBundleName:+ assetBundleVariant:diff --git a/unity/Assets/UI/EventImages/idf_founding.jpg b/unity/Assets/UI/EventImages/idf_founding.jpgnew file mode 100644index 000000000..6dd68fb3bBinary files /dev/null and b/unity/Assets/UI/EventImages/idf_founding.jpg differdiff --git a/unity/Assets/UI/EventImages/idf_founding.jpg.meta b/unity/Assets/UI/EventImages/idf_founding.jpg.metanew file mode 100644index 000000000..fbf8ae30e--- /dev/null+++ b/unity/Assets/UI/EventImages/idf_founding.jpg.meta@@ -0,0 +1,130 @@+fileFormatVersion: 2+guid: bd09df6e255af486aa2b097209f0a079+TextureImporter:+ internalIDToNameTable: []+ externalObjects: {}+ serializedVersion: 13+ mipmaps:+ mipMapMode: 0+ enableMipMap: 0+ sRGBTexture: 1+ linearTexture: 0+ fadeOut: 0+ borderMipMap: 0+ mipMapsPreserveCoverage: 0+ alphaTestReferenceValue: 0.5+ mipMapFadeDistanceStart: 1+ mipMapFadeDistanceEnd: 3+ bumpmap:+ convertToNormalMap: 0+ externalNormalMap: 0+ heightScale: 0.25+ normalMapFilter: 0+ flipGreenChannel: 0+ isReadable: 0+ streamingMipmaps: 0+ streamingMipmapsPriority: 0+ vTOnly: 0+ ignoreMipmapLimit: 0+ grayScaleToAlpha: 0+ generateCubemap: 6+ cubemapConvolution: 0+ seamlessCubemap: 0+ textureFormat: 1+ maxTextureSize: 1024+ textureSettings:+ serializedVersion: 2+ filterMode: 1+ aniso: 1+ mipBias: 0+ wrapU: 1+ wrapV: 1+ wrapW: 1+ nPOTScale: 0+ lightmap: 0+ compressionQuality: 50+ spriteMode: 0+ spriteExtrude: 1+ spriteMeshType: 1+ alignment: 0+ spritePivot: {x: 0.5, y: 0.5}+ spritePixelsToUnits: 100+ spriteBorder: {x: 0, y: 0, z: 0, w: 0}+ spriteGenerateFallbackPhysicsShape: 1+ alphaUsage: 1+ alphaIsTransparency: 0+ spriteTessellationDetail: -1+ textureType: 0+ textureShape: 1+ singleChannelComponent: 0+ flipbookRows: 1+ flipbookColumns: 1+ maxTextureSizeSet: 0+ compressionQualitySet: 0+ textureFormatSet: 0+ ignorePngGamma: 0+ applyGammaDecoding: 0+ swizzle: 50462976+ cookieLightType: 0+ platformSettings:+ - serializedVersion: 4+ buildTarget: DefaultTexturePlatform+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ - serializedVersion: 4+ buildTarget: Standalone+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ - serializedVersion: 4+ buildTarget: WebGL+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ spriteSheet:+ serializedVersion: 2+ sprites: []+ outline: []+ customData:+ physicsShape: []+ bones: []+ spriteID:+ internalID: 0+ vertices: []+ indices:+ edges: []+ weights: []+ secondaryTextures: []+ spriteCustomMetadata:+ entries: []+ nameFileIdTable: {}+ mipmapLimitGroupName:+ pSDRemoveMatte: 0+ userData:+ assetBundleName:+ assetBundleVariant:diff --git a/unity/Assets/UI/EventImages/iraqi_exodus.jpg b/unity/Assets/UI/EventImages/iraqi_exodus.jpgnew file mode 100644index 000000000..a91292883Binary files /dev/null and b/unity/Assets/UI/EventImages/iraqi_exodus.jpg differdiff --git a/unity/Assets/UI/EventImages/iraqi_exodus.jpg.meta b/unity/Assets/UI/EventImages/iraqi_exodus.jpg.metanew file mode 100644index 000000000..715ee659e--- /dev/null+++ b/unity/Assets/UI/EventImages/iraqi_exodus.jpg.meta@@ -0,0 +1,130 @@+fileFormatVersion: 2+guid: 500a6138a65cb4b94a22c47acc06c71c+TextureImporter:+ internalIDToNameTable: []+ externalObjects: {}+ serializedVersion: 13+ mipmaps:+ mipMapMode: 0+ enableMipMap: 0+ sRGBTexture: 1+ linearTexture: 0+ fadeOut: 0+ borderMipMap: 0+ mipMapsPreserveCoverage: 0+ alphaTestReferenceValue: 0.5+ mipMapFadeDistanceStart: 1+ mipMapFadeDistanceEnd: 3+ bumpmap:+ convertToNormalMap: 0+ externalNormalMap: 0+ heightScale: 0.25+ normalMapFilter: 0+ flipGreenChannel: 0+ isReadable: 0+ streamingMipmaps: 0+ streamingMipmapsPriority: 0+ vTOnly: 0+ ignoreMipmapLimit: 0+ grayScaleToAlpha: 0+ generateCubemap: 6+ cubemapConvolution: 0+ seamlessCubemap: 0+ textureFormat: 1+ maxTextureSize: 1024+ textureSettings:+ serializedVersion: 2+ filterMode: 1+ aniso: 1+ mipBias: 0+ wrapU: 1+ wrapV: 1+ wrapW: 1+ nPOTScale: 0+ lightmap: 0+ compressionQuality: 50+ spriteMode: 0+ spriteExtrude: 1+ spriteMeshType: 1+ alignment: 0+ spritePivot: {x: 0.5, y: 0.5}+ spritePixelsToUnits: 100+ spriteBorder: {x: 0, y: 0, z: 0, w: 0}+ spriteGenerateFallbackPhysicsShape: 1+ alphaUsage: 1+ alphaIsTransparency: 0+ spriteTessellationDetail: -1+ textureType: 0+ textureShape: 1+ singleChannelComponent: 0+ flipbookRows: 1+ flipbookColumns: 1+ maxTextureSizeSet: 0+ compressionQualitySet: 0+ textureFormatSet: 0+ ignorePngGamma: 0+ applyGammaDecoding: 0+ swizzle: 50462976+ cookieLightType: 0+ platformSettings:+ - serializedVersion: 4+ buildTarget: DefaultTexturePlatform+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ - serializedVersion: 4+ buildTarget: Standalone+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ - serializedVersion: 4+ buildTarget: WebGL+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ spriteSheet:+ serializedVersion: 2+ sprites: []+ outline: []+ customData:+ physicsShape: []+ bones: []+ spriteID:+ internalID: 0+ vertices: []+ indices:+ edges: []+ weights: []+ secondaryTextures: []+ spriteCustomMetadata:+ entries: []+ nameFileIdTable: {}+ mipmapLimitGroupName:+ pSDRemoveMatte: 0+ userData:+ assetBundleName:+ assetBundleVariant:diff --git a/unity/Assets/UI/EventImages/israel_bonds.jpg b/unity/Assets/UI/EventImages/israel_bonds.jpgnew file mode 100644index 000000000..0d92f841cBinary files /dev/null and b/unity/Assets/UI/EventImages/israel_bonds.jpg differdiff --git a/unity/Assets/UI/EventImages/israel_bonds.jpg.meta b/unity/Assets/UI/EventImages/israel_bonds.jpg.metanew file mode 100644index 000000000..f60bfce6e--- /dev/null+++ b/unity/Assets/UI/EventImages/israel_bonds.jpg.meta@@ -0,0 +1,130 @@+fileFormatVersion: 2+guid: a4ce290bdab3342189da25741919d8d8+TextureImporter:+ internalIDToNameTable: []+ externalObjects: {}+ serializedVersion: 13+ mipmaps:+ mipMapMode: 0+ enableMipMap: 0+ sRGBTexture: 1+ linearTexture: 0+ fadeOut: 0+ borderMipMap: 0+ mipMapsPreserveCoverage: 0+ alphaTestReferenceValue: 0.5+ mipMapFadeDistanceStart: 1+ mipMapFadeDistanceEnd: 3+ bumpmap:+ convertToNormalMap: 0+ externalNormalMap: 0+ heightScale: 0.25+ normalMapFilter: 0+ flipGreenChannel: 0+ isReadable: 0+ streamingMipmaps: 0+ streamingMipmapsPriority: 0+ vTOnly: 0+ ignoreMipmapLimit: 0+ grayScaleToAlpha: 0+ generateCubemap: 6+ cubemapConvolution: 0+ seamlessCubemap: 0+ textureFormat: 1+ maxTextureSize: 1024+ textureSettings:+ serializedVersion: 2+ filterMode: 1+ aniso: 1+ mipBias: 0+ wrapU: 1+ wrapV: 1+ wrapW: 1+ nPOTScale: 0+ lightmap: 0+ compressionQuality: 50+ spriteMode: 0+ spriteExtrude: 1+ spriteMeshType: 1+ alignment: 0+ spritePivot: {x: 0.5, y: 0.5}+ spritePixelsToUnits: 100+ spriteBorder: {x: 0, y: 0, z: 0, w: 0}+ spriteGenerateFallbackPhysicsShape: 1+ alphaUsage: 1+ alphaIsTransparency: 0+ spriteTessellationDetail: -1+ textureType: 0+ textureShape: 1+ singleChannelComponent: 0+ flipbookRows: 1+ flipbookColumns: 1+ maxTextureSizeSet: 0+ compressionQualitySet: 0+ textureFormatSet: 0+ ignorePngGamma: 0+ applyGammaDecoding: 0+ swizzle: 50462976+ cookieLightType: 0+ platformSettings:+ - serializedVersion: 4+ buildTarget: DefaultTexturePlatform+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ - serializedVersion: 4+ buildTarget: Standalone+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ - serializedVersion: 4+ buildTarget: WebGL+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ spriteSheet:+ serializedVersion: 2+ sprites: []+ outline: []+ customData:+ physicsShape: []+ bones: []+ spriteID:+ internalID: 0+ vertices: []+ indices:+ edges: []+ weights: []+ secondaryTextures: []+ spriteCustomMetadata:+ entries: []+ nameFileIdTable: {}+ mipmapLimitGroupName:+ pSDRemoveMatte: 0+ userData:+ assetBundleName:+ assetBundleVariant:diff --git a/unity/Assets/UI/EventImages/jerusalem_ceasefire.jpg b/unity/Assets/UI/EventImages/jerusalem_ceasefire.jpgnew file mode 100644index 000000000..2a405d3bcBinary files /dev/null and b/unity/Assets/UI/EventImages/jerusalem_ceasefire.jpg differdiff --git a/unity/Assets/UI/EventImages/jerusalem_ceasefire.jpg.meta b/unity/Assets/UI/EventImages/jerusalem_ceasefire.jpg.metanew file mode 100644index 000000000..edc9dc857--- /dev/null+++ b/unity/Assets/UI/EventImages/jerusalem_ceasefire.jpg.meta@@ -0,0 +1,130 @@+fileFormatVersion: 2+guid: df224a98a048241d9a46dfc713802e5e+TextureImporter:+ internalIDToNameTable: []+ externalObjects: {}+ serializedVersion: 13+ mipmaps:+ mipMapMode: 0+ enableMipMap: 0+ sRGBTexture: 1+ linearTexture: 0+ fadeOut: 0+ borderMipMap: 0+ mipMapsPreserveCoverage: 0+ alphaTestReferenceValue: 0.5+ mipMapFadeDistanceStart: 1+ mipMapFadeDistanceEnd: 3+ bumpmap:+ convertToNormalMap: 0+ externalNormalMap: 0+ heightScale: 0.25+ normalMapFilter: 0+ flipGreenChannel: 0+ isReadable: 0+ streamingMipmaps: 0+ streamingMipmapsPriority: 0+ vTOnly: 0+ ignoreMipmapLimit: 0+ grayScaleToAlpha: 0+ generateCubemap: 6+ cubemapConvolution: 0+ seamlessCubemap: 0+ textureFormat: 1+ maxTextureSize: 1024+ textureSettings:+ serializedVersion: 2+ filterMode: 1+ aniso: 1+ mipBias: 0+ wrapU: 1+ wrapV: 1+ wrapW: 1+ nPOTScale: 0+ lightmap: 0+ compressionQuality: 50+ spriteMode: 0+ spriteExtrude: 1+ spriteMeshType: 1+ alignment: 0+ spritePivot: {x: 0.5, y: 0.5}+ spritePixelsToUnits: 100+ spriteBorder: {x: 0, y: 0, z: 0, w: 0}+ spriteGenerateFallbackPhysicsShape: 1+ alphaUsage: 1+ alphaIsTransparency: 0+ spriteTessellationDetail: -1+ textureType: 0+ textureShape: 1+ singleChannelComponent: 0+ flipbookRows: 1+ flipbookColumns: 1+ maxTextureSizeSet: 0+ compressionQualitySet: 0+ textureFormatSet: 0+ ignorePngGamma: 0+ applyGammaDecoding: 0+ swizzle: 50462976+ cookieLightType: 0+ platformSettings:+ - serializedVersion: 4+ buildTarget: DefaultTexturePlatform+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ - serializedVersion: 4+ buildTarget: Standalone+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ - serializedVersion: 4+ buildTarget: WebGL+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ spriteSheet:+ serializedVersion: 2+ sprites: []+ outline: []+ customData:+ physicsShape: []+ bones: []+ spriteID:+ internalID: 0+ vertices: []+ indices:+ edges: []+ weights: []+ secondaryTextures: []+ spriteCustomMetadata:+ entries: []+ nameFileIdTable: {}+ mipmapLimitGroupName:+ pSDRemoveMatte: 0+ userData:+ assetBundleName:+ assetBundleVariant:diff --git a/unity/Assets/UI/EventImages/jerusalem_military_government.jpg b/unity/Assets/UI/EventImages/jerusalem_military_government.jpgnew file mode 100644index 000000000..b883ca153Binary files /dev/null and b/unity/Assets/UI/EventImages/jerusalem_military_government.jpg differdiff --git a/unity/Assets/UI/EventImages/jerusalem_military_government.jpg.meta b/unity/Assets/UI/EventImages/jerusalem_military_government.jpg.metanew file mode 100644index 000000000..c9a6b0303--- /dev/null+++ b/unity/Assets/UI/EventImages/jerusalem_military_government.jpg.meta@@ -0,0 +1,130 @@+fileFormatVersion: 2+guid: 58b9f14a3ed1e4a9aba4e8a649be050a+TextureImporter:+ internalIDToNameTable: []+ externalObjects: {}+ serializedVersion: 13+ mipmaps:+ mipMapMode: 0+ enableMipMap: 0+ sRGBTexture: 1+ linearTexture: 0+ fadeOut: 0+ borderMipMap: 0+ mipMapsPreserveCoverage: 0+ alphaTestReferenceValue: 0.5+ mipMapFadeDistanceStart: 1+ mipMapFadeDistanceEnd: 3+ bumpmap:+ convertToNormalMap: 0+ externalNormalMap: 0+ heightScale: 0.25+ normalMapFilter: 0+ flipGreenChannel: 0+ isReadable: 0+ streamingMipmaps: 0+ streamingMipmapsPriority: 0+ vTOnly: 0+ ignoreMipmapLimit: 0+ grayScaleToAlpha: 0+ generateCubemap: 6+ cubemapConvolution: 0+ seamlessCubemap: 0+ textureFormat: 1+ maxTextureSize: 1024+ textureSettings:+ serializedVersion: 2+ filterMode: 1+ aniso: 1+ mipBias: 0+ wrapU: 1+ wrapV: 1+ wrapW: 1+ nPOTScale: 0+ lightmap: 0+ compressionQuality: 50+ spriteMode: 0+ spriteExtrude: 1+ spriteMeshType: 1+ alignment: 0+ spritePivot: {x: 0.5, y: 0.5}+ spritePixelsToUnits: 100+ spriteBorder: {x: 0, y: 0, z: 0, w: 0}+ spriteGenerateFallbackPhysicsShape: 1+ alphaUsage: 1+ alphaIsTransparency: 0+ spriteTessellationDetail: -1+ textureType: 0+ textureShape: 1+ singleChannelComponent: 0+ flipbookRows: 1+ flipbookColumns: 1+ maxTextureSizeSet: 0+ compressionQualitySet: 0+ textureFormatSet: 0+ ignorePngGamma: 0+ applyGammaDecoding: 0+ swizzle: 50462976+ cookieLightType: 0+ platformSettings:+ - serializedVersion: 4+ buildTarget: DefaultTexturePlatform+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ - serializedVersion: 4+ buildTarget: Standalone+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ - serializedVersion: 4+ buildTarget: WebGL+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ spriteSheet:+ serializedVersion: 2+ sprites: []+ outline: []+ customData:+ physicsShape: []+ bones: []+ spriteID:+ internalID: 0+ vertices: []+ indices:+ edges: []+ weights: []+ secondaryTextures: []+ spriteCustomMetadata:+ entries: []+ nameFileIdTable: {}+ mipmapLimitGroupName:+ pSDRemoveMatte: 0+ userData:+ assetBundleName:+ assetBundleVariant:diff --git a/unity/Assets/UI/EventImages/latrun_proposal.jpg b/unity/Assets/UI/EventImages/latrun_proposal.jpgnew file mode 100644index 000000000..5a262a03bBinary files /dev/null and b/unity/Assets/UI/EventImages/latrun_proposal.jpg differdiff --git a/unity/Assets/UI/EventImages/latrun_proposal.jpg.meta b/unity/Assets/UI/EventImages/latrun_proposal.jpg.metanew file mode 100644index 000000000..abfb4c6b2--- /dev/null+++ b/unity/Assets/UI/EventImages/latrun_proposal.jpg.meta@@ -0,0 +1,130 @@+fileFormatVersion: 2+guid: f55b884d1a14b458a979e0b862f98b22+TextureImporter:+ internalIDToNameTable: []+ externalObjects: {}+ serializedVersion: 13+ mipmaps:+ mipMapMode: 0+ enableMipMap: 0+ sRGBTexture: 1+ linearTexture: 0+ fadeOut: 0+ borderMipMap: 0+ mipMapsPreserveCoverage: 0+ alphaTestReferenceValue: 0.5+ mipMapFadeDistanceStart: 1+ mipMapFadeDistanceEnd: 3+ bumpmap:+ convertToNormalMap: 0+ externalNormalMap: 0+ heightScale: 0.25+ normalMapFilter: 0+ flipGreenChannel: 0+ isReadable: 0+ streamingMipmaps: 0+ streamingMipmapsPriority: 0+ vTOnly: 0+ ignoreMipmapLimit: 0+ grayScaleToAlpha: 0+ generateCubemap: 6+ cubemapConvolution: 0+ seamlessCubemap: 0+ textureFormat: 1+ maxTextureSize: 1024+ textureSettings:+ serializedVersion: 2+ filterMode: 1+ aniso: 1+ mipBias: 0+ wrapU: 1+ wrapV: 1+ wrapW: 1+ nPOTScale: 0+ lightmap: 0+ compressionQuality: 50+ spriteMode: 0+ spriteExtrude: 1+ spriteMeshType: 1+ alignment: 0+ spritePivot: {x: 0.5, y: 0.5}+ spritePixelsToUnits: 100+ spriteBorder: {x: 0, y: 0, z: 0, w: 0}+ spriteGenerateFallbackPhysicsShape: 1+ alphaUsage: 1+ alphaIsTransparency: 0+ spriteTessellationDetail: -1+ textureType: 0+ textureShape: 1+ singleChannelComponent: 0+ flipbookRows: 1+ flipbookColumns: 1+ maxTextureSizeSet: 0+ compressionQualitySet: 0+ textureFormatSet: 0+ ignorePngGamma: 0+ applyGammaDecoding: 0+ swizzle: 50462976+ cookieLightType: 0+ platformSettings:+ - serializedVersion: 4+ buildTarget: DefaultTexturePlatform+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ - serializedVersion: 4+ buildTarget: Standalone+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ - serializedVersion: 4+ buildTarget: WebGL+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ spriteSheet:+ serializedVersion: 2+ sprites: []+ outline: []+ customData:+ physicsShape: []+ bones: []+ spriteID:+ internalID: 0+ vertices: []+ indices:+ edges: []+ weights: []+ secondaryTextures: []+ spriteCustomMetadata:+ entries: []+ nameFileIdTable: {}+ mipmapLimitGroupName:+ pSDRemoveMatte: 0+ userData:+ assetBundleName:+ assetBundleVariant:diff --git a/unity/Assets/UI/EventImages/law_of_return.jpg b/unity/Assets/UI/EventImages/law_of_return.jpgnew file mode 100644index 000000000..6de16aac2Binary files /dev/null and b/unity/Assets/UI/EventImages/law_of_return.jpg differdiff --git a/unity/Assets/UI/EventImages/law_of_return.jpg.meta b/unity/Assets/UI/EventImages/law_of_return.jpg.metanew file mode 100644index 000000000..f2ae488a7--- /dev/null+++ b/unity/Assets/UI/EventImages/law_of_return.jpg.meta@@ -0,0 +1,130 @@+fileFormatVersion: 2+guid: 37245b3d68ea14b38b4acd5dca8169db+TextureImporter:+ internalIDToNameTable: []+ externalObjects: {}+ serializedVersion: 13+ mipmaps:+ mipMapMode: 0+ enableMipMap: 0+ sRGBTexture: 1+ linearTexture: 0+ fadeOut: 0+ borderMipMap: 0+ mipMapsPreserveCoverage: 0+ alphaTestReferenceValue: 0.5+ mipMapFadeDistanceStart: 1+ mipMapFadeDistanceEnd: 3+ bumpmap:+ convertToNormalMap: 0+ externalNormalMap: 0+ heightScale: 0.25+ normalMapFilter: 0+ flipGreenChannel: 0+ isReadable: 0+ streamingMipmaps: 0+ streamingMipmapsPriority: 0+ vTOnly: 0+ ignoreMipmapLimit: 0+ grayScaleToAlpha: 0+ generateCubemap: 6+ cubemapConvolution: 0+ seamlessCubemap: 0+ textureFormat: 1+ maxTextureSize: 1024+ textureSettings:+ serializedVersion: 2+ filterMode: 1+ aniso: 1+ mipBias: 0+ wrapU: 1+ wrapV: 1+ wrapW: 1+ nPOTScale: 0+ lightmap: 0+ compressionQuality: 50+ spriteMode: 0+ spriteExtrude: 1+ spriteMeshType: 1+ alignment: 0+ spritePivot: {x: 0.5, y: 0.5}+ spritePixelsToUnits: 100+ spriteBorder: {x: 0, y: 0, z: 0, w: 0}+ spriteGenerateFallbackPhysicsShape: 1+ alphaUsage: 1+ alphaIsTransparency: 0+ spriteTessellationDetail: -1+ textureType: 0+ textureShape: 1+ singleChannelComponent: 0+ flipbookRows: 1+ flipbookColumns: 1+ maxTextureSizeSet: 0+ compressionQualitySet: 0+ textureFormatSet: 0+ ignorePngGamma: 0+ applyGammaDecoding: 0+ swizzle: 50462976+ cookieLightType: 0+ platformSettings:+ - serializedVersion: 4+ buildTarget: DefaultTexturePlatform+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ - serializedVersion: 4+ buildTarget: Standalone+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ - serializedVersion: 4+ buildTarget: WebGL+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ spriteSheet:+ serializedVersion: 2+ sprites: []+ outline: []+ customData:+ physicsShape: []+ bones: []+ spriteID:+ internalID: 0+ vertices: []+ indices:+ edges: []+ weights: []+ secondaryTextures: []+ spriteCustomMetadata:+ entries: []+ nameFileIdTable: {}+ mipmapLimitGroupName:+ pSDRemoveMatte: 0+ userData:+ assetBundleName:+ assetBundleVariant:diff --git a/unity/Assets/UI/EventImages/maabarot_policy.jpg b/unity/Assets/UI/EventImages/maabarot_policy.jpgnew file mode 100644index 000000000..eb2835d33Binary files /dev/null and b/unity/Assets/UI/EventImages/maabarot_policy.jpg differdiff --git a/unity/Assets/UI/EventImages/maabarot_policy.jpg.meta b/unity/Assets/UI/EventImages/maabarot_policy.jpg.metanew file mode 100644index 000000000..4ef1b7445--- /dev/null+++ b/unity/Assets/UI/EventImages/maabarot_policy.jpg.meta@@ -0,0 +1,130 @@+fileFormatVersion: 2+guid: 30e66f07968ea470285400148cdda3ec+TextureImporter:+ internalIDToNameTable: []+ externalObjects: {}+ serializedVersion: 13+ mipmaps:+ mipMapMode: 0+ enableMipMap: 0+ sRGBTexture: 1+ linearTexture: 0+ fadeOut: 0+ borderMipMap: 0+ mipMapsPreserveCoverage: 0+ alphaTestReferenceValue: 0.5+ mipMapFadeDistanceStart: 1+ mipMapFadeDistanceEnd: 3+ bumpmap:+ convertToNormalMap: 0+ externalNormalMap: 0+ heightScale: 0.25+ normalMapFilter: 0+ flipGreenChannel: 0+ isReadable: 0+ streamingMipmaps: 0+ streamingMipmapsPriority: 0+ vTOnly: 0+ ignoreMipmapLimit: 0+ grayScaleToAlpha: 0+ generateCubemap: 6+ cubemapConvolution: 0+ seamlessCubemap: 0+ textureFormat: 1+ maxTextureSize: 1024+ textureSettings:+ serializedVersion: 2+ filterMode: 1+ aniso: 1+ mipBias: 0+ wrapU: 1+ wrapV: 1+ wrapW: 1+ nPOTScale: 0+ lightmap: 0+ compressionQuality: 50+ spriteMode: 0+ spriteExtrude: 1+ spriteMeshType: 1+ alignment: 0+ spritePivot: {x: 0.5, y: 0.5}+ spritePixelsToUnits: 100+ spriteBorder: {x: 0, y: 0, z: 0, w: 0}+ spriteGenerateFallbackPhysicsShape: 1+ alphaUsage: 1+ alphaIsTransparency: 0+ spriteTessellationDetail: -1+ textureType: 0+ textureShape: 1+ singleChannelComponent: 0+ flipbookRows: 1+ flipbookColumns: 1+ maxTextureSizeSet: 0+ compressionQualitySet: 0+ textureFormatSet: 0+ ignorePngGamma: 0+ applyGammaDecoding: 0+ swizzle: 50462976+ cookieLightType: 0+ platformSettings:+ - serializedVersion: 4+ buildTarget: DefaultTexturePlatform+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ - serializedVersion: 4+ buildTarget: Standalone+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ - serializedVersion: 4+ buildTarget: WebGL+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ spriteSheet:+ serializedVersion: 2+ sprites: []+ outline: []+ customData:+ physicsShape: []+ bones: []+ spriteID:+ internalID: 0+ vertices: []+ indices:+ edges: []+ weights: []+ secondaryTextures: []+ spriteCustomMetadata:+ entries: []+ nameFileIdTable: {}+ mipmapLimitGroupName:+ pSDRemoveMatte: 0+ userData:+ assetBundleName:+ assetBundleVariant:diff --git a/unity/Assets/UI/EventImages/ministry_supply_crisis.jpg b/unity/Assets/UI/EventImages/ministry_supply_crisis.jpgnew file mode 100644index 000000000..8a0eeb576Binary files /dev/null and b/unity/Assets/UI/EventImages/ministry_supply_crisis.jpg differdiff --git a/unity/Assets/UI/EventImages/ministry_supply_crisis.jpg.meta b/unity/Assets/UI/EventImages/ministry_supply_crisis.jpg.metanew file mode 100644index 000000000..d7345f97d--- /dev/null+++ b/unity/Assets/UI/EventImages/ministry_supply_crisis.jpg.meta@@ -0,0 +1,130 @@+fileFormatVersion: 2+guid: dc210581e182c4a49a80c62a22465013+TextureImporter:+ internalIDToNameTable: []+ externalObjects: {}+ serializedVersion: 13+ mipmaps:+ mipMapMode: 0+ enableMipMap: 0+ sRGBTexture: 1+ linearTexture: 0+ fadeOut: 0+ borderMipMap: 0+ mipMapsPreserveCoverage: 0+ alphaTestReferenceValue: 0.5+ mipMapFadeDistanceStart: 1+ mipMapFadeDistanceEnd: 3+ bumpmap:+ convertToNormalMap: 0+ externalNormalMap: 0+ heightScale: 0.25+ normalMapFilter: 0+ flipGreenChannel: 0+ isReadable: 0+ streamingMipmaps: 0+ streamingMipmapsPriority: 0+ vTOnly: 0+ ignoreMipmapLimit: 0+ grayScaleToAlpha: 0+ generateCubemap: 6+ cubemapConvolution: 0+ seamlessCubemap: 0+ textureFormat: 1+ maxTextureSize: 1024+ textureSettings:+ serializedVersion: 2+ filterMode: 1+ aniso: 1+ mipBias: 0+ wrapU: 1+ wrapV: 1+ wrapW: 1+ nPOTScale: 0+ lightmap: 0+ compressionQuality: 50+ spriteMode: 0+ spriteExtrude: 1+ spriteMeshType: 1+ alignment: 0+ spritePivot: {x: 0.5, y: 0.5}+ spritePixelsToUnits: 100+ spriteBorder: {x: 0, y: 0, z: 0, w: 0}+ spriteGenerateFallbackPhysicsShape: 1+ alphaUsage: 1+ alphaIsTransparency: 0+ spriteTessellationDetail: -1+ textureType: 0+ textureShape: 1+ singleChannelComponent: 0+ flipbookRows: 1+ flipbookColumns: 1+ maxTextureSizeSet: 0+ compressionQualitySet: 0+ textureFormatSet: 0+ ignorePngGamma: 0+ applyGammaDecoding: 0+ swizzle: 50462976+ cookieLightType: 0+ platformSettings:+ - serializedVersion: 4+ buildTarget: DefaultTexturePlatform+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ - serializedVersion: 4+ buildTarget: Standalone+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ - serializedVersion: 4+ buildTarget: WebGL+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ spriteSheet:+ serializedVersion: 2+ sprites: []+ outline: []+ customData:+ physicsShape: []+ bones: []+ spriteID:+ internalID: 0+ vertices: []+ indices:+ edges: []+ weights: []+ secondaryTextures: []+ spriteCustomMetadata:+ entries: []+ nameFileIdTable: {}+ mipmapLimitGroupName:+ pSDRemoveMatte: 0+ userData:+ assetBundleName:+ assetBundleVariant:diff --git a/unity/Assets/UI/EventImages/operation_hiram.jpg b/unity/Assets/UI/EventImages/operation_hiram.jpgnew file mode 100644index 000000000..fc03c0978Binary files /dev/null and b/unity/Assets/UI/EventImages/operation_hiram.jpg differdiff --git a/unity/Assets/UI/EventImages/operation_hiram.jpg.meta b/unity/Assets/UI/EventImages/operation_hiram.jpg.metanew file mode 100644index 000000000..421512a4c--- /dev/null+++ b/unity/Assets/UI/EventImages/operation_hiram.jpg.meta@@ -0,0 +1,130 @@+fileFormatVersion: 2+guid: abf15c791a3374e62806e9976b5537e5+TextureImporter:+ internalIDToNameTable: []+ externalObjects: {}+ serializedVersion: 13+ mipmaps:+ mipMapMode: 0+ enableMipMap: 0+ sRGBTexture: 1+ linearTexture: 0+ fadeOut: 0+ borderMipMap: 0+ mipMapsPreserveCoverage: 0+ alphaTestReferenceValue: 0.5+ mipMapFadeDistanceStart: 1+ mipMapFadeDistanceEnd: 3+ bumpmap:+ convertToNormalMap: 0+ externalNormalMap: 0+ heightScale: 0.25+ normalMapFilter: 0+ flipGreenChannel: 0+ isReadable: 0+ streamingMipmaps: 0+ streamingMipmapsPriority: 0+ vTOnly: 0+ ignoreMipmapLimit: 0+ grayScaleToAlpha: 0+ generateCubemap: 6+ cubemapConvolution: 0+ seamlessCubemap: 0+ textureFormat: 1+ maxTextureSize: 1024+ textureSettings:+ serializedVersion: 2+ filterMode: 1+ aniso: 1+ mipBias: 0+ wrapU: 1+ wrapV: 1+ wrapW: 1+ nPOTScale: 0+ lightmap: 0+ compressionQuality: 50+ spriteMode: 0+ spriteExtrude: 1+ spriteMeshType: 1+ alignment: 0+ spritePivot: {x: 0.5, y: 0.5}+ spritePixelsToUnits: 100+ spriteBorder: {x: 0, y: 0, z: 0, w: 0}+ spriteGenerateFallbackPhysicsShape: 1+ alphaUsage: 1+ alphaIsTransparency: 0+ spriteTessellationDetail: -1+ textureType: 0+ textureShape: 1+ singleChannelComponent: 0+ flipbookRows: 1+ flipbookColumns: 1+ maxTextureSizeSet: 0+ compressionQualitySet: 0+ textureFormatSet: 0+ ignorePngGamma: 0+ applyGammaDecoding: 0+ swizzle: 50462976+ cookieLightType: 0+ platformSettings:+ - serializedVersion: 4+ buildTarget: DefaultTexturePlatform+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ - serializedVersion: 4+ buildTarget: Standalone+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ - serializedVersion: 4+ buildTarget: WebGL+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ spriteSheet:+ serializedVersion: 2+ sprites: []+ outline: []+ customData:+ physicsShape: []+ bones: []+ spriteID:+ internalID: 0+ vertices: []+ indices:+ edges: []+ weights: []+ secondaryTextures: []+ spriteCustomMetadata:+ entries: []+ nameFileIdTable: {}+ mipmapLimitGroupName:+ pSDRemoveMatte: 0+ userData:+ assetBundleName:+ assetBundleVariant:diff --git a/unity/Assets/UI/EventImages/operation_horev.jpg b/unity/Assets/UI/EventImages/operation_horev.jpgnew file mode 100644index 000000000..5c500ddffBinary files /dev/null and b/unity/Assets/UI/EventImages/operation_horev.jpg differdiff --git a/unity/Assets/UI/EventImages/operation_horev.jpg.meta b/unity/Assets/UI/EventImages/operation_horev.jpg.metanew file mode 100644index 000000000..58f4be913--- /dev/null+++ b/unity/Assets/UI/EventImages/operation_horev.jpg.meta@@ -0,0 +1,130 @@+fileFormatVersion: 2+guid: 53720b264363543d5862414d660c8b40+TextureImporter:+ internalIDToNameTable: []+ externalObjects: {}+ serializedVersion: 13+ mipmaps:+ mipMapMode: 0+ enableMipMap: 0+ sRGBTexture: 1+ linearTexture: 0+ fadeOut: 0+ borderMipMap: 0+ mipMapsPreserveCoverage: 0+ alphaTestReferenceValue: 0.5+ mipMapFadeDistanceStart: 1+ mipMapFadeDistanceEnd: 3+ bumpmap:+ convertToNormalMap: 0+ externalNormalMap: 0+ heightScale: 0.25+ normalMapFilter: 0+ flipGreenChannel: 0+ isReadable: 0+ streamingMipmaps: 0+ streamingMipmapsPriority: 0+ vTOnly: 0+ ignoreMipmapLimit: 0+ grayScaleToAlpha: 0+ generateCubemap: 6+ cubemapConvolution: 0+ seamlessCubemap: 0+ textureFormat: 1+ maxTextureSize: 1024+ textureSettings:+ serializedVersion: 2+ filterMode: 1+ aniso: 1+ mipBias: 0+ wrapU: 1+ wrapV: 1+ wrapW: 1+ nPOTScale: 0+ lightmap: 0+ compressionQuality: 50+ spriteMode: 0+ spriteExtrude: 1+ spriteMeshType: 1+ alignment: 0+ spritePivot: {x: 0.5, y: 0.5}+ spritePixelsToUnits: 100+ spriteBorder: {x: 0, y: 0, z: 0, w: 0}+ spriteGenerateFallbackPhysicsShape: 1+ alphaUsage: 1+ alphaIsTransparency: 0+ spriteTessellationDetail: -1+ textureType: 0+ textureShape: 1+ singleChannelComponent: 0+ flipbookRows: 1+ flipbookColumns: 1+ maxTextureSizeSet: 0+ compressionQualitySet: 0+ textureFormatSet: 0+ ignorePngGamma: 0+ applyGammaDecoding: 0+ swizzle: 50462976+ cookieLightType: 0+ platformSettings:+ - serializedVersion: 4+ buildTarget: DefaultTexturePlatform+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ - serializedVersion: 4+ buildTarget: Standalone+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ - serializedVersion: 4+ buildTarget: WebGL+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ spriteSheet:+ serializedVersion: 2+ sprites: []+ outline: []+ customData:+ physicsShape: []+ bones: []+ spriteID:+ internalID: 0+ vertices: []+ indices:+ edges: []+ weights: []+ secondaryTextures: []+ spriteCustomMetadata:+ entries: []+ nameFileIdTable: {}+ mipmapLimitGroupName:+ pSDRemoveMatte: 0+ userData:+ assetBundleName:+ assetBundleVariant:diff --git a/unity/Assets/UI/EventImages/operation_yoav.jpg b/unity/Assets/UI/EventImages/operation_yoav.jpgnew file mode 100644index 000000000..244ddcef2Binary files /dev/null and b/unity/Assets/UI/EventImages/operation_yoav.jpg differdiff --git a/unity/Assets/UI/EventImages/operation_yoav.jpg.meta b/unity/Assets/UI/EventImages/operation_yoav.jpg.metanew file mode 100644index 000000000..06f4d4c9b--- /dev/null+++ b/unity/Assets/UI/EventImages/operation_yoav.jpg.meta@@ -0,0 +1,130 @@+fileFormatVersion: 2+guid: 4dbff23757d784486a804849886fb63e+TextureImporter:+ internalIDToNameTable: []+ externalObjects: {}+ serializedVersion: 13+ mipmaps:+ mipMapMode: 0+ enableMipMap: 0+ sRGBTexture: 1+ linearTexture: 0+ fadeOut: 0+ borderMipMap: 0+ mipMapsPreserveCoverage: 0+ alphaTestReferenceValue: 0.5+ mipMapFadeDistanceStart: 1+ mipMapFadeDistanceEnd: 3+ bumpmap:+ convertToNormalMap: 0+ externalNormalMap: 0+ heightScale: 0.25+ normalMapFilter: 0+ flipGreenChannel: 0+ isReadable: 0+ streamingMipmaps: 0+ streamingMipmapsPriority: 0+ vTOnly: 0+ ignoreMipmapLimit: 0+ grayScaleToAlpha: 0+ generateCubemap: 6+ cubemapConvolution: 0+ seamlessCubemap: 0+ textureFormat: 1+ maxTextureSize: 1024+ textureSettings:+ serializedVersion: 2+ filterMode: 1+ aniso: 1+ mipBias: 0+ wrapU: 1+ wrapV: 1+ wrapW: 1+ nPOTScale: 0+ lightmap: 0+ compressionQuality: 50+ spriteMode: 0+ spriteExtrude: 1+ spriteMeshType: 1+ alignment: 0+ spritePivot: {x: 0.5, y: 0.5}+ spritePixelsToUnits: 100+ spriteBorder: {x: 0, y: 0, z: 0, w: 0}+ spriteGenerateFallbackPhysicsShape: 1+ alphaUsage: 1+ alphaIsTransparency: 0+ spriteTessellationDetail: -1+ textureType: 0+ textureShape: 1+ singleChannelComponent: 0+ flipbookRows: 1+ flipbookColumns: 1+ maxTextureSizeSet: 0+ compressionQualitySet: 0+ textureFormatSet: 0+ ignorePngGamma: 0+ applyGammaDecoding: 0+ swizzle: 50462976+ cookieLightType: 0+ platformSettings:+ - serializedVersion: 4+ buildTarget: DefaultTexturePlatform+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ - serializedVersion: 4+ buildTarget: Standalone+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ - serializedVersion: 4+ buildTarget: WebGL+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ spriteSheet:+ serializedVersion: 2+ sprites: []+ outline: []+ customData:+ physicsShape: []+ bones: []+ spriteID:+ internalID: 0+ vertices: []+ indices:+ edges: []+ weights: []+ secondaryTextures: []+ spriteCustomMetadata:+ entries: []+ nameFileIdTable: {}+ mipmapLimitGroupName:+ pSDRemoveMatte: 0+ userData:+ assetBundleName:+ assetBundleVariant:diff --git a/unity/Assets/UI/EventImages/second_truce.jpg b/unity/Assets/UI/EventImages/second_truce.jpgnew file mode 100644index 000000000..1ea0b3791Binary files /dev/null and b/unity/Assets/UI/EventImages/second_truce.jpg differdiff --git a/unity/Assets/UI/EventImages/second_truce.jpg.meta b/unity/Assets/UI/EventImages/second_truce.jpg.metanew file mode 100644index 000000000..1c71bb896--- /dev/null+++ b/unity/Assets/UI/EventImages/second_truce.jpg.meta@@ -0,0 +1,130 @@+fileFormatVersion: 2+guid: eeb2c6a1420f649d6b259c164df97e0a+TextureImporter:+ internalIDToNameTable: []+ externalObjects: {}+ serializedVersion: 13+ mipmaps:+ mipMapMode: 0+ enableMipMap: 0+ sRGBTexture: 1+ linearTexture: 0+ fadeOut: 0+ borderMipMap: 0+ mipMapsPreserveCoverage: 0+ alphaTestReferenceValue: 0.5+ mipMapFadeDistanceStart: 1+ mipMapFadeDistanceEnd: 3+ bumpmap:+ convertToNormalMap: 0+ externalNormalMap: 0+ heightScale: 0.25+ normalMapFilter: 0+ flipGreenChannel: 0+ isReadable: 0+ streamingMipmaps: 0+ streamingMipmapsPriority: 0+ vTOnly: 0+ ignoreMipmapLimit: 0+ grayScaleToAlpha: 0+ generateCubemap: 6+ cubemapConvolution: 0+ seamlessCubemap: 0+ textureFormat: 1+ maxTextureSize: 1024+ textureSettings:+ serializedVersion: 2+ filterMode: 1+ aniso: 1+ mipBias: 0+ wrapU: 1+ wrapV: 1+ wrapW: 1+ nPOTScale: 0+ lightmap: 0+ compressionQuality: 50+ spriteMode: 0+ spriteExtrude: 1+ spriteMeshType: 1+ alignment: 0+ spritePivot: {x: 0.5, y: 0.5}+ spritePixelsToUnits: 100+ spriteBorder: {x: 0, y: 0, z: 0, w: 0}+ spriteGenerateFallbackPhysicsShape: 1+ alphaUsage: 1+ alphaIsTransparency: 0+ spriteTessellationDetail: -1+ textureType: 0+ textureShape: 1+ singleChannelComponent: 0+ flipbookRows: 1+ flipbookColumns: 1+ maxTextureSizeSet: 0+ compressionQualitySet: 0+ textureFormatSet: 0+ ignorePngGamma: 0+ applyGammaDecoding: 0+ swizzle: 50462976+ cookieLightType: 0+ platformSettings:+ - serializedVersion: 4+ buildTarget: DefaultTexturePlatform+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ - serializedVersion: 4+ buildTarget: Standalone+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ - serializedVersion: 4+ buildTarget: WebGL+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ spriteSheet:+ serializedVersion: 2+ sprites: []+ outline: []+ customData:+ physicsShape: []+ bones: []+ spriteID:+ internalID: 0+ vertices: []+ indices:+ edges: []+ weights: []+ secondaryTextures: []+ spriteCustomMetadata:+ entries: []+ nameFileIdTable: {}+ mipmapLimitGroupName:+ pSDRemoveMatte: 0+ userData:+ assetBundleName:+ assetBundleVariant:diff --git a/unity/Assets/UI/EventImages/ten_days.jpg b/unity/Assets/UI/EventImages/ten_days.jpgnew file mode 100644index 000000000..a62505f68Binary files /dev/null and b/unity/Assets/UI/EventImages/ten_days.jpg differdiff --git a/unity/Assets/UI/EventImages/ten_days.jpg.meta b/unity/Assets/UI/EventImages/ten_days.jpg.metanew file mode 100644index 000000000..d7e4605f2--- /dev/null+++ b/unity/Assets/UI/EventImages/ten_days.jpg.meta@@ -0,0 +1,130 @@+fileFormatVersion: 2+guid: 706abfabe556e4b3798cc6be35896d85+TextureImporter:+ internalIDToNameTable: []+ externalObjects: {}+ serializedVersion: 13+ mipmaps:+ mipMapMode: 0+ enableMipMap: 0+ sRGBTexture: 1+ linearTexture: 0+ fadeOut: 0+ borderMipMap: 0+ mipMapsPreserveCoverage: 0+ alphaTestReferenceValue: 0.5+ mipMapFadeDistanceStart: 1+ mipMapFadeDistanceEnd: 3+ bumpmap:+ convertToNormalMap: 0+ externalNormalMap: 0+ heightScale: 0.25+ normalMapFilter: 0+ flipGreenChannel: 0+ isReadable: 0+ streamingMipmaps: 0+ streamingMipmapsPriority: 0+ vTOnly: 0+ ignoreMipmapLimit: 0+ grayScaleToAlpha: 0+ generateCubemap: 6+ cubemapConvolution: 0+ seamlessCubemap: 0+ textureFormat: 1+ maxTextureSize: 1024+ textureSettings:+ serializedVersion: 2+ filterMode: 1+ aniso: 1+ mipBias: 0+ wrapU: 1+ wrapV: 1+ wrapW: 1+ nPOTScale: 0+ lightmap: 0+ compressionQuality: 50+ spriteMode: 0+ spriteExtrude: 1+ spriteMeshType: 1+ alignment: 0+ spritePivot: {x: 0.5, y: 0.5}+ spritePixelsToUnits: 100+ spriteBorder: {x: 0, y: 0, z: 0, w: 0}+ spriteGenerateFallbackPhysicsShape: 1+ alphaUsage: 1+ alphaIsTransparency: 0+ spriteTessellationDetail: -1+ textureType: 0+ textureShape: 1+ singleChannelComponent: 0+ flipbookRows: 1+ flipbookColumns: 1+ maxTextureSizeSet: 0+ compressionQualitySet: 0+ textureFormatSet: 0+ ignorePngGamma: 0+ applyGammaDecoding: 0+ swizzle: 50462976+ cookieLightType: 0+ platformSettings:+ - serializedVersion: 4+ buildTarget: DefaultTexturePlatform+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ - serializedVersion: 4+ buildTarget: Standalone+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ - serializedVersion: 4+ buildTarget: WebGL+ maxTextureSize: 1024+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 75+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ spriteSheet:+ serializedVersion: 2+ sprites: []+ outline: []+ customData:+ physicsShape: []+ bones: []+ spriteID:+ internalID: 0+ vertices: []+ indices:+ edges: []+ weights: []+ secondaryTextures: []+ spriteCustomMetadata:+ entries: []+ nameFileIdTable: {}+ mipmapLimitGroupName:+ pSDRemoveMatte: 0+ userData:+ assetBundleName:+ assetBundleVariant:diff --git a/unity/Assets/UI/Game.uxml b/unity/Assets/UI/Game.uxmlindex 6cb613e11..71904e478 100644--- a/unity/Assets/UI/Game.uxml+++ b/unity/Assets/UI/Game.uxml@@ -79,6 +79,10 @@card shrinks its text, which scrolls, and keeps its option buttons. --><ui:VisualElement name="right-column" class="right-column" picking-mode="Ignore"><ui:VisualElement name="event-card" class="panel event-card">+ <!-- The promo's header picture: an archival photograph of the event (EventImageCatalog), framed in gold, with its+ credit line as a caption strip along its bottom edge. Events without one show the minister's portrait in+ the head instead. -->+ <ui:VisualElement name="event-photo" class="event-photo"><ui:Label name="event-photo-credit" class="event-photo-credit" /></ui:VisualElement><!-- A portrait-shaped thumbnail beside the heading, framed on the face (playtest 2, P2-3 and P2-5). --><ui:VisualElement class="event-head"><ui:VisualElement name="event-image" class="event-image" />diff --git a/unity/Assets/UI/Statecraft.uss b/unity/Assets/UI/Statecraft.ussindex e8a41bf09..af822c128 100644--- a/unity/Assets/UI/Statecraft.uss+++ b/unity/Assets/UI/Statecraft.uss@@ -165,7 +165,7 @@ Button:disabled { color: var(--ink-dim); border-color: rgba(120, 120, 120, 0.4);window is short the portrait and then the text (it scrolls) give way, never the option buttons. */.right-column { position: absolute; right: 16px; top: 112px; bottom: 16px; width: 480px; }.right-gap { flex-grow: 1; flex-shrink: 0; min-height: 16px; }-.event-card { flex-shrink: 1; min-height: 0; max-height: 560px; overflow: hidden; }+.event-card { flex-shrink: 1; min-height: 0; max-height: 600px; overflow: hidden; } /* 600: room for a photograph card; the column still bounds it */.event-card > * { flex-shrink: 0; }.event-card > .event-scroll { flex-shrink: 1; min-height: 48px; }#event-options { flex-shrink: 0; }@@ -182,6 +182,18 @@ Button:disabled { color: var(--ink-dim); border-color: rgba(120, 120, 120, 0.4);width: 96px; height: 128px; flex-shrink: 0; margin-right: 12px; background-size: cover; background-color: var(--navy-deep);border-width: 1px; border-color: var(--gold);}+/* The header photograph (promo 03 and 05): full width, 9:4, a gold frame, its credit as a caption strip along the bottom+ (so the credit costs the card no height). It gives way first on a short window (the large flex-shrink takes the+ shortfall before the text); below its credit's height plus EventCardPresenter.MinPhotoHeight it is dropped until the+ window grows again, so the body and the options never scroll for it and the credit (CC BY 4.0) is never cut. */+.event-card > .event-photo {+ display: none; height: 200px; min-height: 0; flex-shrink: 1000; margin-bottom: 4px; overflow: hidden;+ justify-content: flex-end; background-size: cover; background-color: var(--navy-deep); border-width: 1px; border-color: var(--gold);+}+.event-photo-credit {+ flex-shrink: 0; font-size: 13px; white-space: normal; -unity-text-align: middle-center; margin: 0; padding: 2px 8px 3px 8px;+ color: var(--ink); background-color: rgba(5, 9, 18, 0.92); -unity-font-style: italic; /* 0.92: blending is linear, so less reads grey */+}.event-office { white-space: normal; -unity-text-align: middle-center; font-size: 18px; }/* Options wrap inside the card (playtest 2, P2-2); each has a round gold-rimmed sign at its left, as the promo's choices. */#event-options Button { white-space: normal; -unity-text-align: middle-left; }