Skip to content

Commit 93751a9

Browse files
blutSmallJoker
authored andcommitted
mesecons_gamecompat: Add redstone <--> mesecon wire crafting recipes
1 parent 786094e commit 93751a9

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

mesecons_gamecompat/compat_mcl.lua renamed to mesecons_gamecompat/compat_mcla.lua

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,12 @@ end
4141
-- Textures
4242

4343
mesecon.texture.steel_block = "default_steel_block.png"
44+
45+
core.register_craft({
46+
output = "mesecons:wire_00000000_off",
47+
recipe = {{"mcl_redstone:redstone"}}
48+
})
49+
core.register_craft({
50+
output = "mcl_redstone:redstone",
51+
recipe = {{"mesecons:wire_00000000_off"}}
52+
})

mesecons_gamecompat/init.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ if minetest.get_modpath("default") then
1414
dofile(minetest.get_modpath("mesecons_gamecompat").."/compat_mtg.lua")
1515
end
1616

17-
if minetest.get_modpath("mcl_core") then
17+
if minetest.get_modpath("mcl_redstone") then
1818
minetest.log("info", "Mesecons: detected MineClonia Game for game compatibility")
19-
dofile(minetest.get_modpath("mesecons_gamecompat").."/compat_mcl.lua")
19+
dofile(minetest.get_modpath("mesecons_gamecompat").."/compat_mcla.lua")
2020
end
2121

2222
if minetest.get_modpath("doors") then

0 commit comments

Comments
 (0)