summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--technic/machines/LV/cnc_nodes.lua8
-rw-r--r--technic/tools/chainsaw.lua8
2 files changed, 16 insertions, 0 deletions
diff --git a/technic/machines/LV/cnc_nodes.lua b/technic/machines/LV/cnc_nodes.lua
index 6463c62..d17ceab 100644
--- a/technic/machines/LV/cnc_nodes.lua
+++ b/technic/machines/LV/cnc_nodes.lua
@@ -386,3 +386,11 @@ if minetest.get_modpath("moreblocks") then
S("Grey Clay"))
end
+
+
+if minetest.get_modpath("maple") then
+ technic.cnc.register_all("maple:maple_wood",
+ {snappy=2, choppy=2, oddly_breakable_by_hand=2, not_in_creative_inventory=1},
+ {"maple_wood.png"},
+ S("Maple"))
+end \ No newline at end of file
diff --git a/technic/tools/chainsaw.lua b/technic/tools/chainsaw.lua
index eb33b9a..3928c56 100644
--- a/technic/tools/chainsaw.lua
+++ b/technic/tools/chainsaw.lua
@@ -155,6 +155,14 @@ if minetest.get_modpath("ethereal") then
end
end
+-- 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
+
-- Support farming_plus
if minetest.get_modpath("farming_plus") then
if chainsaw_leaves then