use clear_craft to remove default sandstone recipe

get rid of the two grinder recipes from homedecor/fake_fire (obsolete)
This commit is contained in:
Vanessa Ezekowitz 2017-04-13 20:27:19 -04:00
parent fc2f6d8976
commit 69feeef0af
2 changed files with 3 additions and 9 deletions

View File

@ -20,11 +20,11 @@ local recipes = {
} }
-- defuse the default sandstone recipe, since we have the compressor to take over in a more realistic manner -- defuse the default sandstone recipe, since we have the compressor to take over in a more realistic manner
minetest.register_craft({ minetest.clear_craft({
output = "default:sand 0", output = "default:sandstone",
recipe = { recipe = {
{'group:sand', 'group:sand'}, {'group:sand', 'group:sand'},
{'group:sand', 'group:sand'} {'group:sand', 'group:sand'}
}, },
}) })

View File

@ -62,12 +62,6 @@ for _, data in pairs(recipes) do
technic.register_grinder_recipe({input = {data[1]}, output = data[2]}) technic.register_grinder_recipe({input = {data[1]}, output = data[2]})
end end
-- defuse common grinder unfriendly recipes
if minetest.get_modpath("fake_fire") then -- from homedecor_modpack
minetest.register_craft({ output='default:cobble 0', recipe={{'default:cobble'}}})
minetest.register_craft({ output='default:gravel 0', recipe={{'default:gravel'}}})
end
-- dusts -- dusts
local function register_dust(name, ingot) local function register_dust(name, ingot)
local lname = string.lower(name) local lname = string.lower(name)