From af7e78500efc36679de3182d9061808fcf4ef6e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Brada?= Date: Mon, 20 Apr 2015 18:07:12 +0200 Subject: [PATCH] Basalt now replaces default:stone downto -48. --- rocks/init.lua | 2 ++ rocks/sed.lua | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/rocks/init.lua b/rocks/init.lua index f05da60..638fea1 100644 --- a/rocks/init.lua +++ b/rocks/init.lua @@ -22,6 +22,8 @@ rocksl.GetNextSeed=function() return rocksl.seedseq end +minetest.clear_registered_ores() + local modpath=minetest.get_modpath(minetest.get_current_modname()) dofile(modpath.."/sed.lua") diff --git a/rocks/sed.lua b/rocks/sed.lua index dab6298..eecf816 100644 --- a/rocks/sed.lua +++ b/rocks/sed.lua @@ -89,7 +89,7 @@ do def.node_stone="rocks:limestone" def.depth_filler=15 end - if (def.node_stone=="default:stone") or (not def.node_stone) then def.node_stone="mapgen_stone" end + if (def.node_stone=="default:stone") or (not def.node_stone) then def.node_stone="rocks:basalt" end -- deactivate the added and removed shore-thing of MGv7 -- to fix weirid sand layers underground if btype=="lowland" then -- fixme: does this affect beach/ocean too?