mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 03:51:23 +01:00
added some sanity checks in comments
This commit is contained in:
parent
fe51098b16
commit
8aca16dd5a
1 changed files with 4 additions and 3 deletions
7
main.js
7
main.js
|
|
@ -347,9 +347,10 @@ function applyDefaultBiomesSystem() {
|
||||||
//it is occasionally useful to have the "ID" be in the object
|
//it is occasionally useful to have the "ID" be in the object
|
||||||
pack.biomes.forEach((e, i) => {e.id = i;});
|
pack.biomes.forEach((e, i) => {e.id = i;});
|
||||||
|
|
||||||
const MARINE = 0;
|
// For sanity
|
||||||
const PERMAFROST = 11;
|
// console.assert(pack.biomes[0].name == "Marine");
|
||||||
const WETLANDS = 12;
|
// console.assert(pack.biomes[11].name == "Glacier");
|
||||||
|
// console.assert(pack.biomes[12].name == "Wetland");
|
||||||
|
|
||||||
pack.biomesMartix = [
|
pack.biomesMartix = [
|
||||||
// hot ↔ cold; dry ↕ wet
|
// hot ↔ cold; dry ↕ wet
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue