summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorh-v-smacker <hans-von-smacker+github@gmail.com>2018-04-30 19:04:57 +0300
committerh-v-smacker <hans-von-smacker+github@gmail.com>2018-04-30 19:04:57 +0300
commitd16f5b00fe7ff7ff938dedc83f4f1cd8286cbd7d (patch)
tree70552e0555c87161b906c110cb8a269b6ab09c3c /init.lua
parent001fe95fca1e3047f21d7418fa7e8456f840a25a (diff)
bonemeal integration
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index 76c814c..93a9cf4 100644
--- a/init.lua
+++ b/init.lua
@@ -147,3 +147,11 @@ minetest.register_craft({
recipe = "maple:fence_maple_wood",
burntime = 8,
})
+
+
+-- integration with bonemeal
+if minetest.get_modpath("bonemeal") then
+ bonemeal:add_sapling({
+ {"maple:maple_sapling", maple.grow_sapling, "soil"},
+ })
+end \ No newline at end of file