Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More filters for Character.locateItem() #34

Open
earthiverse opened this issue Aug 25, 2022 · 3 comments
Open

More filters for Character.locateItem() #34

earthiverse opened this issue Aug 25, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@earthiverse
Copy link
Owner

  • 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 earthiverse added the enhancement New feature or request label Aug 25, 2022
@StormSurge95
Copy link
Collaborator

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.

@earthiverse
Copy link
Owner Author

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

wtype is a good filter, too.

@StormSurge95
Copy link
Collaborator

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants