markers rework - editor UI

This commit is contained in:
Azgaar 2021-09-20 22:33:19 +03:00 committed by Peter
parent 50814bd431
commit 3492422db3

View file

@ -181,7 +181,7 @@ window.BurgsAndStates = (function () {
} else b.port = 0; } else b.port = 0;
// define burg population // define burg population
const primaryPopulation = cells.s[i] * POPULATION_MULTIPLIER; const primaryPopulation = cells.s[i];
const secondaryPopulation = b.i / 1000 + (i % 100) / 1000; const secondaryPopulation = b.i / 1000 + (i % 100) / 1000;
b.population = rn(Math.max(primaryPopulation + secondaryPopulation, 0.1), 3); b.population = rn(Math.max(primaryPopulation + secondaryPopulation, 0.1), 3);
if (b.capital) b.population = rn(b.population * 1.3, 3); // increase capital population if (b.capital) b.population = rn(b.population * 1.3, 3); // increase capital population