mirror of
				https://github.com/minetest-mods/mesecons.git
				synced 2025-11-04 04:55:26 +01:00 
			
		
		
		
	mesecons_gamecompat: Add redstone <--> mesecon wire crafting recipes
This commit is contained in:
		@@ -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"}}
 | 
			
		||||
})
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user