mirror of
https://github.com/minetest-mods/technic.git
synced 2024-09-12 08:18:30 +02: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
|
||||||
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
|
local S = technic.getter
|
||||||
|
|
||||||
technic.register_power_tool("technic:chainsaw", chainsaw_max_charge)
|
technic.register_power_tool("technic:chainsaw", chainsaw_max_charge)
|
||||||
|
Loading…
Reference in New Issue
Block a user