From 57848dace369887797b8fcda782d2df467710c49 Mon Sep 17 00:00:00 2001 From: Azgaar Date: Tue, 20 Apr 2021 12:47:19 +0300 Subject: [PATCH] new resources --- index.html | 109 +++++++++++++++++++++++++++------ modules/resources-generator.js | 3 + 2 files changed, 93 insertions(+), 19 deletions(-) diff --git a/index.html b/index.html index 76676c40..b4fdbc7f 100644 --- a/index.html +++ b/index.html @@ -7746,24 +7746,23 @@ - + + + + + + - - - - - - - - - - - - - - + + + + + + + + @@ -7795,7 +7794,7 @@ - + @@ -7804,9 +7803,81 @@ - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/resources-generator.js b/modules/resources-generator.js index 852103a0..991f778b 100644 --- a/modules/resources-generator.js +++ b/modules/resources-generator.js @@ -526,6 +526,9 @@ window.Resources = (function () { } ]; + const temp = i => grid.cells.temp[pack.cells.g[i]]; + const group = i => pack.features[cells.f[i]].group; + const models = { Deciduous_forests: 'biome(6, 7, 8)', Any_forest: 'biome(5, 6, 7, 8, 9)',