Update old default:furnace stuff

This commit is contained in:
Wuzzy 2017-01-27 12:44:05 +01:00
parent 191b09f62a
commit 8ee0184a1d
3 changed files with 13 additions and 12 deletions

View File

@ -450,15 +450,6 @@ minetest.register_craft({
} }
}) })
minetest.register_craft({
output = 'default:furnace',
recipe = {
{'default:cobble', 'default:cobble', 'default:cobble'},
{'default:cobble', '', 'default:cobble'},
{'default:cobble', 'default:cobble', 'default:cobble'},
}
})
minetest.register_craft({ minetest.register_craft({
output = 'default:haybale', output = 'default:haybale',
recipe = { recipe = {

View File

@ -248,3 +248,13 @@ minetest.register_abm({
inv:set_stack("fuel", 1, afterfuel.items[1]) inv:set_stack("fuel", 1, afterfuel.items[1])
end, end,
}) })
minetest.register_craft({
output = 'mcl_furnaces:furnace',
recipe = {
{'default:cobble', 'default:cobble', 'default:cobble'},
{'default:cobble', '', 'default:cobble'},
{'default:cobble', 'default:cobble', 'default:cobble'},
}
})

View File

@ -269,7 +269,7 @@ minetest.register_abm({
end end
end end
--print(inv) --print(inv)
elseif a == "default:furnace" or a == "default:furnace_active" then elseif a == "mcl_furnaces:furnace" or a == "mcl_furnaces:furnace_active" then
--print("test") --print("test")
--room_for_item(listname, stack) --room_for_item(listname, stack)
--mcl_hoppers inventory --mcl_hoppers inventory
@ -369,7 +369,7 @@ minetest.register_abm({
end end
end end
end end
if b == "default:furnace" or b == "default:furnace_active" then if b == "mcl_furnaces:furnace" or b == "mcl_furnaces:furnace_active" then
--mcl_hoppers inventory --mcl_hoppers inventory
local meta = minetest.get_meta(pos); local meta = minetest.get_meta(pos);
local inv = meta:get_inventory() local inv = meta:get_inventory()
@ -437,7 +437,7 @@ minetest.register_abm({
end end
end end
--print(inv) --print(inv)
elseif a == "default:furnace" or a == "default:furnace_active" then elseif a == "mcl_furnaces:furnace" or a == "mcl_furnaces:furnace_active" then
--print("test") --print("test")
--room_for_item(listname, stack) --room_for_item(listname, stack)
--mcl_hoppers inventory --mcl_hoppers inventory