This commit is contained in:
33333-33333 2026-09-16 13:51:43 +09:00
commit e2d2dfcb66
7 changed files with 2610 additions and 1271 deletions

View file

@ -41,10 +41,11 @@ scale: null
};
const legendByMode = {
terrain: () => terrainInfo.map(t => `<span><i style="background: rgb(${t.color.join(",")})"></i>${t.name}</span>`).join(""),
ethnicity: () => "<span>Color = tile-level dominant ethnicity. Stronger color marks higher local population; mixed areas are muted.</span>",
pressure: () => "<span><i style=\"background:#d24943\"></i>High local population pressure</span>",
polities: () => "<span>Color = territorial state control. Brighter areas are stronger control; pale borders mark frontiers; contested areas are unstable.</span>",
technology: () => "<span><i style=\"background:#5fab5b\"></i>Farming knowledge</span><span><i style=\"background:#caa966\"></i>Metallurgy knowledge</span>",
pheromone: () => "<span><i style=\"background:#d8b156\"></i>Pheromone strength</span><span><i style=\"background:#ffd75a\"></i>Formal trade routes</span>",
resources: () => "<span><i style=\"background:#6bbc55\"></i>Regenerating local resource stock</span>"
ethnicity: () => "<span>Ethnicity</span>",
pressure: () => "<span>Pressure</span>",
polities: () => "<span>States</span>",
nomads: () => "<span>Nomads</span>",
technology: () => "<span>Technology</span>",
pheromone: () => "<span>Routes</span>",
resources: () => "<span>Resources</span>"
};