mirror of
https://git.minetest.land/Mineclonia/Mineclonia.git
synced 2024-11-28 06:22:59 +00:00
Don't turn water into end stone anymore
This commit is contained in:
parent
7a4aeb6625
commit
05e8cc8a2c
2 changed files with 4 additions and 12 deletions
|
@ -1624,7 +1624,7 @@ local function register_dimension_ores()
|
|||
ore = "mcl_end:end_stone",
|
||||
wherein = end_wherein,
|
||||
y_min = mcl_vars.mg_end_min+64,
|
||||
y_max = mcl_vars.mg_end_min+100,
|
||||
y_max = mcl_vars.mg_end_min+80,
|
||||
|
||||
noise_params = {
|
||||
offset = mcl_vars.mg_end_min+70,
|
||||
|
@ -1651,7 +1651,7 @@ local function register_dimension_ores()
|
|||
ore = "mcl_end:end_stone",
|
||||
wherein = end_wherein,
|
||||
y_min = mcl_vars.mg_end_min+64,
|
||||
y_max = mcl_vars.mg_end_min+100,
|
||||
y_max = mcl_vars.mg_end_min+80,
|
||||
|
||||
noise_params = {
|
||||
offset = mcl_vars.mg_end_min+72,
|
||||
|
@ -1677,7 +1677,7 @@ local function register_dimension_ores()
|
|||
ore = "mcl_end:end_stone",
|
||||
wherein = end_wherein,
|
||||
y_min = mcl_vars.mg_end_min+64,
|
||||
y_max = mcl_vars.mg_end_min+100,
|
||||
y_max = mcl_vars.mg_end_min+80,
|
||||
|
||||
noise_params = {
|
||||
offset = mcl_vars.mg_end_min+70,
|
||||
|
|
|
@ -1841,15 +1841,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
|||
local y = nodes[n].y
|
||||
local p_pos = area:index(nodes[n].x, y, nodes[n].z)
|
||||
|
||||
if data[p_pos] == c_water then
|
||||
if y <= mcl_vars.mg_end_min + 104 and y >= mcl_vars.mg_end_min + 40 then
|
||||
data[p_pos] = c_end_stone
|
||||
lvm_used = true
|
||||
else
|
||||
data[p_pos] = c_air
|
||||
lvm_used = true
|
||||
end
|
||||
elseif data[p_pos] == c_stone or data[p_pos] == c_dirt or data[p_pos] == c_sand then
|
||||
if data[p_pos] == c_water or data[p_pos] == c_stone or data[p_pos] == c_dirt or data[p_pos] == c_sand then
|
||||
data[p_pos] = c_air
|
||||
lvm_used = true
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue