From 6afaaf6173a12626221e5d4f07baf8b1cb108dc3 Mon Sep 17 00:00:00 2001 From: FaceDeer Date: Tue, 5 Sep 2017 01:15:39 -0600 Subject: [PATCH] dial back the flooding on level 1 a smidge --- biomes/level1.lua | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/biomes/level1.lua b/biomes/level1.lua index 4450c73..6706c3d 100644 --- a/biomes/level1.lua +++ b/biomes/level1.lua @@ -161,6 +161,12 @@ local level_1_underwater_floor = function(area, data, ai, vi, bi, param2_data) else data[bi] = c_dirt end + if data[vi] == c_air then + data[vi] = c_water + end + if data[ai] == c_air then + data[ai] = c_water + end end @@ -291,7 +297,7 @@ minetest.register_biome({ y_max = dfcaverns.config.ymax, heat_point = 20, humidity_point = 80, - _subterrane_fill_node = c_water, + _subterrane_fill_node = c_air, _subterrane_cave_fill_node = c_water, _subterrane_floor_decor = level_1_underwater_floor, _subterrane_mitigate_lava = false, -- no need to mitigate lava in a flooded cave, problem is self-solving @@ -318,7 +324,7 @@ minetest.register_biome({ y_max = subsea_level, heat_point = 80, humidity_point = 80, - _subterrane_fill_node = c_water, + _subterrane_fill_node = c_air, _subterrane_cave_fill_node = c_water, _subterrane_floor_decor = level_1_underwater_floor, _subterrane_mitigate_lava = false, -- no need to mitigate lava in a flooded cave, problem is self-solving