refactor(generation): cultures completion

This commit is contained in:
max 2022-07-29 01:03:23 +03:00
parent 6d70458aaf
commit a832354b48
12 changed files with 679 additions and 378 deletions

View file

@ -13,6 +13,7 @@ import {applyStoredOptions} from "./modules/ui/options";
import {addGlobalListeners} from "./scripts/listeners";
import {checkForUpdates} from "./scripts/updater";
import {getInputNumber} from "utils/nodeUtils";
import {defaultNameBases} from "config/namebases";
// default options
options = {
@ -33,7 +34,7 @@ statesNeutral = 1; // statesEditor growth parameter
rulers = new Rulers();
biomesData = window.Biomes.getDefault();
nameBases = window.Names.getNameBases(); // cultures-related data
nameBases = [...defaultNameBases];
// voronoi graph extension, cannot be changed after generation
graphWidth = getInputNumber("mapWidthInput");