mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-19 10:31:24 +01:00
fix: bug fixes, 3d mode controls change to MapContol
This commit is contained in:
parent
07d0729cfc
commit
34b880e10f
19 changed files with 398 additions and 182 deletions
|
|
@ -18,11 +18,12 @@ window.States = (() => {
|
|||
function createStates() {
|
||||
const states = [{i: 0, name: "Neutrals"}];
|
||||
const each5th = each(5);
|
||||
const sizeVariety = byId("sizeVariety").valueAsNumber;
|
||||
|
||||
pack.burgs.forEach(burg => {
|
||||
if (!burg.i || !burg.capital) return;
|
||||
|
||||
const expansionism = rn(Math.random() * byId("sizeVariety").value + 1, 1);
|
||||
const expansionism = rn(Math.random() * sizeVariety + 1, 1);
|
||||
const basename = burg.name.length < 9 && each5th(burg.cell) ? burg.name : Names.getCultureShort(burg.culture);
|
||||
const name = Names.getState(basename, burg.culture);
|
||||
const type = pack.cultures[burg.culture].type;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue