ziz
Member
It's a thing I wanted, so I made a tiny modification to the source. "limit 1" things show up in red, "limit (anything other than 1)" things show up in blue, they're still gray if you can't buy them, and no other mall display is changed.
Code:
Index: src/net/sourceforge/kolmafia/request/MallPurchaseRequest.java
===================================================================
--- src/net/sourceforge/kolmafia/request/MallPurchaseRequest.java (revision 7660)
+++ src/net/sourceforge/kolmafia/request/MallPurchaseRequest.java (working copy)
@@ -327,8 +327,21 @@
if ( this.limit < this.quantity || !this.canPurchase() )
{
+ if (this.canPurchase())
+ {
+ if ( this.limit == 1 )
+ {
+ buffer.append( "<font color=red>" );
+ } else {
+ buffer.append( "<font color=blue>" );
+ }
+ }
buffer.append( " limit " );
buffer.append( KoLConstants.COMMA_FORMAT.format( this.limit ) );
+ if (this.canPurchase())
+ {
+ buffer.append( " </font>" );
+ }
}
}