Value source for "soulbound or not"
Currently, the destroy settings can use a string as a threshold, and not display an item in the destroy list if its value is above that threshold. But this logic ignores soulbound BoEs.
For example, I set Settings > Destroying > "Only show items with disenchant values above this price" to dbmarket. I have a BoE (not yet equipped) in my inventory whose price is above dbmarket. It does not appear in the destroy list, as expected.
But if I equip the BoE (making it soulbound), I can no longer auction it. Thus I would want it to appear in the destroy list, but it's still being evaluated based on dbmarket. I want it to now be evaluated based on vendorsell. AFAIK there is no way to create a custom string that changes based on whether an item is soulbound or not.
A solution would be a value source, "soulbound" that is a binary 1/0 (or 2=True, 1=False, since I know TSM doesn't always play nicely with zeros).
I could then create a custom source such as:
devalue = ifeq(soulbound,2,vendorsell,dbmarket)
Then put this in "only show items with disenchant values above this price." If the item is soulbound (2=True), it will evaluate the item using vendorsell, otherwise it will use dbmarket.