Sometimes "Metal container engraving tool" is used in place of the "tinker's tools" causing the script to get stuck.
This one needs more information. There is code specifically in the script to handle these based on the color of the items. While the type is the same, both tinker's tools and the metal container engraving tool are differentiated by testing the color of the item to make sure it matches.
My curiosity is piqued by the 'Sometimes'...
Are you saying you have seen both:
- it SUCCEED to fully craft items and fill the SBod?
- it FAIL to fully craft items and fill the SBod?
Whatever the failure, it must be reproducible and 100% of the time the script logic has to run that course.
The script crafts its own tools, so it won't pull a tinker's tool from a secure to make something. The only thing that will be pulled from the primary secure are finished items to add to the SBod.
It keeps using the same craft tool until it wears out, so for it to switch to a new craft tool item in the middle of the craft cycle the tinker tool must break. This will cause it to select a new tinker tool.
The craft tool selection happens by 1 routine, but there is a special case to handle tinker's tools vs the other craft tools. Since there is a 'tinker's tools' SBod, this gets some special treatment to make sure we do not use the last tinker tool. (This coincides with my comment about not pulling tools from the resource container, but always making what it needs.)
There are several SBods that have the same TYPE but different color or name, so I gave a lot of attention to testing these cases (tinkered jewelry, tinker's tools/metal container engraving tool, scribe's pen/spellbook inscription tool, fletching and carpentry weapons, etc.).
To have no metal container engraving tools in your backpack and start to craft to fill an SBod (I have tested this), it works - making the items and combining the SBod.
Since the script would loop on the engraving tool, the next time you experience this can you give some more details about what is happening and what is in your backpack? Are there 0 tinker's tools? Are there 3 tinker's tools? Did it just craft new tinker's tools?
If it is reusing the metal container engraving tool as a tinker's tool, then you should be able to put 2 engraving tools in your backpack, 1 tinker tool and the script should try to use the metal container engraving tool once the tinker's tool wears out - when filling ANY tinker SBods. Please test this situation with your setup.
I ask you to test it because there may be something in your environment and setup that I didn't think about.
We'll get to the bottom of it.

Thanks!
Gaderian
[/list]