mesecons_gamecompat: Add redstone <--> mesecon wire crafting recipes

This commit is contained in:
blut 2025-02-03 14:17:15 +01:00 committed by SmallJoker
parent 786094ec06
commit 93751a9014
2 changed files with 11 additions and 2 deletions

View File

@ -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"}}
})

View File

@ -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