Watabou cities integration change, new Urban Density setting

New setting does not yet save/load - I don't want to change the .map file format.
This commit is contained in:
Dranorter 2021-10-04 13:15:11 -04:00
parent 9aa0278f7e
commit cab1c10834
4 changed files with 16 additions and 1 deletions

View file

@ -426,7 +426,7 @@ function editBurg(id) {
}
const cells = pack.cells;
const name = elSelected.text();
const size = Math.max(Math.min(rn(burg.population), 100), 6); // to be removed once change on MFDC is done
const size = Math.ceil(2.13*Math.pow(burg.population * populationRate / urbanDensity,0.385));//Math.max(Math.min(rn(burg.population), 100), 6); // to be removed once change on MFDC is done
const population = rn(burg.population * populationRate * urbanization);
const s = burg.MFCG || defSeed;