Customized biomes (#396)

* Start with customized biome UI

* Refactor customized page, split logic

* Implement biome replacements

* Remove debug messages

* Disable create button when nothing is modified
This commit is contained in:
Misode
2023-12-06 20:40:30 +01:00
committed by GitHub
parent 1e28b82907
commit 886991af8e
10 changed files with 329 additions and 110 deletions

View File

@@ -22,7 +22,9 @@ export interface CustomizedModel {
noiseCaves: boolean,
carverCaves: boolean,
ravines: boolean,
// Biomes
biomeSize: number,
biomeReplacements: Record<string, string>,
// Structures
ancientCities: boolean,
buriedTreasures: boolean,
@@ -85,7 +87,9 @@ export namespace CustomizedModel {
noiseCaves: true,
carverCaves: true,
ravines: true,
biomeSize: 4,
biomeReplacements: {},
ancientCities: true,
buriedTreasures: true,