summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShadowNinja <shadowninja@minetest.net>2014-07-20 23:49:38 -0400
committerShadowNinja <shadowninja@minetest.net>2014-07-20 23:49:38 -0400
commit22a4bcf80d46d89c1b08a370ef54b5120a70ba9d (patch)
treebb4a1362e77e4c677a9599e46681baf2663d1795
parentdd468c3aaa42478c6873f0a350a7e6e10a817ee9 (diff)
Remove mods that aren't strictly required from depends.txt
-rw-r--r--technic/depends.txt5
-rw-r--r--technic/machines/register/grinder_recipes.lua9
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"})