mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 17:51:24 +01:00
feat: move biomes code to a separate module, reduce deserts amount
This commit is contained in:
parent
71cc739b4d
commit
1bb90251cd
9 changed files with 185 additions and 135 deletions
|
|
@ -257,7 +257,7 @@ async function parseLoadedData(data) {
|
|||
}
|
||||
|
||||
const biomes = data[3].split("|");
|
||||
biomesData = applyDefaultBiomesSystem();
|
||||
biomesData = Biomes.getDefault();
|
||||
biomesData.color = biomes[0].split(",");
|
||||
biomesData.habitability = biomes[1].split(",").map(h => +h);
|
||||
biomesData.name = biomes[2].split(",");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue