mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 12:01:23 +01:00
markers rework - editor UI
This commit is contained in:
parent
50814bd431
commit
3492422db3
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue