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 ##
|
||||
-- ##############
|
||||
-- (Resolve aliases to avoid bug with cooking/fuel recipes.)
|
||||
|
||||
if minetest.registered_aliases["mesecons_gamecompat:mese_crystal_fragment"] then
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "mesecons:wire_00000000_off 2",
|
||||
recipe = "mesecons_gamecompat:mese_crystal_fragment",
|
||||
recipe = minetest.registered_aliases["mesecons_gamecompat:mese_crystal_fragment"],
|
||||
cooktime = 3,
|
||||
})
|
||||
end
|
||||
|
||||
if minetest.registered_aliases["mesecons_gamecompat:mese_crystal"] then
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "mesecons:wire_00000000_off 18",
|
||||
recipe = "mesecons_gamecompat:mese_crystal",
|
||||
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 = "mesecons_gamecompat:mese",
|
||||
recipe = minetest.registered_aliases["mesecons_gamecompat:mese"],
|
||||
cooktime = 30,
|
||||
})
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user