diff --git a/mesecons_gamecompat/compat_mcl.lua b/mesecons_gamecompat/compat_mcla.lua similarity index 90% rename from mesecons_gamecompat/compat_mcl.lua rename to mesecons_gamecompat/compat_mcla.lua index 10e1a8a..0d1b315 100644 --- a/mesecons_gamecompat/compat_mcl.lua +++ b/mesecons_gamecompat/compat_mcla.lua @@ -41,3 +41,12 @@ end -- Textures mesecon.texture.steel_block = "default_steel_block.png" + +core.register_craft({ + output = "mesecons:wire_00000000_off", + recipe = {{"mcl_redstone:redstone"}} +}) +core.register_craft({ + output = "mcl_redstone:redstone", + recipe = {{"mesecons:wire_00000000_off"}} +}) diff --git a/mesecons_gamecompat/init.lua b/mesecons_gamecompat/init.lua index 2af155d..c8734ba 100644 --- a/mesecons_gamecompat/init.lua +++ b/mesecons_gamecompat/init.lua @@ -14,9 +14,9 @@ if minetest.get_modpath("default") then dofile(minetest.get_modpath("mesecons_gamecompat").."/compat_mtg.lua") end -if minetest.get_modpath("mcl_core") then +if minetest.get_modpath("mcl_redstone") then minetest.log("info", "Mesecons: detected MineClonia Game for game compatibility") - dofile(minetest.get_modpath("mesecons_gamecompat").."/compat_mcl.lua") + dofile(minetest.get_modpath("mesecons_gamecompat").."/compat_mcla.lua") end if minetest.get_modpath("doors") then