mirror of
https://github.com/minetest-mods/technic.git
synced 2024-12-24 09:50:31 +01:00
add trunks: mod support to the chainsaw
This commit is contained in:
parent
a13e7b7ed1
commit
72d541a607
@ -148,6 +148,14 @@ if minetest.get_modpath("vines") then
|
||||
end
|
||||
end
|
||||
|
||||
if minetest.get_modpath("trunks") then
|
||||
if chainsaw_leaves then
|
||||
timber_nodenames["trunks:moss"] = true
|
||||
timber_nodenames["trunks:moss_fungus"] = true
|
||||
timber_nodenames["trunks:treeroot"] = true
|
||||
end
|
||||
end
|
||||
|
||||
local S = technic.getter
|
||||
|
||||
technic.register_power_tool("technic:chainsaw", chainsaw_max_charge)
|
||||
|
Loading…
Reference in New Issue
Block a user