mirror of
https://github.com/FaceDeer/dfcaverns.git
synced 2024-11-13 22:20:28 +01:00
dial back the flooding on level 1 a smidge
This commit is contained in:
parent
a9e6958a78
commit
6afaaf6173
|
@ -161,6 +161,12 @@ local level_1_underwater_floor = function(area, data, ai, vi, bi, param2_data)
|
||||||
else
|
else
|
||||||
data[bi] = c_dirt
|
data[bi] = c_dirt
|
||||||
end
|
end
|
||||||
|
if data[vi] == c_air then
|
||||||
|
data[vi] = c_water
|
||||||
|
end
|
||||||
|
if data[ai] == c_air then
|
||||||
|
data[ai] = c_water
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
@ -291,7 +297,7 @@ minetest.register_biome({
|
||||||
y_max = dfcaverns.config.ymax,
|
y_max = dfcaverns.config.ymax,
|
||||||
heat_point = 20,
|
heat_point = 20,
|
||||||
humidity_point = 80,
|
humidity_point = 80,
|
||||||
_subterrane_fill_node = c_water,
|
_subterrane_fill_node = c_air,
|
||||||
_subterrane_cave_fill_node = c_water,
|
_subterrane_cave_fill_node = c_water,
|
||||||
_subterrane_floor_decor = level_1_underwater_floor,
|
_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 = 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,
|
y_max = subsea_level,
|
||||||
heat_point = 80,
|
heat_point = 80,
|
||||||
humidity_point = 80,
|
humidity_point = 80,
|
||||||
_subterrane_fill_node = c_water,
|
_subterrane_fill_node = c_air,
|
||||||
_subterrane_cave_fill_node = c_water,
|
_subterrane_cave_fill_node = c_water,
|
||||||
_subterrane_floor_decor = level_1_underwater_floor,
|
_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 = false, -- no need to mitigate lava in a flooded cave, problem is self-solving
|
||||||
|
|
Loading…
Reference in New Issue
Block a user