2024-04-17 21:08:44 +00:00
|
|
|
local modpath = minetest.get_modpath(minetest.get_current_modname())
|
|
|
|
|
|
|
|
local function load(name)
|
|
|
|
dofile(modpath.."/lua/"..name..".lua")
|
|
|
|
end
|
|
|
|
|
|
|
|
-- Global variable that can be used by other mods
|
|
|
|
-- Please see API.md for reference
|
|
|
|
noordstar_caves = {}
|
|
|
|
|
|
|
|
-- Load features to influence cave shapes
|
|
|
|
load("shape")
|
2024-04-18 08:49:45 +00:00
|
|
|
|
|
|
|
-- Start engine to generate caves
|
|
|
|
load("engine")
|
|
|
|
|
|
|
|
|
|
|
|
-- For show, the following code COULD in theory be run elsewhere
|