1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-01-12 11:00:25 +01:00

Moved maximum altitude for lavashrooms' spawn at y=-200

- Solves #66
This commit is contained in:
LeMagnesium 2015-05-28 18:38:17 +02:00
parent b291b1587d
commit 9086fbf240

View File

@ -244,7 +244,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
riesenpilz_circle(c.riesenpilz_red, boden, pr:next(4,5), 3)
elseif pr:next(1,100) == 1 then
riesenpilz_circle(c.riesenpilz_fly_agaric, boden, 4, 3)
elseif pr:next(1,4000) == 1 then
elseif pr:next(1,4000) == 1 and maxp.y <= -200 then
riesenpilz_circle(c.riesenpilz_lavashroom, boden, pr:next(5,6), 3)
elseif pr:next(1,5000) == 1 then
riesenpilz_circle(c.riesenpilz_glowshroom, boden, 3, 3)