{"action":"created","issue":{"url":"https://api.github.com/repos/chrsmith/bwapi/issues/27","labels_url":"https://api.github.com/repos/chrsmith/bwapi/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/bwapi/issues/27/comments","events_url":"https://api.github.com/repos/chrsmith/bwapi/issues/27/events","html_url":"https://github.com/chrsmith/bwapi/issues/27","id":58670209,"number":27,"title":"extend temporary solution \"reserved minerals for buildings\" + priorities","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/auto-migrated","name":"auto-migrated","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-23T23:53:55Z","updated_at":"2015-02-23T23:53:55Z","closed_at":"2015-02-23T23:53:55Z","body":"```\nMake one class something like reservedResources, it would contain\n\nminerals\ngas\nsupply\n(maybe something else, who knows)\n\nEvery task will have function get Reserved, that would be called in order\nof priorities of task and it would return resources to reserve for that task\n\nIf I also made TaskTrain (instead of manual solution of autobuild), I could\nprioritize units/buildings/invents/upgrades.\n\nSo reserved resources could also be bigger than actual resources, and it is\nexcepted behaviour.\n```\n\n-----\nOriginal issue reported on code.google.com by `kovarex` on 20 Jun 2008 at 6:39"},"comment":{"url":"https://api.github.com/repos/chrsmith/bwapi/issues/comments/75664823","html_url":"https://github.com/chrsmith/bwapi/issues/27#issuecomment-75664823","issue_url":"https://api.github.com/repos/chrsmith/bwapi/issues/27","id":75664823,"user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"created_at":"2015-02-23T23:53:55Z","updated_at":"2015-02-23T23:53:55Z","body":"```\nI plan to move the \"priority system\" into motion soon.\n```\n\n-----\nOriginal comment by `kovarex` on 8 Oct 2008 at 12:37"}}