Include item modifiers in prices: enchantments, hot potato books, recombobulators, and master stars (suggested by azured)
Add bazaar prices to AuctionData and use them to give more accurate item prices (also suggested by azured)
Add compatibility with NEU's storage overlay (suggestion #1956)
Prices are only calculated ~4 times per second and cached in a list for a very tiny performance improvement
Other things to note:
All changes have been tested with and without NEU storage overlay. The only oversight I can think of is, dungeon items with random stats can have their value increased by about 15M because they commonly have scavenger 5 on them.
Clearing and adding new items to the list may cause a CME but I haven't encountered that yet. If that is a concern, what is the best practice for mitigating that? Should I change the type of MutableList or should I just wrap the rendering block with a runCatching?
New features:
AuctionData
and use them to give more accurate item prices (also suggested by azured)Other things to note:
MutableList
or should I just wrap the rendering block with arunCatching
?