{"action":"opened","issue":{"url":"https://api.github.com/repos/geordanr/xwing/issues/286","repository_url":"https://api.github.com/repos/geordanr/xwing","labels_url":"https://api.github.com/repos/geordanr/xwing/issues/286/labels{/name}","comments_url":"https://api.github.com/repos/geordanr/xwing/issues/286/comments","events_url":"https://api.github.com/repos/geordanr/xwing/issues/286/events","html_url":"https://github.com/geordanr/xwing/issues/286","id":131832407,"number":286,"title":"Check Both Sides' Inventory","user":{"login":"rswayz","id":1454627,"avatar_url":"https://avatars.githubusercontent.com/u/1454627?v=3","gravatar_id":"","url":"https://api.github.com/users/rswayz","html_url":"https://github.com/rswayz","followers_url":"https://api.github.com/users/rswayz/followers","following_url":"https://api.github.com/users/rswayz/following{/other_user}","gists_url":"https://api.github.com/users/rswayz/gists{/gist_id}","starred_url":"https://api.github.com/users/rswayz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rswayz/subscriptions","organizations_url":"https://api.github.com/users/rswayz/orgs","repos_url":"https://api.github.com/users/rswayz/repos","events_url":"https://api.github.com/users/rswayz/events{/privacy}","received_events_url":"https://api.github.com/users/rswayz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-06T07:38:15Z","updated_at":"2016-02-06T07:38:15Z","closed_at":null,"body":"Hello and thank you for providing this awesome program!\r\nOne feature I would request is the ability to check the inventory when building a squad on both sides.  In other words, when an Empire squad is built, as an example, the program checks to ensure that the inventory suffices for the amount of upgrades implemented.  However, when I go to build an opposing squad, the upgrades of that squad are only checked against what I have in my collection and does not consider what has already been used by the opposing force.\r\n\r\nAn example:\r\nI have 1 shield upgrade card in my inventory\r\nI build a Rebel squad.\r\nIf the Rebel squad uses more than 1 shield upgrade, I get a warning message, so I decrease the number of shield upgrades  to 1.\r\nI flip over to the Imperial side and build the squad.  With the inventory I have, I should not be able to add a Shield Upgrade as the only card I have in my inventory is already being used by the Rebels.\r\nHowever, I add a Shield Upgrade to an Imperial Fighter and do not receive a warning.\r\nWhen I go to play the game, I realize that the opposing squads can't be built given the cards in my inventory.\r\n\r\nThanks again for the great program!\r\n-Ryan\r\n"}}