New version:
— greatly reduced lag if treecapitator.drop_items isn't used (default)
(I noticed while testing that capitating gets
. . executed more times because the trees are dug with minetest.node_dig up to the tree head)
— trees only become capitated if they have leaves (or fruits)
— the leaves (and fruits) don't get removed if they could belong to a tree next to the dug one
— 2 new settings:
. . . . – the drop of leaves not only as saplings can be allowed
. . . . – the default used tree values can be changed
— adding different trees with the same stem node could work now
— the stem needs to be at least 2 nodes heigh (
Please tell me if I should change this (or add a settingto enable it))
— the trees of the two mods (sumpf and nyanland) are only registered if these mods are installed
before digging:
after digging:
