forked from mtcontrib/riesenpilz
generate big red mushrooms seldom
This commit is contained in:
parent
f08515b92d
commit
3c239fdd23
@ -250,10 +250,9 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
|||||||
elseif pr:next(1,5000) == 1 then
|
elseif pr:next(1,5000) == 1 then
|
||||||
riesenpilz_circle(c.riesenpilz_glowshroom, boden, 3, 3)
|
riesenpilz_circle(c.riesenpilz_glowshroom, boden, 3, 3)
|
||||||
elseif pr:next(1,6000) == 2 then
|
elseif pr:next(1,6000) == 2 then
|
||||||
local raretype = pr:next(1,200)
|
if pr:next(1,200) == 15 then
|
||||||
if raretype == 15 then
|
|
||||||
bigtype = 4
|
bigtype = 4
|
||||||
elseif raretype == 54 then
|
elseif pr:next(1,2000) == 54 then
|
||||||
bigtype = 6
|
bigtype = 6
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user