From 1655d631d9cfad038e78d74266d09e678be1c656 Mon Sep 17 00:00:00 2001 From: tenplus1 Date: Sun, 13 Oct 2024 15:51:14 +0100 Subject: [PATCH] add ethereal.old_biomes setting to stick with previous settings for compatibility if wanted --- README.md | 2 + biomes.lua | 222 ++++++++++++++++++++++++++++++----------------- settingtypes.txt | 1 + 3 files changed, 147 insertions(+), 78 deletions(-) diff --git a/README.md b/README.md index ae47623..d11c192 100644 --- a/README.md +++ b/README.md @@ -106,6 +106,8 @@ who helped make this mod bigger and better throughout it's release :) - Replace 32px textures with 16px variants so items do not look mismatched - Add new biome layout so that specific biomes aren't too large or small - Add falling leaf particles with setting to disable + - Add 'ethereal.old_biomes' setting to stay with older biome settings and not use + the new layout for compatibility if wanted. ### 1.31 - Fix fishing biome checks diff --git a/biomes.lua b/biomes.lua index 5daafb7..0a4253a 100644 --- a/biomes.lua +++ b/biomes.lua @@ -22,11 +22,16 @@ local function register_biome(enabled, def) end +-- old biome setting (when enabled old heat/humidity values are used) + +local old = minetest.settings:get_bool("ethereal.old_biomes") + -- mountain register_biome(1, { name = "mountain", - heat_point = 50, humidity_point = 50, y_min = 140, y_max = 31000, + heat_point = 50, humidity_point = 50, + y_min = 140, y_max = 31000, node_top = "default:snow", depth_top = 1, node_filler = "default:snowblock", depth_filler = 2}) @@ -34,26 +39,30 @@ register_biome(1, { register_biome(1, { name = "grassland", - heat_point = 50, humidity_point = 35, y_min = 3, y_max = 71, + heat_point = old and 45 or 50, humidity_point = old and 65 or 35, + y_min = 3, y_max = 71, node_top = "default:dirt_with_grass", depth_top = 1, node_filler = "default:dirt", depth_filler = 3}) register_biome(1, { name = "grassland_ocean", - heat_point = 50, humidity_point = 35, y_min = -192, y_max = 2, + heat_point = old and 45 or 50, humidity_point = old and 65 or 35, + y_min = -192, y_max = 2, node_top = "default:sand", depth_top = 1, node_filler = "default:sand", depth_filler = 3}) register_biome(1, { name = "grassland_under", node_cave_liquid = {"default:water_source", "default:lava_source"}, - heat_point = 50, humidity_point = 35, y_min = -31000, y_max = -256}) + heat_point = old and 45 or 50, humidity_point = old and 65 or 35, + y_min = -31000, y_max = -256}) -- desert register_biome(ethereal.desert, { name = "desert", - heat_point = 92, humidity_point = 16, y_min = 3, y_max = 23, + heat_point = old and 35 or 92, humidity_point = old and 20 or 16, + y_min = 3, y_max = 23, node_top = "default:desert_sand", depth_top = 1, node_filler = "default:desert_sand", depth_filler = 3, node_stone = "default:desert_stone", @@ -63,7 +72,8 @@ register_biome(ethereal.desert, { register_biome(ethereal.desert, { name = "desert_ocean", - heat_point = 92, humidity_point = 16, y_min = -192, y_max = 3, + heat_point = old and 35 or 92, humidity_point = old and 20 or 16, + y_min = -192, y_max = 3, node_top = "default:sand", depth_top = 1, node_filler = "default:sand", depth_filler = 2, node_stone = "default:desert_stone", @@ -73,20 +83,23 @@ register_biome(ethereal.desert, { register_biome(ethereal.desert, { name = "desert_under", - heat_point = 92, humidity_point = 16, y_min = -31000, y_max = -256, + heat_point = old and 35 or 92, humidity_point = old and 20 or 16, + y_min = -31000, y_max = -256, node_cave_liquid = {"default:water_source", "default:lava_source"}}) -- bamboo register_biome(ethereal.bamboo, { name = "bamboo", - heat_point = 45, humidity_point = 45, y_min = 3, y_max = 70, + heat_point = 45, humidity_point = old and 75 or 45, + y_min = 3, y_max = 70, node_top = "ethereal:bamboo_dirt", depth_top = 1, node_filler = "default:dirt", depth_filler = 3}) register_biome(ethereal.bamboo, { name = "bamboo_ocean", - heat_point = 45, humidity_point = 45, y_min = -192, y_max = 2, + heat_point = 45, humidity_point = old and 75 or 45, + y_min = -192, y_max = 2, node_top = "default:sand", depth_top = 1, node_filler = "default:sand", depth_filler = 2}) @@ -94,7 +107,8 @@ register_biome(ethereal.bamboo, { register_biome(ethereal.mesa, { name = "mesa", - heat_point = 25, humidity_point = 10, y_min = 18, y_max = 71, + heat_point = 25, humidity_point = old and 28 or 10, + y_min = 18, y_max = 71, node_top = "bakedclay:orange", depth_top = 1, node_filler = "bakedclay:orange", depth_filler = 15, node_riverbed = "default:desert_sand", depth_riverbed = 2, @@ -104,7 +118,8 @@ register_biome(ethereal.mesa, { register_biome(ethereal.mesa, { name = "mesa_redwood", - heat_point = 25, humidity_point = 10, y_min = 11, y_max = 17, + heat_point = 25, humidity_point = old and 28 or 10, + y_min = 11, y_max = 17, node_top = "default:dirt_with_dry_grass", depth_top = 1, node_filler = "bakedclay:orange", depth_filler = 15, node_riverbed = "default:desert_sand", depth_riverbed = 2, @@ -114,7 +129,8 @@ register_biome(ethereal.mesa, { register_biome(ethereal.mesa, { name = "mesa_beach", - heat_point = 25, humidity_point = 10, y_min = -1, y_max = 10, + heat_point = 25, humidity_point = old and 28 or 10, + y_min = -1, y_max = 10, node_top = "default:desert_sand", depth_top = 1, node_filler = "bakedclay:orange", depth_filler = 2, node_riverbed = "default:desert_sand", depth_riverbed = 2, @@ -124,7 +140,8 @@ register_biome(ethereal.mesa, { register_biome(ethereal.mesa, { name = "mesa_ocean", - heat_point = 25, humidity_point = 10, y_min = -192, y_max = -2, + heat_point = 25, humidity_point = old and 28 or 10, + y_min = -192, y_max = -2, node_top = "default:sand", depth_top = 1, node_filler = "default:sand", depth_filler = 2}) @@ -132,39 +149,45 @@ register_biome(ethereal.mesa, { register_biome(ethereal.snowy, { name = "coniferous_forest", - heat_point = 45, humidity_point = 70, y_min = 6, y_max = 140, + heat_point = old and 10 or 45, humidity_point = old and 40 or 70, + y_min = 6, y_max = 140, node_top = "default:dirt_with_coniferous_litter", depth_top = 1, node_filler = "default:dirt", depth_filler = 2}) register_biome(ethereal.snowy, { name = "coniferous_forest_dunes", - heat_point = 45, humidity_point = 70, y_min = 4, y_max = 5, + heat_point = old and 10 or 45, humidity_point = old and 40 or 70, + y_min = 4, y_max = 5, node_top = "default:sand", depth_top = 1, node_filler = "default:sand", depth_filler = 3, vertical_blend = 1}) register_biome(ethereal.snowy, { name = "coniferous_forest_ocean", - heat_point = 45, humidity_point = 70, y_min = -255, y_max = 3, + heat_point = old and 10 or 45, humidity_point = old and 40 or 70, + y_min = -255, y_max = 3, node_top = "default:sand", depth_top = 1, node_filler = "default:sand", depth_filler = 2}) register_biome(ethereal.snowy, { name = "coniferous_forest_under", - heat_point = 45, humidity_point = 70, y_min = -31000, y_max = -256, + heat_point = old and 10 or 45, humidity_point = old and 40 or 70, + y_min = -31000, y_max = -256, node_cave_liquid = {"default:water_source", "default:lava_source"}}) -- taiga register_biome(ethereal.alpine, { name = "taiga", - heat_point = 25, humidity_point = 70, y_min = 4, y_max = 140, + heat_point = old and 10 or 25, humidity_point = old and 40 or 70, + y_min = 4, y_max = 140, node_top = "default:dirt_with_snow", depth_top = 1, node_filler = "default:dirt", depth_filler = 2}) register_biome(ethereal.alpine, { name = "taiga_ocean", - heat_point = 25, humidity_point = 70, y_min = -255, y_max = 3, + heat_point = old and 10 or 25, humidity_point = old and 40 or 70, + y_min = -255, y_max = 3, node_dust = "default:snow", node_top = "default:sand", depth_top = 1, node_filler = "default:sand", depth_filler = 3, @@ -173,26 +196,30 @@ register_biome(ethereal.alpine, { register_biome(ethereal.alpine, { name = "taiga_under", - heat_point = 25, humidity_point = 70, y_min = -31000, y_max = -256, + heat_point = old and 10 or 25, humidity_point = old and 40 or 70, + y_min = -31000, y_max = -256, node_cave_liquid = {"default:water_source", "default:lava_source"}}) -- frost register_biome(ethereal.frost, { name = "frost_floatland", - heat_point = 5, humidity_point = 60, y_min = 1025, y_max = 1750, + heat_point = old and 10 or 5, humidity_point = old and 40 or 60, + y_min = 1025, y_max = 1750, node_top = "ethereal:crystal_dirt", depth_top = 1, node_filler = "default:dirt", depth_filler = 2}) register_biome(ethereal.frost, { name = "frost", - heat_point = 5, humidity_point = 60, y_min = 2, y_max = 71, + heat_point = old and 10 or 5, humidity_point = old and 40 or 60, + y_min = 2, y_max = 71, node_top = "ethereal:crystal_dirt", depth_top = 1, node_filler = "default:dirt", depth_filler = 3}) register_biome(ethereal.frost, { name = "frost_ocean", - heat_point = 5, humidity_point = 60, y_min = -192, y_max = 1, + heat_point = old and 10 or 5, humidity_point = old and 40 or 60, + y_min = -192, y_max = 1, node_top = "default:silver_sand", depth_top = 1, node_filler = "default:sand", depth_filler = 3}) @@ -216,26 +243,30 @@ register_biome(1, { register_biome(ethereal.grassy, { name = "deciduous_forest", - heat_point = 60, humidity_point = 68, y_min = 3, y_max = 91, + heat_point = old and 13 or 60, humidity_point = old and 40 or 68, + y_min = 3, y_max = 91, node_top = "default:dirt_with_grass", depth_top = 1, node_filler = "default:dirt", depth_filler = 3}) register_biome(ethereal.grassy, { name = "deciduous_forest_ocean", - heat_point = 60, humidity_point = 68, y_min = -31000, y_max = 3, + heat_point = old and 13 or 60, humidity_point = old and 40 or 68, + y_min = -31000, y_max = 3, node_top = "default:sand", depth_top = 2, node_filler = "default:gravel", depth_filler = 1}) register_biome(ethereal.grassy, { name = "deciduous_forest_under", - heat_point = 60, humidity_point = 68, y_min = -31000, y_max = -256, + heat_point = old and 13 or 60, humidity_point = old and 40 or 68, + y_min = -31000, y_max = -256, node_cave_liquid = {"default:water_source", "default:lava_source"}}) -- caves register_biome(ethereal.caves, { name = "caves", - heat_point = 70, humidity_point = 5, y_min = 4, y_max = 41, + heat_point = old and 15 or 70, humidity_point = old and 25 or 5, + y_min = 4, y_max = 41, node_top = "default:desert_stone", depth_top = 3, node_filler = "air", depth_filler = 8, node_dungeon_alt = "", @@ -246,13 +277,15 @@ register_biome(ethereal.caves, { register_biome(ethereal.grayness, { name = "grayness", - heat_point = 15, humidity_point = 30, y_min = 2, y_max = 41, + heat_point = 15, humidity_point = old and 25 or 30, + y_min = 2, y_max = 41, node_top = "ethereal:gray_dirt", depth_top = 1, node_filler = "default:dirt", depth_filler = 3}) register_biome(ethereal.grayness, { name = "grayness_ocean", - heat_point = 15, humidity_point = 30, y_min = -22, y_max = 2, + heat_point = 15, humidity_point = old and 25 or 30, + y_min = -22, y_max = 2, node_top = "default:silver_sand", depth_top = 2, node_filler = "default:sand", depth_filler = 2, node_stone = "ethereal:blue_marble", @@ -262,20 +295,23 @@ register_biome(ethereal.grayness, { register_biome(ethereal.grayness, { name = "grayness_under", - heat_point = 15, humidity_point = 30, y_min = -31000, y_max = -23, + heat_point = 15, humidity_point = old and 25 or 30, + y_min = -31000, y_max = -23, node_cave_liquid = {"default:water_source", "default:lava_source"}}) -- grassy two register_biome(ethereal.grassytwo, { name = "grassytwo", - heat_point = 15, humidity_point = 25, y_min = 1, y_max = 91, + heat_point = 15, humidity_point = old and 40 or 25, + y_min = 1, y_max = 91, node_top = "default:dirt_with_grass", depth_top = 1, node_filler = "default:dirt", depth_filler = 3}) register_biome(ethereal.grassytwo, { name = "grassytwo_ocean", - heat_point = 15, humidity_point = 25, y_min = -192, y_max = 2, + heat_point = 15, humidity_point = old and 40 or 25, + y_min = -192, y_max = 2, node_top = "default:sand", depth_top = 1, node_filler = "default:sand", depth_filler = 2}) @@ -283,13 +319,15 @@ register_biome(ethereal.grassytwo, { register_biome(ethereal.prairie, { name = "prairie", - heat_point = 30, humidity_point = 35, y_min = 3, y_max = 26, + heat_point = old and 20 or 30, humidity_point = old and 40 or 35, + y_min = 3, y_max = 26, node_top = "ethereal:prairie_dirt", depth_top = 1, node_filler = "default:dirt", depth_filler = 3}) register_biome(ethereal.prairie, { name = "prairie_ocean", - heat_point = 30, humidity_point = 35, y_min = -192, y_max = 2, + heat_point = old and 20 or 30, humidity_point = old and 40 or 35, + y_min = -192, y_max = 2, node_top = "default:sand", depth_top = 1, node_filler = "default:sand", depth_filler = 2}) @@ -297,13 +335,15 @@ register_biome(ethereal.prairie, { register_biome(ethereal.jumble, { name = "jumble", - heat_point = 25, humidity_point = 55, y_min = 1, y_max = 71, + heat_point = 25, humidity_point = old and 50 or 55, + y_min = 1, y_max = 71, node_top = "default:dirt_with_grass", depth_top = 1, node_filler = "default:dirt", depth_filler = 3}) register_biome(ethereal.jumble, { name = "jumble_ocean", - heat_point = 25, humidity_point = 55, y_min = -192, y_max = 1, + heat_point = 25, humidity_point = old and 50 or 55, + y_min = -192, y_max = 1, node_top = "default:sand", depth_top = 1, node_filler = "default:sand", depth_filler = 2}) @@ -311,19 +351,22 @@ register_biome(ethereal.jumble, { register_biome(ethereal.junglee, { name = "rainforest", - heat_point = 86, humidity_point = 65, y_min = 1, y_max = 71, + heat_point = old and 30 or 86, humidity_point = old and 60 or 65, + y_min = 1, y_max = 71, node_top = "default:dirt_with_rainforest_litter", depth_top = 1, node_filler = "default:dirt", depth_filler = 3}) register_biome(ethereal.junglee, { name = "rainforest_ocean", - heat_point = 86, humidity_point = 65, y_min = -192, y_max = 0, + heat_point = old and 30 or 86, humidity_point = old and 60 or 65, + y_min = -192, y_max = 0, node_top = "default:sand", depth_top = 1, node_filler = "default:sand", depth_filler = 2}) register_biome(ethereal.junglee, { name = "rainforest_under", - heat_point = 86, humidity_point = 65, y_min = -31000, y_max = -256, + heat_point = old and 30 or 86, humidity_point = old and 60 or 65, + y_min = -31000, y_max = -256, node_cave_liquid = {"default:water_source", "default:lava_source"}}) -- swamp @@ -352,13 +395,15 @@ register_biome(ethereal.swamp, { register_biome(ethereal.grove, { name = "grove", - heat_point = 40, humidity_point = 25, y_min = 3, y_max = 23, + heat_point = old and 45 or 40, humidity_point = old and 35 or 25, + y_min = 3, y_max = 23, node_top = "ethereal:grove_dirt", depth_top = 1, node_filler = "default:dirt", depth_filler = 3}) register_biome(ethereal.grove, { name = "grove_ocean", - heat_point = 40, humidity_point = 25, y_min = -192, y_max = 2, + heat_point = old and 45 or 40, humidity_point = old and 35 or 25, + y_min = -192, y_max = 2, node_top = "default:sand", depth_top = 1, node_filler = "default:sand", depth_filler = 2}) @@ -366,7 +411,8 @@ register_biome(ethereal.grove, { register_biome(ethereal.mediterranean, { name = "mediterranean", - heat_point = 30, humidity_point = 45, y_min = 3, y_max = 50, + heat_point = old and 20 or 30, humidity_point = 45, + y_min = 3, y_max = 50, node_top = "ethereal:grove_dirt", depth_top = 1, node_filler = "default:dirt", depth_filler = 3}) @@ -374,13 +420,15 @@ register_biome(ethereal.mediterranean, { register_biome(ethereal.mushroom, { name = "mushroom", - heat_point = 45, humidity_point = 82, y_min = 4, y_max = 50, + heat_point = 45, humidity_point = old and 55 or 82, + y_min = 4, y_max = 50, node_top = "ethereal:mushroom_dirt", depth_top = 1, node_filler = "default:dirt", depth_filler = 3}) register_biome(ethereal.mushroom, { name = "mushroom_ocean", - heat_point = 45, humidity_point = 82, y_min = -255, y_max = 5, + heat_point = 45, humidity_point = old and 55 or 82, + y_min = -255, y_max = 5, node_top = "default:sand", depth_top = 1, node_filler = "default:sand", depth_filler = 2, vertical_blend = 1}) @@ -389,7 +437,8 @@ register_biome(ethereal.mushroom, { register_biome(ethereal.sandstone, { name = "sandstone_desert", - heat_point = 60, humidity_point = 0, y_min = 3, y_max = 23, + heat_point = old and 50 or 60, humidity_point = old and 20 or 0, + y_min = 3, y_max = 23, node_top = "default:sandstone", depth_top = 1, node_filler = "default:sandstone", depth_filler = 1, node_stone = "default:sandstone", @@ -399,7 +448,8 @@ register_biome(ethereal.sandstone, { register_biome(ethereal.sandstone, { name = "sandstone_desert_ocean", - heat_point = 60, humidity_point = 0, y_min = -192, y_max = 2, + heat_point = old and 50 or 60, humidity_point = old and 20 or 0, + y_min = -192, y_max = 2, node_top = "default:sand", depth_top = 1, node_filler = "default:sand", depth_filler = 2, node_stone = "default:sandstone", @@ -409,14 +459,16 @@ register_biome(ethereal.sandstone, { register_biome(ethereal.sandstone, { name = "sandstone_desert_under", - heat_point = 60, humidity_point = 0, y_min = -31000, y_max = -256, + heat_point = old and 50 or 60, humidity_point = old and 20 or 0, + y_min = -31000, y_max = -256, node_cave_liquid = {"default:water_source", "default:lava_source"}}) -- plains register_biome(ethereal.plains, { name = "plains", - heat_point = 74, humidity_point = 23, y_min = 3, y_max = 25, + heat_point = old and 65 or 74, humidity_point = old and 25 or 23, + y_min = 3, y_max = 25, node_top = "ethereal:dry_dirt", depth_top = 1, node_filler = "default:dirt", depth_filler = 3, node_dungeon_alt = "", @@ -425,7 +477,8 @@ register_biome(ethereal.plains, { register_biome(ethereal.plains, { name = "plains_ocean", - heat_point = 74, humidity_point = 23, y_min = -192, y_max = 2, + heat_point = old and 65 or 74, humidity_point = old and 25 or 23, + y_min = -192, y_max = 2, node_top = "default:sand", depth_top = 1, node_filler = "default:sand", depth_filler = 2}) @@ -433,51 +486,59 @@ register_biome(ethereal.plains, { register_biome(ethereal.savanna, { name = "savanna", - heat_point = 89, humidity_point = 42, y_min = 3, y_max = 50, + heat_point = old and 55 or 89, humidity_point = old and 25 or 42, + y_min = 3, y_max = 50, node_top = "default:dry_dirt_with_dry_grass", depth_top = 1, node_filler = "default:dry_dirt", depth_filler = 3}) register_biome(ethereal.savanna, { name = "savanna_ocean", - heat_point = 89, humidity_point = 42, y_min = -192, y_max = 2, + heat_point = old and 55 or 89, humidity_point = old and 25 or 42, + y_min = -192, y_max = 2, node_top = "default:sand", depth_top = 1, node_filler = "default:sand", depth_filler = 2}) register_biome(ethereal.savanna, { name = "savanna_under", - heat_point = 89, humidity_point = 42, y_min = -31000, y_max = -256, + heat_point = old and 55 or 89, humidity_point = old and 25 or 42, + y_min = -31000, y_max = -256, node_cave_liquid = {"default:water_source", "default:lava_source"}}) -- fiery register_biome(ethereal.fiery, { name = "fiery", - heat_point = 80, humidity_point = 10, y_min = 5, y_max = 20, + heat_point = old and 75 or 80, humidity_point = 10, + y_min = 5, y_max = 20, node_top = "ethereal:fiery_dirt", depth_top = 1, node_filler = "default:dirt", depth_filler = 3}) register_biome(ethereal.fiery, { name = "fiery_beach", - heat_point = 80, humidity_point = 10, y_min = 1, y_max = 4, + heat_point = old and 75 or 80, humidity_point = 10, + y_min = 1, y_max = 4, node_top = "default:desert_sand", depth_top = 1, node_filler = "default:sand", depth_filler = 2}) register_biome(ethereal.fiery, { name = "fiery_ocean", - heat_point = 80, humidity_point = 10, y_min = -192, y_max = 2, + heat_point = old and 75 or 80, humidity_point = 10, + y_min = -192, y_max = 2, node_top = "default:sand", depth_top = 1, node_filler = "default:sand", depth_filler = 2}) register_biome(ethereal.fiery, { name = "fiery_under", - heat_point = 80, humidity_point = 10, y_min = -31000, y_max = -256, + heat_point = old and 75 or 80, humidity_point = 10, + y_min = -31000, y_max = -256, node_cave_liquid = {"default:lava_source"}}) -- glacier register_biome(ethereal.glacier, { name = "glacier", - heat_point = 0, humidity_point = 73, y_min = -8, y_max = 31000, + heat_point = 0, humidity_point = old and 50 or 73, + y_min = -8, y_max = 31000, node_dust = "default:snowblock", node_top = "default:snowblock", depth_top = 1, node_filler = "default:snowblock", depth_filler = 3, @@ -490,14 +551,16 @@ register_biome(ethereal.glacier, { register_biome(ethereal.glacier, { name = "glacier_ocean", - heat_point = 0, humidity_point = 73, y_min = -112, y_max = -9, + heat_point = 0, humidity_point = old and 50 or 73, + y_min = -112, y_max = -9, node_dust = "default:snowblock", node_top = "default:sand", depth_top = 1, node_filler = "default:sand", depth_filler = 3}) register_biome(ethereal.glacier, { name = "glacier_under", - heat_point = 0, humidity_point = 73, y_max = -256, y_min = -31000, + heat_point = 0, humidity_point = old and 50 or 73, + y_max = -256, y_min = -31000, node_cave_liquid = {"default:water_source", "default:lava_source"}, node_dungeon = "default:cobble", node_dungeon_alt = "default:mossycobble", @@ -542,22 +605,25 @@ register_biome(ethereal.tundra, { -- Cold desert (was heat, humidity 40,0, changed to 20,85 to fill biome gap) -register_biome(1, { - name = "cold_desert", - heat_point = 20, humidity_point = 85, y_min = 4, y_max = 100, - node_top = "default:silver_sand", depth_top = 1, - node_filler = "default:silver_sand", depth_filler = 1, - node_riverbed = "default:silver_sand", depth_riverbed = 2}) - -register_biome(1, { - name = "cold_desert_ocean", - heat_point = 20, humidity_point = 85, y_min = -255, y_max = 3, - node_top = "default:sand", depth_top = 1, - node_filler = "default:sand", depth_filler = 3, - node_cave_liquid = "default:water_source", - vertical_blend = 1}) - -register_biome(1, { - name = "cold_desert_under", - node_cave_liquid = {"default:water_source", "default:lava_source"}, - heat_point = 20, humidity_point = 85, y_min = -31000, y_max = -256}) +if not old then -- wasnt available in old biomes + + register_biome(1, { + name = "cold_desert", + heat_point = 20, humidity_point = 85, y_min = 4, y_max = 100, + node_top = "default:silver_sand", depth_top = 1, + node_filler = "default:silver_sand", depth_filler = 1, + node_riverbed = "default:silver_sand", depth_riverbed = 2}) + + register_biome(1, { + name = "cold_desert_ocean", + heat_point = 20, humidity_point = 85, y_min = -255, y_max = 3, + node_top = "default:sand", depth_top = 1, + node_filler = "default:sand", depth_filler = 3, + node_cave_liquid = "default:water_source", + vertical_blend = 1}) + + register_biome(1, { + name = "cold_desert_under", + node_cave_liquid = {"default:water_source", "default:lava_source"}, + heat_point = 20, humidity_point = 85, y_min = -31000, y_max = -256}) +end diff --git a/settingtypes.txt b/settingtypes.txt index 0c64fdc..72f03a0 100644 --- a/settingtypes.txt +++ b/settingtypes.txt @@ -47,3 +47,4 @@ ethereal.abundant_onions (Abundant Onions) bool true ethereal.sapling_protection_check (Check for area protection before placing sapling) bool false +ethereal.old_biomes (Use old biome settings) bool false