From c5261fcbcf46064c795951c9bc88657f527e21b5 Mon Sep 17 00:00:00 2001 From: 0siribix Date: Mon, 12 Jul 2021 10:26:44 -0500 Subject: [PATCH] Added Cool Trees grinder recipes --- tubelib_addons1/grinder.lua | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/tubelib_addons1/grinder.lua b/tubelib_addons1/grinder.lua index cc9b750..dcb37a1 100644 --- a/tubelib_addons1/grinder.lua +++ b/tubelib_addons1/grinder.lua @@ -364,6 +364,7 @@ if minetest.get_modpath("underch") then end end +--Ethereal trees if minetest.get_modpath("ethereal") then for k,v in pairs({ ["ethereal:sakura_trunk"] = "ethereal:sakura_leaves 8", @@ -378,3 +379,30 @@ if minetest.get_modpath("ethereal") then ["ethereal:olive_trunk"] = "ethereal:olive_leaves 8"} ) do tubelib.add_grinder_recipe({input=k, output=v}) end end + +-- Cool Trees +for _,v in pairs({ + "baldcypress", + "bamboo", + "birch", + "cherrytree", + "chestnuttree", + "clementinetree", + "ebony", + "hollytree", + "larch", + "lemontree", + "mahogany", + "maple", + "oak", + "palm", + "plumtree", + "pomegranate", + "willow" + }) do + if minetest.get_modpath(v) then tubelib.add_grinder_recipe({input=v .. ":trunk", output=v .. ":leaves 8"}) end +end + +if minetest.get_modpath("jacaranda") then tubelib.add_grinder_recipe({input="jacaranda:trunk", output = "jacaranda:blossom_leaves 8"}) end + +