defuse by fake_fire added recipes, make people use the grinder for those

This commit is contained in:
Tim 2015-01-21 05:35:48 +01:00
parent 9d3f7304fb
commit 3cc568ddbd

View File

@ -51,6 +51,13 @@ 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', recipe={{'default:cobble'}}})
minetest.register_craft({ output='default:gravel', recipe={{'default:gravel'}}})
end
-- dusts
local function register_dust(name, ingot) local function register_dust(name, ingot)
local lname = string.lower(name) local lname = string.lower(name)
lname = string.gsub(lname, ' ', '_') lname = string.gsub(lname, ' ', '_')