After looking at lostcalpolydude's inventory.ash quality coloring and BCC's bUMRATS relay stuff and some of the details around KolMafia's modifier functions, I deciced to create a spoilerific inventory helper.
This adds nearly everything KolMafia knows about every item into the Relay browser inventory pages. This is a lot of stuff, so it is slow, but very useful. I have only tested this in an aftercare setting with a huge inventory, so it may not matter so much if your inventory is small.
It uses a
loop instead of a regex search because I could not find a reliable way in a regex matcher to account for and list ALL the items in inventory without either missing some weird ones or getting too much and running into errors in the to_item(string) command. This way it will also account for strange item names in the future as long as Mafia is updated.
Thie borrows (steals) some keen code from lostcalpolydude and BCC and Veracity. I probably would could not have done it on my own without their previous work.
Download, rename to "inventory.ash", and copy into relay folder.
04 - Initial version
05 - remove bolding of item descriptions
ckb
This adds nearly everything KolMafia knows about every item into the Relay browser inventory pages. This is a lot of stuff, so it is slow, but very useful. I have only tested this in an aftercare setting with a huge inventory, so it may not matter so much if your inventory is small.
It uses a
Code:
foreach it in $items[]
Thie borrows (steals) some keen code from lostcalpolydude and BCC and Veracity. I probably would could not have done it on my own without their previous work.
Download, rename to "inventory.ash", and copy into relay folder.
04 - Initial version
05 - remove bolding of item descriptions
ckb
Attachments
Last edited: