mirror of
https://github.com/FaceDeer/dfcaverns.git
synced 2025-07-11 21:00:31 +02:00
fix puzzle seal formspec for mcl
This commit is contained in:
@ -333,6 +333,14 @@ minetest.register_chatcommand("find_pit", {
|
||||
end,
|
||||
})
|
||||
|
||||
df_caverns.register_biome_check(function(pos, heat, humidity)
|
||||
if pos.y > y_max or pos.y < y_min then
|
||||
return
|
||||
end
|
||||
-- TODO: account for perlin noise
|
||||
return "underworld"
|
||||
end)
|
||||
|
||||
minetest.register_on_generated(function(minp, maxp, seed)
|
||||
|
||||
--if out of range of cave definition limits, abort
|
||||
|
Reference in New Issue
Block a user