I seem to fail at all fronts to protect Reynaldo

So I thought I was being clever and redid my get targetGold to use a global array, but found that won’t work with filbert
forum with nick about global

so my goal is to have any number of peasants collect money based on item.value/distanceToItemValue and also make sure they won’t go after the same items. I guess what i"m stuck on is if the item is very far away the loop might run many times, how would i keep my list of active targets? I’m sure it should be obvious, but I seem to be stuck.
Thanks again for the help :slight_smile: