noordstar_caves/init.lua

22 lines
481 B
Lua

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")
-- Load features to influence cave biomes
load("biome")
-- Start engine to generate caves
load("engine")
-- For show, the following code COULD in theory be run elsewhere