From 22a4bcf80d46d89c1b08a370ef54b5120a70ba9d Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Sun, 20 Jul 2014 23:49:38 -0400 Subject: [PATCH] Remove mods that aren't strictly required from depends.txt --- technic/depends.txt | 5 ----- technic/machines/register/grinder_recipes.lua | 9 ++++++--- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/technic/depends.txt b/technic/depends.txt index 86b75bb..521391b 100644 --- a/technic/depends.txt +++ b/technic/depends.txt @@ -1,10 +1,5 @@ default -moreores pipeworks -mesecons -mesecons_button -mesecons_materials mesecons_mvps? -mesecons_pistons intllib? unified_inventory? diff --git a/technic/machines/register/grinder_recipes.lua b/technic/machines/register/grinder_recipes.lua index a791cbb..4426f5c 100644 --- a/technic/machines/register/grinder_recipes.lua +++ b/technic/machines/register/grinder_recipes.lua @@ -15,9 +15,6 @@ local recipes = { {"default:desert_stone", "default:desert_sand"}, {"default:gold_lump", "technic:gold_dust 2"}, {"default:iron_lump", "technic:wrought_iron_dust 2"}, - {"moreores:mithril_lump", "technic:mithril_dust 2"}, - {"moreores:silver_lump", "technic:silver_dust 2"}, - {"moreores:tin_lump", "technic:tin_dust 2"}, {"technic:chromium_lump", "technic:chromium_dust 2"}, {"technic:zinc_lump", "technic:zinc_dust 2"}, @@ -27,6 +24,12 @@ local recipes = { {"default:stone", "default:sand"}, } +if minetest.get_modpath("moreores") then + table.insert(recipes, {"moreores:mithril_lump", "technic:mithril_dust 2"}) + table.insert(recipes, {"moreores:silver_lump", "technic:silver_dust 2"}) + table.insert(recipes, {"moreores:tin_lump", "technic:tin_dust 2"}) +end + if minetest.get_modpath("gloopores") or minetest.get_modpath("glooptest") then table.insert(recipes, {"gloopores:alatro_lump", "technic:alatro_dust 2"}) table.insert(recipes, {"gloopores:kalite_lump", "technic:kalite_dust 2"})