mirror of
https://github.com/minetest-mods/mesecons.git
synced 2025-06-28 13:56:02 +02:00
30 lines
934 B
Lua
30 lines
934 B
Lua
mesecon.node_sound = {}
|
|
|
|
mesecon.sound_name = {}
|
|
|
|
mesecon.texture = {}
|
|
|
|
mesecon.dye_colors = {
|
|
"red", "green", "blue", "grey", "dark_grey", "yellow",
|
|
"orange", "white", "pink", "magenta", "cyan", "violet",
|
|
}
|
|
|
|
if minetest.get_modpath("default") then
|
|
minetest.log("info", "Mesecons: detected Minetest Game for game compatibility")
|
|
dofile(minetest.get_modpath("mesecons_gamecompat").."/compat_mtg.lua")
|
|
end
|
|
|
|
if minetest.get_modpath("mcl_redstone") then
|
|
minetest.log("info", "Mesecons: detected MineClonia Game for game compatibility")
|
|
dofile(minetest.get_modpath("mesecons_gamecompat").."/compat_mcla.lua")
|
|
end
|
|
|
|
if minetest.get_modpath("hades_core") then
|
|
minetest.log("info", "Mesecons: detected Hades Revisited Game for game compatibility")
|
|
dofile(minetest.get_modpath("mesecons_gamecompat").."/compat_hades.lua")
|
|
end
|
|
|
|
if minetest.get_modpath("doors") then
|
|
dofile(minetest.get_modpath("mesecons_gamecompat").."/doors.lua")
|
|
end
|