Coh3n
2010-09-06 03:31:41
I don't know exactly what needs to be changed, but I feel like something does. It would seem that there are a lot of false positives/negatives when working with the items. I don't know if it's the DTMs failing, or the colors from one item being found on another item.
I'll just throw a couple ideas out there.
I'll just throw a couple ideas out there.
- This doesn't have anything to do with finding the items, but ItemP isn't used at all. We may be able to save the point when it's found. For example, the script looks for the required tools every load. Doesn't make much of a difference, but it lowers efficiency. Could save the point the first load, then not look for it for the rest of runtime (unless told otherwise).
- Get rid of the tolerance attribute. As far as I know, the item's colors are static, so if we picked 3-4 colors for every item and have 0 tolerance, it's very unlikely to get 2 items mixed up.