{"action":"created","issue":{"url":"https://api.github.com/repos/jabbink/PokemonGoBot/issues/480","repository_url":"https://api.github.com/repos/jabbink/PokemonGoBot","labels_url":"https://api.github.com/repos/jabbink/PokemonGoBot/issues/480/labels{/name}","comments_url":"https://api.github.com/repos/jabbink/PokemonGoBot/issues/480/comments","events_url":"https://api.github.com/repos/jabbink/PokemonGoBot/issues/480/events","html_url":"https://github.com/jabbink/PokemonGoBot/issues/480","id":167823822,"number":480,"title":"[Suggestion] Max Pokeballs inventory grouped","user":{"login":"ma4xat","id":3372517,"avatar_url":"https://avatars.githubusercontent.com/u/3372517?v=3","gravatar_id":"","url":"https://api.github.com/users/ma4xat","html_url":"https://github.com/ma4xat","followers_url":"https://api.github.com/users/ma4xat/followers","following_url":"https://api.github.com/users/ma4xat/following{/other_user}","gists_url":"https://api.github.com/users/ma4xat/gists{/gist_id}","starred_url":"https://api.github.com/users/ma4xat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ma4xat/subscriptions","organizations_url":"https://api.github.com/users/ma4xat/orgs","repos_url":"https://api.github.com/users/ma4xat/repos","events_url":"https://api.github.com/users/ma4xat/events{/privacy}","received_events_url":"https://api.github.com/users/ma4xat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-07-27T10:39:40Z","updated_at":"2016-07-27T13:39:16Z","closed_at":null,"body":"Actually, the bot let us configure the pokeballs in this way:\r\n\r\nitem_poke_ball=NUMBER\r\nitem_great_ball=NUMBER\r\nitem_ultra_ball=NUMBER\r\nitem_master_ball=NUMBER\r\n\r\nI think that it would be better to set a max pokeballs number ( like 250 for example ) and always save the better ones.\r\n\r\nFor example, actually if i have this configured:\r\n\r\nitem_poke_ball=90\r\nitem_great_ball=90\r\n\r\nIf i get 2 pokeballs, and 2 greatballs, i drop both (having 90 of everyone in my inventory, ofc ), but i think that is better to keep the 2 greatballs and drop 4 pokeballs.\r\n\r\nThis way, if i set the max_pokeballs to 200 for example, i will have a max of 200 items formed by pokeball, greatball, ultraball, masterballs, but keeping the better ones.\r\n\r\nSorry for my bad english :("},"comment":{"url":"https://api.github.com/repos/jabbink/PokemonGoBot/issues/comments/235587544","html_url":"https://github.com/jabbink/PokemonGoBot/issues/480#issuecomment-235587544","issue_url":"https://api.github.com/repos/jabbink/PokemonGoBot/issues/480","id":235587544,"user":{"login":"ma4xat","id":3372517,"avatar_url":"https://avatars.githubusercontent.com/u/3372517?v=3","gravatar_id":"","url":"https://api.github.com/users/ma4xat","html_url":"https://github.com/ma4xat","followers_url":"https://api.github.com/users/ma4xat/followers","following_url":"https://api.github.com/users/ma4xat/following{/other_user}","gists_url":"https://api.github.com/users/ma4xat/gists{/gist_id}","starred_url":"https://api.github.com/users/ma4xat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ma4xat/subscriptions","organizations_url":"https://api.github.com/users/ma4xat/orgs","repos_url":"https://api.github.com/users/ma4xat/repos","events_url":"https://api.github.com/users/ma4xat/events{/privacy}","received_events_url":"https://api.github.com/users/ma4xat/received_events","type":"User","site_admin":false},"created_at":"2016-07-27T13:39:16Z","updated_at":"2016-07-27T13:39:16Z","body":"Yep, i have something like that:\r\n\r\n`item_revive=0\r\nitem_potion=0\r\nitem_super_potion=0\r\nitem_hyper_potion=0\r\nitem_max_revive=25\r\nitem_max_potion=25\r\nitem_poke_ball=50\r\nitem_great_ball=-1\r\nitem_ultra_ball=-1\r\nitem_master_ball=-1\r\nitem_razz_berry=-1`\r\n\r\nJust thought it was a better way to manage it :)"}}
{"actor":{"display_login":"ma4xat"}}