mirror of
https://github.com/minetest-mods/technic.git
synced 2025-08-16 14:20:33 +02:00
add trunks: mod support to the chainsaw
This commit is contained in:
@ -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)
|
||||||
|
Reference in New Issue
Block a user