ns_cavegen/init.lua

19 lines
424 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")
-- Start engine to generate caves
load("engine")
-- For show, the following code COULD in theory be run elsewhere