turn underwater pillars/stalagmites in the Sunless Sea into cave coral

This commit is contained in:
FaceDeer
2019-08-01 23:07:15 -06:00
parent 161719eb4d
commit 5e113ec200
4 changed files with 19 additions and 8 deletions

View File

@ -173,7 +173,7 @@ minetest.register_craft({
-- This ensures consistent random maximum to bloodthorn growth
local max_bloodthorn_height = function(pos)
local next_seed = math.random(1, 2^31)
local next_seed = math.floor(math.random() * 2^31)
math.randomseed(pos.x + pos.z * 2 ^ 8)
local output = math.random(3,6)
math.randomseed(next_seed)