From 467de998b47b683506748a361131d89aa0cee672 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Thu, 12 Jan 2017 14:36:52 +0000 Subject: quick fix for birch and big tree saplings growing on green grass --- sapling.lua | 10 ++++++---- textures/willow_twig_.png | Bin 0 -> 1402 bytes 2 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 textures/willow_twig_.png diff --git a/sapling.lua b/sapling.lua index 293081b..e23bb85 100644 --- a/sapling.lua +++ b/sapling.lua @@ -165,7 +165,8 @@ ethereal.grow_sapling = function (pos, node) ethereal.grow_yellow_tree(pos) elseif node.name == "ethereal:big_tree_sapling" - and under == "ethereal:green_dirt" then + --and under == "ethereal:green_dirt" then + and under == "default:dirt_with_grass" then ethereal.grow_big_tree(pos) elseif node.name == "ethereal:banana_tree_sapling" @@ -202,7 +203,8 @@ ethereal.grow_sapling = function (pos, node) ethereal.grow_bamboo_tree(pos) elseif node.name == "ethereal:birch_sapling" - and under == "ethereal:green_dirt" then + --and under == "ethereal:green_dirt" then + and under == "default:dirt_with_grass" then ethereal.grow_birch_tree(pos) end @@ -212,8 +214,8 @@ end minetest.register_abm({ label = "Ethereal grow sapling", nodenames = {"group:ethereal_sapling"}, - interval = 10, - chance = 50, + interval = 1,--10, + chance = 1,--50, catch_up = false, action = function(pos, node) diff --git a/textures/willow_twig_.png b/textures/willow_twig_.png new file mode 100644 index 0000000..83d489d Binary files /dev/null and b/textures/willow_twig_.png differ -- cgit v1.2.3