forked from minetest-mods/mesecons
		
	mesecons_gamecompat: Add redstone <--> mesecon wire crafting recipes
This commit is contained in:
		| @@ -41,3 +41,12 @@ end | |||||||
| -- Textures | -- Textures | ||||||
| 
 | 
 | ||||||
| mesecon.texture.steel_block = "default_steel_block.png" | 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"}} | ||||||
|  | }) | ||||||
| @@ -14,9 +14,9 @@ if minetest.get_modpath("default") then | |||||||
| 	dofile(minetest.get_modpath("mesecons_gamecompat").."/compat_mtg.lua") | 	dofile(minetest.get_modpath("mesecons_gamecompat").."/compat_mtg.lua") | ||||||
| end | 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") | 	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 | end | ||||||
|  |  | ||||||
| if minetest.get_modpath("doors") then | if minetest.get_modpath("doors") then | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user