mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-23 12:31:24 +01:00
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:
parent
9aa0278f7e
commit
cab1c10834
4 changed files with 16 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue