illuna/init.lua
tchncs c1567b34ee refactor watermechanics
only load water.lua if ethereal is not present
2016-12-02 16:51:56 +01:00

16 lines
613 B
Lua

illuna = {}
dofile(minetest.get_modpath("illuna").."/nodes.lua")
dofile(minetest.get_modpath("illuna").."/crafting.lua")
dofile(minetest.get_modpath("illuna").."/commands.lua")
dofile(minetest.get_modpath("illuna").."/register.lua")
dofile(minetest.get_modpath("illuna").."/aliases.lua")
dofile(minetest.get_modpath("illuna").."/craftitems.lua")
dofile(minetest.get_modpath("illuna").."/shop.lua")
if minetest.get_modpath("moreblocks") then
dofile(minetest.get_modpath("illuna").."/moreblocks.lua")
end
if not minetest.get_modpath("ethereal") then
dofile(minetest.get_modpath("illuna").."/water.lua"
end