tombs/init.lua

18 lines
657 B
Lua
Raw Normal View History

2018-11-03 15:18:56 -07:00
tombs = {}
2018-12-01 14:40:43 -08:00
tombs.nodes = {}
tombs.recipes = {}
2018-11-03 20:44:07 -07:00
--break the file up to make it easier to maintain.
dofile(minetest.get_modpath('tombs')..'/machine.lua')
dofile(minetest.get_modpath('tombs')..'/collision_boxes.lua')
dofile(minetest.get_modpath('tombs')..'/gravestones.lua')
dofile(minetest.get_modpath('tombs')..'/formspec.lua')
2018-12-12 07:20:27 -08:00
--support for other mods
2018-12-19 06:22:43 -08:00
if minetest.get_modpath('default') and (minetest.settings:get_bool('tombs.load_default')) then
2018-12-12 07:20:27 -08:00
dofile(minetest.get_modpath('tombs')..'/default.lua')
end
2018-12-19 06:22:43 -08:00
if minetest.get_modpath('wool') and (minetest.settings:get_bool('tombs.load_wool')) then
2018-12-12 07:20:27 -08:00
dofile(minetest.get_modpath('tombs')..'/wool.lua')
end