summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim <t4im@users.noreply.github.com>2015-01-21 05:35:48 +0100
committerTim <t4im@users.noreply.github.com>2015-01-30 05:09:21 +0100
commit3cc568ddbdd265f5dc67bb3a5b4a8f1286bb294e (patch)
treeb6a5c56b9d3beb82960d9669275a7a826865932f
parent9d3f7304fb1bde462a82a7f338c1d5064a396f41 (diff)
defuse by fake_fire added recipes, make people use the grinder for those
-rw-r--r--technic/machines/register/grinder_recipes.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/technic/machines/register/grinder_recipes.lua b/technic/machines/register/grinder_recipes.lua
index 7fd51e9..f5b6d0c 100644
--- a/technic/machines/register/grinder_recipes.lua
+++ b/technic/machines/register/grinder_recipes.lua
@@ -51,6 +51,13 @@ for _, data in pairs(recipes) do
technic.register_grinder_recipe({input = {data[1]}, output = data[2]})
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 lname = string.lower(name)
lname = string.gsub(lname, ' ', '_')