mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-20 02:51:23 +01:00
refactor(generation): cultures completion
This commit is contained in:
parent
6d70458aaf
commit
a832354b48
12 changed files with 679 additions and 378 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue