diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2017-01-12 14:36:52 +0000 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2017-01-12 14:36:52 +0000 |
commit | 467de998b47b683506748a361131d89aa0cee672 (patch) | |
tree | 101b54ba5547e056b5d58e6a7cb3b2f16964cb31 | |
parent | 85256ab9b65ab131569d7a5c92eea6f406f99004 (diff) |
quick fix for birch and big tree saplings growing on green grass
-rw-r--r-- | sapling.lua | 10 | ||||
-rw-r--r-- | textures/willow_twig_.png | bin | 0 -> 1402 bytes |
2 files changed, 6 insertions, 4 deletions
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 Binary files differnew file mode 100644 index 0000000..83d489d --- /dev/null +++ b/textures/willow_twig_.png |