From: ShadowNinja Date: Mon, 21 Jul 2014 03:49:38 +0000 (-0400) Subject: Remove mods that aren't strictly required from depends.txt X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=22a4bcf80d46d89c1b08a370ef54b5120a70ba9d;p=zefram%2Fminetest%2Ftechnic.git Remove mods that aren't strictly required from depends.txt --- 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"})