LCOV - code coverage report
Current view: top level - maps/random/rmbiome/generic - temperate.js (source / functions) Hit Total Coverage
Test: lcov.info Lines: 0 17 0.0 %
Date: 2023-04-02 12:52:40 Functions: 0 1 0.0 %

          Line data    Source code
       1             : function setupBiome_temperate()
       2             : {
       3           0 :         if (randBool())
       4             :         {
       5           0 :                 g_Terrains.mainTerrain = "temperate_grass_04";
       6           0 :                 g_Terrains.forestFloor1 = "temperate_forestfloor_01";
       7           0 :                 g_Terrains.forestFloor2 = "temperate_forestfloor_02";
       8           0 :                 g_Terrains.tier1Terrain = "temperate_grass_dirt_02";
       9           0 :                 g_Terrains.tier2Terrain = "temperate_grass_03";
      10           0 :                 g_Terrains.tier3Terrain = "temperate_grass_04";
      11           0 :                 g_Terrains.tier4Terrain = "temperate_grass_01";
      12             :         }
      13             :         else
      14             :         {
      15           0 :                 g_Terrains.mainTerrain = "temperate_grass_05";
      16           0 :                 g_Terrains.forestFloor1 = "temperate_forestfloor_02_autumn";
      17           0 :                 g_Terrains.forestFloor2 = "temperate_forestfloor_01_autumn";
      18           0 :                 g_Terrains.tier1Terrain = "temperate_grass_dirt_01";
      19           0 :                 g_Terrains.tier2Terrain = "temperate_grass_dirt_02";
      20           0 :                 g_Terrains.tier3Terrain = "temperate_grass_mud_01";
      21           0 :                 g_Terrains.tier4Terrain = "temperate_grass_02";
      22             :         }
      23             : 
      24           0 :         [g_Gaia.tree1, g_Gaia.tree2] = pickRandom([
      25             :                 [
      26             :                         "gaia/tree/oak",
      27             :                         "gaia/tree/oak_hungarian"
      28             :                 ],
      29             :                 [
      30             :                         "gaia/tree/oak_holly",
      31             :                         "gaia/tree/maple"
      32             :                 ],
      33             :                 [
      34             :                         "gaia/tree/oak_hungarian",
      35             :                         "gaia/tree/oak_holly"
      36             :                 ]
      37             :         ]);
      38             : 
      39           0 :         [g_Gaia.tree4, g_Gaia.tree5] = pickRandom([
      40             :                 [
      41             :                         "gaia/tree/pine",
      42             :                         "gaia/tree/pine_maritime"
      43             :                 ],
      44             :                 [
      45             :                         "gaia/tree/pine",
      46             :                         "gaia/tree/pine"
      47             :                 ],
      48             :                 [
      49             :                         "gaia/tree/pine_maritime",
      50             :                         "gaia/tree/pine_maritime"
      51             :                 ]
      52             :         ]);
      53             : }

Generated by: LCOV version 1.14