From 8aca16dd5a2e8f2989e3ea48bef9f04c30d47a55 Mon Sep 17 00:00:00 2001 From: Zoltan Date: Tue, 12 Nov 2019 10:58:11 -0800 Subject: [PATCH] added some sanity checks in comments --- main.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/main.js b/main.js index 88b621da..f71cf148 100644 --- a/main.js +++ b/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