diff --git a/biomes/lava_sea.lua b/biomes/lava_sea.lua index 29fa17d..241df31 100644 --- a/biomes/lava_sea.lua +++ b/biomes/lava_sea.lua @@ -20,7 +20,7 @@ minetest.register_biome({ y_max = dfcaverns.config.level3_min, heat_point = 50, humidity_point = 50, - _subterrane_fill_node = c_lava, - _subterrane_cave_fill_node = c_lava, + _subterrane_fill_node = c_air, -- It's proving tricky to get lava-flooded caves without spilling into forested ones, temporarily disabling until a better solution is found. + _subterrane_cave_fill_node = c_air, }) diff --git a/biomes/level1.lua b/biomes/level1.lua index 0065735..4450c73 100644 --- a/biomes/level1.lua +++ b/biomes/level1.lua @@ -94,11 +94,11 @@ local level_1_wet_floor = function(area, data, ai, vi, bi, param2_data) return end - if math.random() < 0.25 then + if math.random() < 0.5 then data[bi] = c_mossycobble - if math.random() < 0.1 then + if math.random() < 0.05 then data[vi] = c_dead_fungus - elseif math.random() < 0.1 then + elseif math.random() < 0.05 then data[vi] = c_cavern_fungi end end diff --git a/biomes/level2.lua b/biomes/level2.lua index 88e68c7..f8fe12a 100644 --- a/biomes/level2.lua +++ b/biomes/level2.lua @@ -177,18 +177,20 @@ local level_2_wet_floor = function(area, data, ai, vi, bi, param2_data) return end - if math.random() < 0.25 then + if math.random() < 0.5 then data[bi] = c_mossycobble - if math.random() < 0.1 then + if math.random() < 0.05 then data[vi] = c_dead_fungus - elseif math.random() < 0.1 then + elseif math.random() < 0.05 then data[vi] = c_cavern_fungi end end local drip_rand = subterrane:vertically_consistent_random(vi, area) - if drip_rand < 0.05 then + if drip_rand < 0.001 then + subterrane:giant_stalagmite(bi, area, data, 6, 15, c_wet_flowstone, c_wet_flowstone, c_wet_flowstone) + elseif drip_rand < 0.05 then local param2 = drip_rand*1000000 - math.floor(drip_rand*1000000/4)*4 local height = math.floor(drip_rand/0.05 * 5) subterrane:stalagmite(vi, area, data, param2_data, param2, height, true) diff --git a/biomes/level3.lua b/biomes/level3.lua index 08795bd..2ebb534 100644 --- a/biomes/level3.lua +++ b/biomes/level3.lua @@ -9,6 +9,7 @@ local c_water = minetest.get_content_id("default:water_source") local c_air = minetest.get_content_id("air") local c_stone = minetest.get_content_id("default:stone") local c_cobble = minetest.get_content_id("default:cobble") +local c_mossycobble = minetest.get_content_id("default:mossycobble") local c_dirt = minetest.get_content_id("default:dirt") local c_sand = minetest.get_content_id("default:sand") @@ -78,20 +79,20 @@ local level_3_wet_floor = function(area, data, ai, vi, bi, param2_data) return end - if math.random() < 0.25 then - data[bi] = c_dirt_moss - if math.random() < 0.1 then + if math.random() < 0.5 then + data[bi] = c_mossycobble + if math.random() < 0.05 then data[vi] = c_dead_fungus - elseif math.random() < 0.1 then + elseif math.random() < 0.05 then data[vi] = c_cavern_fungi end - else - data[bi] = c_dirt end local drip_rand = subterrane:vertically_consistent_random(vi, area) - if drip_rand < 0.05 then + if drip_rand < 0.001 then + subterrane:giant_stalagmite(bi, area, data, 6, 15, c_wet_flowstone, c_wet_flowstone, c_wet_flowstone) + elseif drip_rand < 0.05 then local param2 = drip_rand*1000000 - math.floor(drip_rand*1000000/4)*4 local height = math.floor(drip_rand/0.05 * 5) subterrane:stalagmite(vi, area, data, param2_data, param2, height, true)