add a small bit of anti-griefing - the seal breach bell only tolls globally 13 times per activation

This commit is contained in:
FaceDeer
2019-12-01 18:30:29 -07:00
parent 922181bba2
commit e0b3b023b0
2 changed files with 16 additions and 10 deletions

View File

@ -397,7 +397,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
-- puzzle seal
local puzzle_seal = nil
if pit_uninitialized and math.random() < 0.025 then
if pit_uninitialized and math.random() < 0.1 then
local index2d = mapgen_helper.index2d(emin, emax, minp.x + 3, minp.z + 3)
local abs_cave = math.abs(nvals_cave[index2d]) -- range is from 0 to approximately 2, with 0 being connected and 2s being islands
local wave = nvals_wave[index2d] * wave_mult