summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorh-v-smacker <hans-von-smacker+github@gmail.com>2018-09-18 05:05:51 +0300
committerh-v-smacker <hans-von-smacker+github@gmail.com>2018-09-18 05:05:51 +0300
commit3a58629cdddf2de6a8aae37da9c1cc13644edd8e (patch)
treecca6508881a99cec36dca8f8c3636e82159490c7
parent55437f8c31a4015f1d2d6275ac4a4dc5f85a93e4 (diff)
more thresher functions
-rw-r--r--technic/machines/register/thresher_recipes.lua18
1 files changed, 18 insertions, 0 deletions
diff --git a/technic/machines/register/thresher_recipes.lua b/technic/machines/register/thresher_recipes.lua
index 3b43766..bbab3f1 100644
--- a/technic/machines/register/thresher_recipes.lua
+++ b/technic/machines/register/thresher_recipes.lua
@@ -42,6 +42,24 @@ if minetest.get_modpath("farming") then
end
end
+if minetest.get_modpath("farming") and farming.mod and farming.mod == "redo" then
+ -- farming redo uses recipes unfriendly with respect to automation. E.g. using the cutting board.
+ -- in the end, it's hard to automate a farm, since crops have to be processed individually.
+ -- here, we use the thresher to provide a universal device to deal with those
+ table.insert(recipes, { input = "farming:pumpkin_8",
+ output = {"farming:pumpkin_slice 5"} })
+-- table.insert(recipes, { input = "farming:pumpkin",
+-- output = {"farming:pumpkin_slice 5"} })
+ table.insert(recipes, { input = "farming:melon_8",
+ output = {"farming:melon_slice 5"} })
+ table.insert(recipes, { input = "farming:pineapple",
+ output = {"farming:pineapple_ring 6", "farming:pineapple_top"} })
+ table.insert(recipes, { input = "farming:garlic",
+ output = {"farming:garlic_clove 10"} })
+ table.insert(recipes, { input = "farming:pepper",
+ output = {"farming:peppercorn 2"} })
+end
+
-- using thresher as a sorting machine for grass seeds
table.insert(recipes, { input = "default:grass_1 99",
output = {"default:dry_grass_1 80", "default:dry_shrub 7", "default:junglegrass 12"},