summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorh-v-smacker <hans-von-smacker+github@gmail.com>2018-03-04 01:07:19 +0300
committerh-v-smacker <hans-von-smacker+github@gmail.com>2018-03-04 01:07:19 +0300
commitef436a75a7a0e293bd71f7305b7e7aba8edcad6c (patch)
tree5d39b0a7b97b846e5c6cec76e94628225776c346
parent7216f9064a4f8ec1f5ca6cbee8c63b4e11fa5343 (diff)
sorting grass
-rw-r--r--technic/machines/register/centrifuge_recipes.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/technic/machines/register/centrifuge_recipes.lua b/technic/machines/register/centrifuge_recipes.lua
index 6b887fa..fb16d0c 100644
--- a/technic/machines/register/centrifuge_recipes.lua
+++ b/technic/machines/register/centrifuge_recipes.lua
@@ -43,6 +43,14 @@ if minetest.get_modpath("farming") then
end
end
+-- using centfuge as a sorting machine for grass seeds
+table.insert(recipes, { "default:grass_1 99", "default:dry_grass_1 80", "default:dry_shrub 7", "default:junglegrass 12" })
+if minetest.get_modpath("ethereal") then
+ table.insert(recipes, { "default:junglegrass 99", "ethereal:dry_shrub 10", "ethereal:crystalgrass 5", "ethereal:snowygrass 5" })
+ table.insert(recipes, { "default:dry_grass_1 99", "ethereal:fern 5" })
+end
+
+
for _, data in pairs(recipes) do
technic.register_separating_recipe({ input = { data[1] }, output = { data[2], data[3], data[4] } })
end