Remove mods that aren't strictly required from depends.txt
authorShadowNinja <shadowninja@minetest.net>
Mon, 21 Jul 2014 03:49:38 +0000 (23:49 -0400)
committerShadowNinja <shadowninja@minetest.net>
Mon, 21 Jul 2014 03:49:38 +0000 (23:49 -0400)
technic/depends.txt
technic/machines/register/grinder_recipes.lua

index 86b75bb5293bc1d4a2b7ef50e3e715df13057668..521391b990ffecc465f0ac51c716fa1e1c973fff 100644 (file)
@@ -1,10 +1,5 @@
 default
-moreores
 pipeworks
-mesecons
-mesecons_button
-mesecons_materials
 mesecons_mvps?
-mesecons_pistons
 intllib?
 unified_inventory?
index a791cbbf9c0d6c1b25519112aa84bda70f5c2ca9..4426f5c692b2377d4b077e42d4207782a3dfd8a6 100644 (file)
@@ -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"})