ALClient icon indicating copy to clipboard operation
ALClient copied to clipboard

More filters for `Character.locateItem()`

Open earthiverse opened this issue 3 years ago • 3 comments

  • returnLowestQuantity
  • returnHighestQuantity

And somehow, for Character.locateItems(), a way to return items of a specific slot type. It's a bit tricky for weapons since we have to figure out a way to return items that match a specific class, too.

earthiverse avatar Aug 25 '22 23:08 earthiverse

Weapons shouldn't be too difficult cuz each one should have wtype within its ItemData. But yeah it might be more complicated than just slot types.

StormSurge95 avatar Aug 25 '22 23:08 StormSurge95

returnLowestQuantity and returnHighestQuantity have been added, but I should probably add a test for them, too.

wtype is a good filter, too.

earthiverse avatar Aug 29 '22 08:08 earthiverse

right now, we have the option to filter by special which is a plain boolean value. Perhaps we could change that so that it would still accept plain true but also accept glitched or shiny or whatever other prefix so that we could return a specific kind of special?

StormSurge95 avatar Aug 30 '22 20:08 StormSurge95