mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2025-02-13 11:22:26 +01:00
make geodes less cube shaped (sometimes)
This commit is contained in:
@ -26,7 +26,7 @@ local function makegeode(pos,def,pr)
|
||||
end)
|
||||
if not nn[1] then return end
|
||||
|
||||
for i=1,math.random(#nn) do
|
||||
for i=1,pr:next(1,math.max(2,#nn - math.ceil(#nn/5) )) do
|
||||
set_node_no_bedrock(nn[i],{name="mcl_amethyst:amethyst_block"})
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user