From 5384fc792430267c40316b0ab5412e5b99fdde8c Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Fri, 22 Mar 2019 17:38:10 +0000 Subject: [PATCH] added support for minetest 5.0's new saplings --- README.md | 1 + init.lua | 3 +++ 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index 6ad15a9..a23742d 100644 --- a/README.md +++ b/README.md @@ -31,5 +31,6 @@ Changelog: - 0.9 - Added support for farming redo's pea and beetroot crops, checks for place_param - 1.0 - add_deco() now adds to existing item list while set_deco() replaces item list (thanks h-v-smacker) - 1.1 - Added {can_bonemeal=1} group for special nodes +- 1.2 - Added support for minetest 5.0 cactus seedling, blueberry bush sapling and emergent jungle tree saplings. Lucky Blocks: 6 diff --git a/init.lua b/init.lua index 44580f1..8eae908 100644 --- a/init.lua +++ b/init.lua @@ -37,11 +37,14 @@ end local saplings = { {"default:sapling", default.grow_new_apple_tree, "soil"}, {"default:junglesapling", default.grow_new_jungle_tree, "soil"}, + {"default:emergent_jungle_sapling", default.grow_new_emergent_jungle_tree, "soil"}, {"default:acacia_sapling", default.grow_new_acacia_tree, "soil"}, {"default:aspen_sapling", default.grow_new_aspen_tree, "soil"}, {"default:pine_sapling", pine_grow, "soil"}, {"default:bush_sapling", default.grow_bush, "soil"}, {"default:acacia_bush_sapling", default.grow_acacia_bush, "soil"}, + {"default:large_cactus_seedling", default.grow_large_cactus, "sand"}, + {"default:blueberry_bush_sapling", default.grow_blueberry_bush, "soil"}, } -- helper tables ( "" denotes a blank item )