maybe temporary changes

This commit is contained in:
HybridDog 2014-06-14 16:42:14 +02:00
parent 33357399bd
commit 566f145601

View File

@ -87,7 +87,6 @@ minetest.register_on_generated(function(minp, maxp, seed)
and not (perlin1:get2d({x=x0+((x1-x0)/2), y=z1}) > nosmooth_rarity) --left middle and not (perlin1:get2d({x=x0+((x1-x0)/2), y=z1}) > nosmooth_rarity) --left middle
and not (perlin1:get2d({x=(x1-x0)/2, y=(z1-z0)/2}) > nosmooth_rarity) --middle and not (perlin1:get2d({x=(x1-x0)/2, y=(z1-z0)/2}) > nosmooth_rarity) --middle
and not (perlin1:get2d({x=x0, y=z1+((z1-z0)/2)}) > nosmooth_rarity) then --bottom middle and not (perlin1:get2d({x=x0, y=z1+((z1-z0)/2)}) > nosmooth_rarity) then --bottom middle
print("[riesenpilz] abort")
return return
end end
@ -235,7 +234,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
say_info(string.format("ground generated after: %.2fs", os.clock() - t1)) say_info(string.format("ground generated after: %.2fs", os.clock() - t1))
t1 = os.clock() t1 = os.clock()
end end
for _,v in ipairs(tab) do for _,v in pairs(tab) do
local p = v[2] local p = v[2]
local m = v[1] local m = v[1]
if m == 1 then if m == 1 then