Recycling unwanted new items when spinning Pokestops#502
Merged
solderzzc merged 8 commits intoPokemonGoF:devfrom Jul 23, 2016
Merged
Recycling unwanted new items when spinning Pokestops#502solderzzc merged 8 commits intoPokemonGoF:devfrom
solderzzc merged 8 commits intoPokemonGoF:devfrom
Conversation
added 8 commits
July 23, 2016 18:16
…re collected at a Pokestop
Contributor
|
This is good for me. |
|
looks good |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I added a "filter_list" parameter that allows users to pass unwanted items ID that should be recycled by the bot when received spinning PokeStops
Parameter / config structure:
-if LIST, --item_filter LIST Pass a list of unwanted items to recycle when collected at a Pokestop (e.g, ["101","102","103","104"] to recycle potions when collected)"
this example filters out all potions:
"item_filter": ["101","102","103","104"]
I also updated the api of drop_item with an example of a good request for people that would like to recycle items or implement an inventory manager (they should check my example !)