mirror of
https://github.com/FaceDeer/dfcaverns.git
synced 2025-06-28 14:36:20 +02:00
Pit caves (#20)
* A simple pit cave mod, based off of code from the volcano pipes in my magma_conduits mod * option to seal off ocean pits * reuse chasm's ignore list * documentation * rename findpits to prevent confusion with underworld glowing pits
This commit is contained in:
@ -9,6 +9,10 @@ chasms.register_ignore = function(node_name)
|
||||
ignore[minetest.get_content_id(node_name)] = true
|
||||
end
|
||||
|
||||
chasms.ignore_content_id = function(content_id)
|
||||
return ignore[content_id]
|
||||
end
|
||||
|
||||
local maxy = tonumber(minetest.settings:get("chasms_maxy")) or -50
|
||||
local miny = tonumber(minetest.settings:get("chasms_miny")) or -2500
|
||||
local falloff = tonumber(minetest.settings:get("chasms_falloff")) or 100
|
||||
|
Reference in New Issue
Block a user