Plural

git-svn-id: svn://svn.code.sf.net/p/kolmafia/code@14369 b29ace70-8910-0410-8dcc-aa2fc6433167
Since clover protection only kicks in for items arriving in inventory, no
need to worry about it when purchasing ten-leaf clovers when you cannot
interact, since they will end up in storage.


git-svn-id: svn://svn.code.sf.net/p/kolmafia/code@14370 b29ace70-8910-0410-8dcc-aa2fc6433167
AdventureResult.getCount( List) now lets the compiler enforce that the list
contains only AdventureResults.
When making a purchase, if we are automated and not allowed to purchase from
the mall, pre-scan the list to find the first NPC store with the item.
(This is currently moot, since the NPC store will always be first, but I think
that is a bug.)


git-svn-id: svn://svn.code.sf.net/p/kolmafia/code@14371 b29ace70-8910-0410-8dcc-aa2fc6433167
Sort mall search results that are returned by StoreManager.searchMall so that
NPC stores get inserted into the correct place and that stores with larger
stocks appear before those with fewer items at the same price.


git-svn-id: svn://svn.code.sf.net/p/kolmafia/code@14372 b29ace70-8910-0410-8dcc-aa2fc6433167
The compare function for a PurchaseRequest needs to use this.getPrice()
rather than this.price, so that subclasses can override it.


git-svn-id: svn://svn.code.sf.net/p/kolmafia/code@14373 b29ace70-8910-0410-8dcc-aa2fc6433167
When sorting Purchase Request objects, no special check needed to put NPC
stores ahead of PC stores if you are in Hardcore; we will prefer them in any
case because the available quantity is better than any PC store.


git-svn-id: svn://svn.code.sf.net/p/kolmafia/code@14374 b29ace70-8910-0410-8dcc-aa2fc6433167