From 78eeb55cf6f29c074147836e8021c154b52e2a05 Mon Sep 17 00:00:00 2001 From: h-v-smacker Date: Mon, 30 Apr 2018 23:31:23 +0300 Subject: instructions for chainsaw support --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index cd2b1d8..dd872ec 100644 --- a/README.md +++ b/README.md @@ -19,4 +19,18 @@ if minetest.get_modpath("maple") then {"maple:maple_sapling", maple.grow_sapling, "soil"}, }) end +``` + +## Technic chainsaw + +Add this to technic/technic/tools/chainsaw.lua to enable support for maple trees for the chainsaw tool: + +``` +-- Support maple +if minetest.get_modpath("maple") then + timber_nodenames["maple:maple_tree"] = true + if chainsaw_leaves then + timber_nodenames["maple:maple_leaves"] = true + end +end ``` \ No newline at end of file -- cgit v1.2.3