What i would do:
- make a script to scan the tile north of you, thru all layers
- Stand south of the tree and let it run
- Compare all the types against one of the big lists of a working Lumber-script like
viewtopic.php?p=220864#220864- If you find one of the TileTypes in his list, you can be quite sure, it is the chopable tree you were looking for.
- If it is not in, you can use an axe on each of the TileTypes and TileZ. If it chops, you found the TileType