New ASH function - int mall_prices( boolean [ item ] ) - to look up the current mall prices for a set of items.
the argument is exactly what you get for a plural constant: items[ x, y, z ]. This will do a mall lokup for each
item (unless the known price is less than an hour old) and only at the end write out mallprices.txt.

The "Update Prices" button on the Synthesis Frame now uses this to lookup the 23 "food" candies, rather than doing
a category search of all "food", which will take 68 page loads.

by veracity0 on 2018-10-08 04:40:26

M /src/net/sourceforge/kolmafia/persistence/ (view) (diff)
M /src/net/sourceforge/kolmafia/session/ (view) (diff)
M /src/net/sourceforge/kolmafia/swingui/panel/ (view) (diff)
M /src/net/sourceforge/kolmafia/textui/ (view) (diff)