forked from Mirrorlandia_minetest/mesecons
Fix mesecon cooking recipes
This commit is contained in:
parent
960b7c4915
commit
27c3c515b4
@ -229,23 +229,31 @@ register_wires()
|
|||||||
-- ##############
|
-- ##############
|
||||||
-- ## Crafting ##
|
-- ## Crafting ##
|
||||||
-- ##############
|
-- ##############
|
||||||
minetest.register_craft({
|
-- (Resolve aliases to avoid bug with cooking/fuel recipes.)
|
||||||
type = "cooking",
|
|
||||||
output = "mesecons:wire_00000000_off 2",
|
|
||||||
recipe = "mesecons_gamecompat:mese_crystal_fragment",
|
|
||||||
cooktime = 3,
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
if minetest.registered_aliases["mesecons_gamecompat:mese_crystal_fragment"] then
|
||||||
type = "cooking",
|
minetest.register_craft({
|
||||||
output = "mesecons:wire_00000000_off 18",
|
type = "cooking",
|
||||||
recipe = "mesecons_gamecompat:mese_crystal",
|
output = "mesecons:wire_00000000_off 2",
|
||||||
cooktime = 15,
|
recipe = minetest.registered_aliases["mesecons_gamecompat:mese_crystal_fragment"],
|
||||||
})
|
cooktime = 3,
|
||||||
|
})
|
||||||
|
end
|
||||||
|
|
||||||
minetest.register_craft({
|
if minetest.registered_aliases["mesecons_gamecompat:mese_crystal"] then
|
||||||
type = "cooking",
|
minetest.register_craft({
|
||||||
output = "mesecons:wire_00000000_off 162",
|
type = "cooking",
|
||||||
recipe = "mesecons_gamecompat:mese",
|
output = "mesecons:wire_00000000_off 18",
|
||||||
cooktime = 30,
|
recipe = minetest.registered_aliases["mesecons_gamecompat:mese_crystal"],
|
||||||
})
|
cooktime = 15,
|
||||||
|
})
|
||||||
|
end
|
||||||
|
|
||||||
|
if minetest.registered_aliases["mesecons_gamecompat:mese"] then
|
||||||
|
minetest.register_craft({
|
||||||
|
type = "cooking",
|
||||||
|
output = "mesecons:wire_00000000_off 162",
|
||||||
|
recipe = minetest.registered_aliases["mesecons_gamecompat:mese"],
|
||||||
|
cooktime = 30,
|
||||||
|
})
|
||||||
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user