I started with a basic idea, make this script (mod) work with big and deformed trees... I have some of this in my game after many tests of many mods. The basic idea of the original timber mod is start a massive drop of the entire tree beginning in the first cut point and going up cutting off each found nod of the same type.

What I made here?

1) The original process still here.

2) I added two levels for the cutter script, the first one cut every node of the same type of the first one going up in a line.

3) ...the second level search for a node from the same starter type a 2 nodes from the current last cut point.

Symbolic tree:

- Code: Select all
`0 0 0 T 0`

0 0 0 0 0

0 0 T 0 0

0 0 0 0 0

T

T

T

In this symbolic tree you see leaves (0) and tree nodes (T), if you cut the lower one then all "T" become item log in the same place of the original node.

I use the drop item mod here in my server and I think this is a very nice complement to it.

The original code of this mod is from Jeija and is here (http://forum.minetest.net/viewtopic.php?id=1590)

Well, I started with the idea of the use of a group of trees but after some testes I preferred a manual approach typing all type of materials affected by my mod, is ugly but is effective. :)

Download:

http://www.novoseusadosinformatica.com.br/arq/minetest/DOM-modpack-nt.zip (Version 20130603)

License: GPL

Dependencies: default, domb (my own library of utility functions)

domb is here: http://www.novoseusadosinformatica.com.br/arq/minetest/DOM-modpack-domb.zip