summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-04-13 20:27:19 -0400
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-04-13 20:27:19 -0400
commit69feeef0afc0d66dd8809481c434ba0afa33600e (patch)
tree21531d853739c7d8c8e696bc43b4ba4f85b4e572
parentfc2f6d897680e1da4e5adf6f3345e142db83a3ca (diff)
use clear_craft to remove default sandstone recipe
get rid of the two grinder recipes from homedecor/fake_fire (obsolete)
-rw-r--r--technic/machines/register/compressor_recipes.lua6
-rw-r--r--technic/machines/register/grinder_recipes.lua6
2 files changed, 3 insertions, 9 deletions
diff --git a/technic/machines/register/compressor_recipes.lua b/technic/machines/register/compressor_recipes.lua
index 872be04..a625f1a 100644
--- a/technic/machines/register/compressor_recipes.lua
+++ b/technic/machines/register/compressor_recipes.lua
@@ -20,11 +20,11 @@ local recipes = {
}
-- defuse the default sandstone recipe, since we have the compressor to take over in a more realistic manner
-minetest.register_craft({
- output = "default:sand 0",
+minetest.clear_craft({
+ output = "default:sandstone",
recipe = {
{'group:sand', 'group:sand'},
- {'group:sand', 'group:sand'}
+ {'group:sand', 'group:sand'}
},
})
diff --git a/technic/machines/register/grinder_recipes.lua b/technic/machines/register/grinder_recipes.lua
index 64eb8e1..fa55e7a 100644
--- a/technic/machines/register/grinder_recipes.lua
+++ b/technic/machines/register/grinder_recipes.lua
@@ -62,12 +62,6 @@ 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 0', recipe={{'default:cobble'}}})
- minetest.register_craft({ output='default:gravel 0', recipe={{'default:gravel'}}})
-end
-
-- dusts
local function register_dust(name, ingot)
local lname = string.lower(name)