From bb21e41b1d830342b6b360579cf611507c90acc4 Mon Sep 17 00:00:00 2001 From: cora Date: Thu, 9 Jun 2022 03:59:29 +0200 Subject: [PATCH] Tweak biome config --- mods/MAPGEN/mcl_biomes/init.lua | 67 ++++++++++++++++++++------------- 1 file changed, 41 insertions(+), 26 deletions(-) diff --git a/mods/MAPGEN/mcl_biomes/init.lua b/mods/MAPGEN/mcl_biomes/init.lua index 6ec700d7a..eced046f6 100644 --- a/mods/MAPGEN/mcl_biomes/init.lua +++ b/mods/MAPGEN/mcl_biomes/init.lua @@ -1450,13 +1450,15 @@ local function register_biomes() node_riverbed = "mcl_core:sand", node_cave_liquid = "mcl_core:water_source", depth_riverbed = 2, - y_min = 4, - y_max = 5, + y_min = 2, + y_max = 20, vertical_blend = 1, - humidity_point = 83, - heat_point = 55, + humidity_point = 45, + heat_point = 53, + --humidity_point = 83, + --heat_point = 55, _mcl_biome_type = "medium", - _mcl_palette_index = 28, + _mcl_palette_index = 0, }) minetest.register_biome({ @@ -1469,12 +1471,12 @@ local function register_biomes() node_cave_liquid = "mcl_core:water_source", depth_riverbed = 2, y_min = OCEAN_MIN, - y_max = -6, + y_max = 0, vertical_blend = 1, humidity_point = 83, heat_point = 57, _mcl_biome_type = "medium", - _mcl_palette_index = 28, + _mcl_palette_index = 0, }) -- Add deep ocean and underground biomes automatically. @@ -3945,18 +3947,18 @@ local function register_decorations() register_flower("blue_orchid", {"Swampland"}, 64500, false) --Lush Caves - local lushcaves = { "LushCaves_underground", "LushCaves_ocean", "LushCaves_deep_ocean"} + local lushcaves = { "LushCaves", "LushCaves_underground", "LushCaves_ocean", "LushCaves_deep_ocean"} minetest.register_decoration({ decoration = "mcl_lush_caves:moss", deco_type = "simple", place_on = {"group:material_stone", "mcl_core:gravel", "mcl_core:bedrock"}, spawn_by = {"air"}, - num_spawn_by = 4, + num_spawn_by = 1, sidelen = 80, y_max = 1, biomes = lushcaves, fill_ratio = 10, - flags = "place_center_x, place_center_z, force_placement, all_floors, all_ceilings", + flags = "all_floors, all_ceilings", }) minetest.register_decoration({ @@ -3966,10 +3968,20 @@ local function register_decorations() spawn_by = {"air"}, num_spawn_by = 4, sidelen = 16, - y_max = 10, + y_max = -1, biomes = lushcaves, - fill_ratio = 8, - flags = "place_center_x, place_center_z, force_placement, all_floors", + fill_ratio = 1, + flags = "all_floors", + }) + minetest.register_decoration({ + decoration = "mcl_flowers:tallgrass", + deco_type = "simple", + place_on = {"mcl_core:dirt_with_grass"}, + spawn_by = {"air"}, + num_spawn_by = 4, + sidelen = 16, + biomes = lushcaves, + fill_ratio = 0.1, }) minetest.register_decoration({ @@ -3978,10 +3990,11 @@ local function register_decorations() deco_type = "simple", place_on = {"group:material_stone","mcl_core:gravel","mcl_lush_caves:moss","mcl_core:clay"}, spawn_by = {"air"}, - num_spawn_by = 4, + num_spawn_by = 2, sidelen = 16, - fill_ratio = 4, - flags = "place_center_x, place_center_z, force_placement, all_floors", + fill_ratio = 0.5, + y_max = -10, + flags = "all_floors", biomes = lushcaves, }) @@ -3992,10 +4005,11 @@ local function register_decorations() place_on = {"group:material_stone","mcl_core:gravel","mcl_lush_caves:moss","mcl_core:clay"}, spawn_by = {"air"}, num_spawn_by = 4, - y_min = -40, + y_min = -25, + y_max = -5, sidelen = 16, - fill_ratio = 10, - flags = "place_center_x, place_center_z, force_placement, all_ceilings", + fill_ratio = 0.5, + flags = "all_ceilings", biomes = lushcaves, }) @@ -4006,8 +4020,9 @@ local function register_decorations() height = 1, max_height = 4, sidelen = 16, - fill_ratio = 0.8, - flags = "place_center_x, place_center_z, force_placement, all_ceilings", + fill_ratio = 0.2, + y_max = -10, + flags = "all_ceilings", biomes = lushcaves, }) minetest.register_decoration({ @@ -4018,7 +4033,7 @@ local function register_decorations() max_height = 4, sidelen = 16, fill_ratio = 0.3, - flags = "place_center_x, place_center_z, force_placement, all_ceilings", + flags = "all_ceilings", biomes = lushcaves, }) @@ -4030,7 +4045,7 @@ local function register_decorations() num_spawn_by = 4, sidelen = 16, fill_ratio = 10, - flags = "place_center_x, place_center_z, force_placement, all_ceilings", + flags = "all_ceilings", biomes = lushcaves, }) @@ -4039,7 +4054,7 @@ local function register_decorations() deco_type = "simple", sidelen = 16, fill_ratio = 10, - flags = "place_center_x, place_center_z, force_placement, all_ceilings", + flags = "all_ceilings", biomes = lushcaves, }) --[[ @@ -4063,7 +4078,7 @@ local function register_decorations() num_spawn_by = 4, sidelen = 16, fill_ratio = 0.01, - flags = "place_center_x, place_center_z, force_placement, all_floors", + flags = "all_floors", biomes = lushcaves, }) --[[] @@ -4074,7 +4089,7 @@ local function register_decorations() fill_ratio = 5, biomes = lushcaves, decoration = "mcl_flowers:tallgrass", - flags = "place_center_x, place_center_z, force_placement, all_floors", + flags = "all_floors", }) --]] end