From 84a92817cc64aa340fe989c8dd91ed1b31456d9c Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sun, 10 Sep 2017 15:01:32 +0200 Subject: [PATCH] Tweak beaches --- mods/MAPGEN/mcl_biomes/init.lua | 81 ++++++++++++++++++++------------- 1 file changed, 49 insertions(+), 32 deletions(-) diff --git a/mods/MAPGEN/mcl_biomes/init.lua b/mods/MAPGEN/mcl_biomes/init.lua index 96224936a..6f07ada67 100644 --- a/mods/MAPGEN/mcl_biomes/init.lua +++ b/mods/MAPGEN/mcl_biomes/init.lua @@ -101,19 +101,36 @@ local function register_biomes() humidity_point = 40, }) + -- A cold beach-like biome minetest.register_biome({ name = "cold_taiga_beach", node_dust = "mcl_core:snow", node_top = "mcl_core:sand", - depth_top = 1, + depth_top = 2, node_water_top = "mcl_core:ice", depth_water_top = 1, - node_filler = "mcl_core:sand", + node_filler = "mcl_core:sandstone", + depth_filler = 2, + node_riverbed = "mcl_core:sand", + depth_riverbed = 2, + y_min = 1, + y_max = 2, + heat_point = 0, + humidity_point = 40, + }) + -- Water part of the beach. Added to prevent snow being on the ice. + minetest.register_biome({ + name = "cold_taiga_beach_water", + node_top = "mcl_core:sand", + depth_top = 2, + node_water_top = "mcl_core:ice", + depth_water_top = 1, + node_filler = "mcl_core:sandstone", depth_filler = 2, node_riverbed = "mcl_core:sand", depth_riverbed = 2, y_min = -3, - y_max = 2, + y_max = 0, heat_point = 0, humidity_point = 40, }) @@ -208,9 +225,9 @@ local function register_biomes() minetest.register_biome({ name = "extreme_hills_beach", node_top = "mcl_core:sand", - depth_top = 1, + depth_top = 2, depth_water_top = 1, - node_filler = "mcl_core:sand", + node_filler = "mcl_core:sandstone", depth_filler = 3, node_riverbed = "mcl_core:sand", depth_riverbed = 4, @@ -383,8 +400,8 @@ local function register_biomes() minetest.register_biome({ name = "plains_beach", node_top = "mcl_core:sand", - depth_top = 1, - node_filler = "mcl_core:sand", + depth_top = 2, + node_filler = "mcl_core:sandstone", depth_filler = 2, node_riverbed = "mcl_core:sand", depth_riverbed = 2, @@ -457,9 +474,9 @@ local function register_biomes() minetest.register_biome({ name = "taiga_beach", node_top = "mcl_core:sand", - depth_top = 1, - node_filler = "mcl_core:dirt", - depth_filler = 3, + depth_top = 2, + node_filler = "mcl_core:sandstone", + depth_filler = 1, node_riverbed = "mcl_core:sand", depth_riverbed = 2, y_min = 1, @@ -500,9 +517,9 @@ local function register_biomes() minetest.register_biome({ name = "forest_beach", node_top = "mcl_core:sand", - depth_top = 1, - node_filler = "mcl_core:dirt", - depth_filler = 3, + depth_top = 2, + node_filler = "mcl_core:sandstone", + depth_filler = 1, node_riverbed = "mcl_core:sand", depth_riverbed = 2, y_min = -1, @@ -534,7 +551,7 @@ local function register_biomes() depth_filler = 3, node_riverbed = "mcl_core:sand", depth_riverbed = 2, - y_min = 2, + y_min = 3, y_max = mcl_vars.mg_overworld_max, heat_point = 33, humidity_point = 51, @@ -543,13 +560,13 @@ local function register_biomes() minetest.register_biome({ name = "flower_forest_beach", node_top = "mcl_core:sand", - depth_top = 1, - node_filler = "mcl_core:dirt", - depth_filler = 3, + depth_top = 2, + node_filler = "mcl_core:sandstone", + depth_filler = 1, node_riverbed = "mcl_core:sand", depth_riverbed = 2, y_min = -2, - y_max = 1, + y_max = 2, heat_point = 33, humidity_point = 51, }) @@ -709,7 +726,7 @@ local function register_biomes() node_riverbed = "mcl_core:redsand", depth_riverbed = 1, node_stone = "mcl_colorblocks:hardened_clay_orange", - y_min = 1, + y_min = -3, y_max = 10, heat_point = 88, humidity_point = 20, @@ -717,14 +734,14 @@ local function register_biomes() minetest.register_biome({ name = "mesa_ocean", - node_top = "mcl_core:redsand", + node_top = "mcl_core:sand", depth_top = 3, - node_filler = "mcl_colorblocks:hardened_clay", + node_filler = "mcl_core:sand", depth_filler = 2, - node_riverbed = "mcl_core:redsand", + node_riverbed = "mcl_core:sand", depth_riverbed = 2, y_min = OCEAN_MIN, - y_max = 0, + y_max = -4, heat_point = 88, humidity_point = 20, }) @@ -768,7 +785,7 @@ local function register_biomes() node_riverbed = "mcl_core:redsand", depth_riverbed = 1, node_stone = "mcl_colorblocks:hardened_clay_orange", - y_min = 1, + y_min = -3, y_max = 10, heat_point = 64, humidity_point = 37, @@ -776,14 +793,14 @@ local function register_biomes() minetest.register_biome({ name = "mesa_plateau_f_ocean", - node_top = "mcl_core:redsand", + node_top = "mcl_core:sand", depth_top = 3, - node_filler = "mcl_colorblocks:hardened_clay", + node_filler = "mcl_colorblocks:sand", depth_filler = 2, - node_riverbed = "mcl_core:redsand", + node_riverbed = "mcl_core:sand", depth_riverbed = 2, y_min = OCEAN_MIN, - y_max = 0, + y_max = -4, heat_point = 64, humidity_point = 37, }) @@ -806,9 +823,9 @@ local function register_biomes() minetest.register_biome({ name = "savanna_beach", node_top = "mcl_core:sand", - depth_top = 1, - node_filler = "mcl_core:dirt", - depth_filler = 3, + depth_top = 3, + node_filler = "mcl_core:sandstone", + depth_filler = 2, node_riverbed = "mcl_core:sand", depth_riverbed = 2, y_min = -1, @@ -839,7 +856,7 @@ local function register_biomes() node_top = "mcl_core:dirt_with_grass", depth_top = 1, node_filler = "mcl_core:coarse_dirt", - depth_filler = 2, + depth_filler = 3, node_riverbed = "mcl_core:sand", depth_riverbed = 2, y_min = 1,