A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.
content: a public-domain Bain portrait of Weizmann (refs #6) (#189)
agamrafaeli-instinctf7d25f16a7a5
diff --git a/ASSETS.portraits.yaml b/ASSETS.portraits.yamlindex 9d648eb33..15f4f22b2 100644--- a/ASSETS.portraits.yaml+++ b/ASSETS.portraits.yaml@@ -205,6 +205,18 @@ rules:status: verifiedcommons: CC0; CC-zero, Cc-zeroartist: Willem van de Poll+- glob: promo/ref/people/Chaim_Weizmann_Bain.jpg+ licence: Public-Domain+ source: https://commons.wikimedia.org/wiki/File:C._(Chaim)_Weizmann_LCCN2014712248.jpg+ status: verified+ commons: Public domain; PD-Bain, PD-Layout, PD-US-expired-text, PD-old-70-1923, PD-old-70-expired, PD-old-X-expired, PD-old-text+ artist: Bain News Service, publisher+- glob: unity/Assets/UI/Portraits/weizmann.jpg+ licence: Public-Domain+ source: https://commons.wikimedia.org/wiki/File:C._(Chaim)_Weizmann_LCCN2014712248.jpg+ status: verified+ commons: Public domain; PD-Bain, PD-Layout, PD-US-expired-text, PD-old-70-1923, PD-old-70-expired, PD-old-X-expired, PD-old-text+ artist: Bain News Service, publisher- glob: promo/ref/people/Moshe_Dayan_1962_CC0.jpglicence: CC0-1.0source: https://commons.wikimedia.org/wiki/File:Moshe_Dayan_met_mgr._A.C._Ramselaar_(cropped).jpgdiff --git a/CHANGELOG.md b/CHANGELOG.mdindex 4aa1ff441..2bb86d9f4 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -8,6 +8,8 @@ adds a line under **Unreleased**; CI's `Changelog` job checks this (see `CONTRIB## [Unreleased]### Added+- A portrait of Chaim Weizmann: a crop of a Bain News Service photo, ca. 1915-1920, from the Library of Congress+ (US public domain, PD-Bain; an earlier likeness than his presidency; #6).- Hebrew UI translation data with key and format-token checks; not yet enabled in the game (#12).- A local multi-size favicon for the WebGL page.- A portrait of Zalman Shazar: a crop of Yoichi Okamoto's 1966 White House photo (US public domain, PD-USGov; #6).diff --git a/content/people.yaml b/content/people.yamlindex a494fd0ce..00e574568 100644--- a/content/people.yaml+++ b/content/people.yaml@@ -513,6 +513,8 @@ people:# (stated on the cited en.wiki 1951 presidential election page), which is not used as a date.# Died in office on 9 November 1952.- { office: president, from: 1951-11-19, to: 1952-11-09, sources: [{ url: "https://en.wikipedia.org/wiki/1951_Israeli_presidential_election", checked: 2026-10-10 }, { url: "https://en.wikipedia.org/wiki/1951_in_Israel", checked: 2026-10-10 }, { url: "https://en.wikipedia.org/wiki/1952_Israeli_presidential_election", checked: 2026-10-11 }] }+ # Bain/LOC dates this earlier likeness ca. 1915-1920, not his presidential term.+ portrait: { file: promo/ref/people/Chaim_Weizmann_Bain.jpg, license: Public domain, source: "https://commons.wikimedia.org/wiki/File:C._(Chaim)_Weizmann_LCCN2014712248.jpg", focus_y: 0.32 }status: fact-checked- id: ben_zviname: Yitzhak Ben-Zvidiff --git a/promo/CREDITS.md b/promo/CREDITS.mdindex 3525eb3a8..ee1effee0 100644--- a/promo/CREDITS.md+++ b/promo/CREDITS.md@@ -20,6 +20,11 @@ CC0: "Moshe Dayan met mgr. A.C. Ramselaar (cropped).jpg" (1962).- Golda Meir: crop of Willem van de Poll / Nationaal Archief 255-4314, 1964, {{Cc-zero}}:https://commons.wikimedia.org/wiki/File:Golda_Meir%2C_minister_van_buitenlandse_zaken_van_Israel%2C_Bestanddeelnr_255-4314.jpg+- Chaim Weizmann: crop of Bain News Service / Library of Congress ggbain.32095, ca. 1915-1920,+ {{PD-Bain}} / {{PD-old-70-expired}} (including explicit US-expired status):+ https://commons.wikimedia.org/wiki/File:C._(Chaim)_Weizmann_LCCN2014712248.jpg+ https://www.loc.gov/pictures/item/2014712248/+ Earlier likeness, not a photograph of his presidential term.- Zalman Shazar: crop of Yoichi Okamoto / LBJ Library, 2 August 1966, {{PD-USGov}}:https://commons.wikimedia.org/wiki/File:President_Lyndon_B._Johnson_with_President_Zalman_Shazar_of_Israel.jpg(official White House photograph; later than the game period; human likeness and era review required).diff --git a/promo/ref/people/Chaim_Weizmann_Bain.jpg b/promo/ref/people/Chaim_Weizmann_Bain.jpgnew file mode 100644index 000000000..0953715c4Binary files /dev/null and b/promo/ref/people/Chaim_Weizmann_Bain.jpg differdiff --git a/tools/tests/test_weizmann_portrait.py b/tools/tests/test_weizmann_portrait.pynew file mode 100644index 000000000..b4726672e--- /dev/null+++ b/tools/tests/test_weizmann_portrait.py@@ -0,0 +1,44 @@+"""The one-photo #6 batch keeps source, runtime and explicit US status together."""+from pathlib import Path+import re++from PIL import Image+import yaml++ROOT = Path(__file__).resolve().parents[2]+SOURCE = "https://commons.wikimedia.org/wiki/File:C._(Chaim)_Weizmann_LCCN2014712248.jpg"+++def portrait():+ return next(p for p in yaml.safe_load((ROOT / "content/people.yaml").read_text())["people"] if p["id"] == "weizmann")["portrait"]+++def test_weizmann_has_legal_portrait_with_explicit_us_provenance():+ p = portrait()+ assert p["license"] == "Public domain" and p["source"] == SOURCE+ assert p["focus_y"] == 0.32+ rules = yaml.safe_load((ROOT / "ASSETS.portraits.yaml").read_text())["rules"]+ for path in (p["file"], "unity/Assets/UI/Portraits/weizmann.jpg"):+ r = next(r for r in rules if r["glob"] == path)+ assert r["source"] == SOURCE and r["status"] == "verified"+ assert "PD-US-expired-text" in r["commons"]+++def test_weizmann_source_and_runtime_are_identical_small_jpegs():+ p = portrait()+ source = ROOT / p["file"]+ runtime = ROOT / "unity/Assets/UI/Portraits/weizmann.jpg"+ assert source.read_bytes() == runtime.read_bytes()+ with Image.open(runtime) as image:+ assert image.format == "JPEG" and image.size == (444, 512)+++def test_weizmann_catalog_guid_focus_and_credit_match():+ p = portrait()+ meta = (ROOT / "unity/Assets/UI/Portraits/weizmann.jpg.meta").read_text()+ guid = re.search(r"^guid: ([0-9a-f]{32})$", meta, re.M).group(1)+ catalog = (ROOT / "unity/Assets/UI/Portraits/PortraitCatalog.asset").read_text()+ entry = re.search(r" - personId: weizmann\n(.*?)(?= - personId:|\Z)", catalog, re.S).group(1)+ assert f"guid: {guid}" in entry and "focusY: 0.32" in entry+ assert f"weizmann | Public domain | {SOURCE}\n" in (ROOT / "unity/Assets/UI/Portraits/PORTRAITS.txt").read_text()+ assert SOURCE in (ROOT / "promo/CREDITS.md").read_text()diff --git a/unity/Assets/UI/Portraits/PORTRAITS.txt b/unity/Assets/UI/Portraits/PORTRAITS.txtindex de7177a4e..281d1ba8c 100644--- a/unity/Assets/UI/Portraits/PORTRAITS.txt+++ b/unity/Assets/UI/Portraits/PORTRAITS.txt@@ -14,3 +14,4 @@ remez | Public domain | https://commons.wikimedia.org/wiki/File:David_Remez_(crolevin | Public domain | https://commons.wikimedia.org/wiki/File:Yitzhak_Meir_Levin.jpgshazar | Public domain | https://commons.wikimedia.org/wiki/File:President_Lyndon_B._Johnson_with_President_Zalman_Shazar_of_Israel.jpggolda_meir | CC0 | https://commons.wikimedia.org/wiki/File:Golda_Meir%2C_minister_van_buitenlandse_zaken_van_Israel%2C_Bestanddeelnr_255-4314.jpg+weizmann | Public domain | https://commons.wikimedia.org/wiki/File:C._(Chaim)_Weizmann_LCCN2014712248.jpgdiff --git a/unity/Assets/UI/Portraits/PortraitCatalog.asset b/unity/Assets/UI/Portraits/PortraitCatalog.assetindex ebedfddc1..fb6f422cb 100644--- a/unity/Assets/UI/Portraits/PortraitCatalog.asset+++ b/unity/Assets/UI/Portraits/PortraitCatalog.asset@@ -58,3 +58,6 @@ MonoBehaviour:- personId: golda_meirimage: {fileID: 2800000, guid: 2aacabec247d446ba42c3c03e852185d, type: 3}focusY: 0.3+ - personId: weizmann+ image: {fileID: 2800000, guid: 0c84d13281034087ba62fa4a45d82f6f, type: 3}+ focusY: 0.32diff --git a/unity/Assets/UI/Portraits/weizmann.jpg b/unity/Assets/UI/Portraits/weizmann.jpgnew file mode 100644index 000000000..0953715c4Binary files /dev/null and b/unity/Assets/UI/Portraits/weizmann.jpg differdiff --git a/unity/Assets/UI/Portraits/weizmann.jpg.meta b/unity/Assets/UI/Portraits/weizmann.jpg.metanew file mode 100644index 000000000..647b80b37--- /dev/null+++ b/unity/Assets/UI/Portraits/weizmann.jpg.meta@@ -0,0 +1,130 @@+fileFormatVersion: 2+guid: 0c84d13281034087ba62fa4a45d82f6f+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: 512+ textureSettings:+ serializedVersion: 2+ filterMode: 1+ aniso: 1+ mipBias: 0+ wrapU: 1+ wrapV: 1+ wrapW: 1+ nPOTScale: 1+ 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: 512+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 50+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ - serializedVersion: 4+ buildTarget: Standalone+ maxTextureSize: 512+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 50+ crunchedCompression: 1+ allowsAlphaSplitting: 0+ overridden: 0+ ignorePlatformSupport: 0+ androidETC2FallbackOverride: 0+ forceMaximumCompressionQuality_BC6H_BC7: 0+ - serializedVersion: 4+ buildTarget: WebGL+ maxTextureSize: 512+ resizeAlgorithm: 0+ textureFormat: -1+ textureCompression: 1+ compressionQuality: 50+ 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: