mirror of
https://github.com/FaceDeer/dfcaverns.git
synced 2025-06-28 14:36:20 +02:00
turn underwater pillars/stalagmites in the Sunless Sea into cave coral
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user