mirror of
https://github.com/FaceDeer/dfcaverns.git
synced 2024-12-25 18:30:36 +01:00
slightly less flooding
This commit is contained in:
parent
9669ec9dbf
commit
3c97194831
@ -216,10 +216,10 @@ minetest.register_biome({
|
||||
y_max = subsea_level,
|
||||
heat_point = 50,
|
||||
humidity_point = 100,
|
||||
_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
|
||||
_subterrane_mitigate_lava = true,
|
||||
})
|
||||
|
||||
minetest.register_biome({
|
||||
@ -300,7 +300,7 @@ minetest.register_biome({
|
||||
_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
|
||||
_subterrane_mitigate_lava = true,
|
||||
})
|
||||
|
||||
|
||||
@ -327,7 +327,7 @@ minetest.register_biome({
|
||||
_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
|
||||
_subterrane_mitigate_lava = true,
|
||||
})
|
||||
|
||||
minetest.register_biome({
|
||||
|
@ -264,6 +264,8 @@ local level_2_underwater_floor = function(area, data, ai, vi, bi, param2_data)
|
||||
return
|
||||
end
|
||||
data[bi] = c_dirt
|
||||
if data[vi] == c_air then data[vi] = c_water end
|
||||
if data[ai] == c_air then data[ai] = c_water end
|
||||
end
|
||||
|
||||
local level_2_cave_floor = function(area, data, ai, vi, bi, param2_data)
|
||||
@ -312,7 +314,7 @@ minetest.register_biome({
|
||||
y_max = subsea_level,
|
||||
heat_point = 50,
|
||||
humidity_point = 90,
|
||||
_subterrane_fill_node = c_water,
|
||||
_subterrane_fill_node = c_air,
|
||||
_subterrane_cave_fill_node = c_water,
|
||||
_subterrane_floor_decor = level_2_underwater_floor,
|
||||
_subterrane_mitigate_lava = false,
|
||||
|
@ -104,6 +104,8 @@ local level_3_underwater_floor = function(area, data, ai, vi, bi, param2_data)
|
||||
return
|
||||
end
|
||||
data[bi] = c_dirt
|
||||
if data[vi] == c_air then data[vi] = c_water end
|
||||
if data[ai] == c_air then data[ai] = c_water end
|
||||
end
|
||||
|
||||
local level_3_dry_ceiling = function(area, data, ai, vi, bi, param2_data)
|
||||
@ -322,7 +324,7 @@ minetest.register_biome({
|
||||
y_max = subsea_level,
|
||||
heat_point = 50,
|
||||
humidity_point = 90,
|
||||
_subterrane_fill_node = c_water,
|
||||
_subterrane_fill_node = c_air,
|
||||
_subterrane_cave_fill_node = c_water,
|
||||
_subterrane_floor_decor = level_3_underwater_floor,
|
||||
})
|
||||
|
@ -14,9 +14,6 @@ local c_glow_water = minetest.get_content_id("dfcaverns:glow_water_source")
|
||||
|
||||
-------------------------------------------------------------------------------------------
|
||||
|
||||
minetest.debug(dfcaverns.config.sunless_sea_min)
|
||||
minetest.debug(dfcaverns.config.sunless_sea_level)
|
||||
|
||||
local sunless_sea_underwater_floor = function(area, data, ai, vi, bi, param2_data)
|
||||
if data[bi] ~= c_stone then
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user