diff options
author | h-v-smacker <hans-von-smacker+github@gmail.com> | 2018-04-30 23:31:46 +0300 |
---|---|---|
committer | h-v-smacker <hans-von-smacker+github@gmail.com> | 2018-04-30 23:31:46 +0300 |
commit | d0acc8a8caafe549bb1513cf6be53c0b4b204fa7 (patch) | |
tree | c677f2eb629b313eb2657b43f92eb950d5d08b9a | |
parent | 2bfca67eeb1258b83fd096129f1bb2f5f023ca26 (diff) |
maple support
-rw-r--r-- | technic/machines/LV/cnc_nodes.lua | 8 | ||||
-rw-r--r-- | technic/tools/chainsaw.lua | 8 |
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 |