mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-21 19:41: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
|
||||
pack.biomes.forEach((e, i) => {e.id = i;});
|
||||
|
||||
const MARINE = 0;
|
||||
const PERMAFROST = 11;
|
||||
const WETLANDS = 12;
|
||||
// For sanity
|
||||
// console.assert(pack.biomes[0].name == "Marine");
|
||||
// console.assert(pack.biomes[11].name == "Glacier");
|
||||
// console.assert(pack.biomes[12].name == "Wetland");
|
||||
|
||||
pack.biomesMartix = [
|
||||
// hot ↔ cold; dry ↕ wet
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue