4394beec6a
Integrated into the game is most of minetest_game as the stable base
28 lines
907 B
Lua
28 lines
907 B
Lua
mymillwork = {}
|
|
|
|
print("Loading mymillwork...")
|
|
|
|
dofile(minetest.get_modpath("mymillwork").."/machines.lua")
|
|
dofile(minetest.get_modpath("mymillwork").."/nodes.lua")
|
|
dofile(minetest.get_modpath("mymillwork").."/materials.lua")
|
|
|
|
if minetest.get_modpath("bakedclay") then
|
|
print("[mymillwork] Bakedclay detected")
|
|
dofile(minetest.get_modpath("mymillwork").."/materials_bakedclay.lua")
|
|
end
|
|
|
|
if minetest.get_modpath("ethereal") then
|
|
print("[mymillwork] Ethereal detected")
|
|
dofile(minetest.get_modpath("mymillwork").."/materials_ethereal.lua")
|
|
end
|
|
|
|
if minetest.get_modpath("moreblocks") then
|
|
print("[mymillwork] Moreblocks detected")
|
|
dofile(minetest.get_modpath("mymillwork").."/materials_moreblocks.lua")
|
|
end
|
|
|
|
if minetest.get_modpath("technic_worldgen") then
|
|
print("[mymillwork] Technic Worldgen detected")
|
|
dofile(minetest.get_modpath("mymillwork").."/materials_technic.lua")
|
|
end
|