{"action":"created","issue":{"url":"https://api.github.com/repos/CatalystOfNostalgia/gravehub/issues/40","labels_url":"https://api.github.com/repos/CatalystOfNostalgia/gravehub/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/CatalystOfNostalgia/gravehub/issues/40/comments","events_url":"https://api.github.com/repos/CatalystOfNostalgia/gravehub/issues/40/events","html_url":"https://github.com/CatalystOfNostalgia/gravehub/issues/40","id":113248429,"number":40,"title":"Upgrade/Destroy buildings","user":{"login":"CatalystOfNostalgia","id":5059638,"avatar_url":"https://avatars.githubusercontent.com/u/5059638?v=3","gravatar_id":"","url":"https://api.github.com/users/CatalystOfNostalgia","html_url":"https://github.com/CatalystOfNostalgia","followers_url":"https://api.github.com/users/CatalystOfNostalgia/followers","following_url":"https://api.github.com/users/CatalystOfNostalgia/following{/other_user}","gists_url":"https://api.github.com/users/CatalystOfNostalgia/gists{/gist_id}","starred_url":"https://api.github.com/users/CatalystOfNostalgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CatalystOfNostalgia/subscriptions","organizations_url":"https://api.github.com/users/CatalystOfNostalgia/orgs","repos_url":"https://api.github.com/users/CatalystOfNostalgia/repos","events_url":"https://api.github.com/users/CatalystOfNostalgia/events{/privacy}","received_events_url":"https://api.github.com/users/CatalystOfNostalgia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"raoanjana","id":10950779,"avatar_url":"https://avatars.githubusercontent.com/u/10950779?v=3","gravatar_id":"","url":"https://api.github.com/users/raoanjana","html_url":"https://github.com/raoanjana","followers_url":"https://api.github.com/users/raoanjana/followers","following_url":"https://api.github.com/users/raoanjana/following{/other_user}","gists_url":"https://api.github.com/users/raoanjana/gists{/gist_id}","starred_url":"https://api.github.com/users/raoanjana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raoanjana/subscriptions","organizations_url":"https://api.github.com/users/raoanjana/orgs","repos_url":"https://api.github.com/users/raoanjana/repos","events_url":"https://api.github.com/users/raoanjana/events{/privacy}","received_events_url":"https://api.github.com/users/raoanjana/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/CatalystOfNostalgia/gravehub/milestones/2","html_url":"https://github.com/CatalystOfNostalgia/gravehub/milestones/3%20spooky%205%20me","labels_url":"https://api.github.com/repos/CatalystOfNostalgia/gravehub/milestones/2/labels","id":1375531,"number":2,"title":"3 spooky 5 me","description":"","creator":{"login":"CatalystOfNostalgia","id":5059638,"avatar_url":"https://avatars.githubusercontent.com/u/5059638?v=3","gravatar_id":"","url":"https://api.github.com/users/CatalystOfNostalgia","html_url":"https://github.com/CatalystOfNostalgia","followers_url":"https://api.github.com/users/CatalystOfNostalgia/followers","following_url":"https://api.github.com/users/CatalystOfNostalgia/following{/other_user}","gists_url":"https://api.github.com/users/CatalystOfNostalgia/gists{/gist_id}","starred_url":"https://api.github.com/users/CatalystOfNostalgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CatalystOfNostalgia/subscriptions","organizations_url":"https://api.github.com/users/CatalystOfNostalgia/orgs","repos_url":"https://api.github.com/users/CatalystOfNostalgia/repos","events_url":"https://api.github.com/users/CatalystOfNostalgia/events{/privacy}","received_events_url":"https://api.github.com/users/CatalystOfNostalgia/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":5,"state":"open","created_at":"2015-10-25T19:39:56Z","updated_at":"2015-11-24T00:00:59Z","due_on":"2015-11-03T05:00:00Z","closed_at":null},"comments":1,"created_at":"2015-10-25T20:01:25Z","updated_at":"2015-12-05T20:59:05Z","closed_at":null,"body":"Allow for decorative buildings to be upgraded and destroyed. "},"comment":{"url":"https://api.github.com/repos/CatalystOfNostalgia/gravehub/issues/comments/162245311","html_url":"https://github.com/CatalystOfNostalgia/gravehub/issues/40#issuecomment-162245311","issue_url":"https://api.github.com/repos/CatalystOfNostalgia/gravehub/issues/40","id":162245311,"user":{"login":"CatalystOfNostalgia","id":5059638,"avatar_url":"https://avatars.githubusercontent.com/u/5059638?v=3","gravatar_id":"","url":"https://api.github.com/users/CatalystOfNostalgia","html_url":"https://github.com/CatalystOfNostalgia","followers_url":"https://api.github.com/users/CatalystOfNostalgia/followers","following_url":"https://api.github.com/users/CatalystOfNostalgia/following{/other_user}","gists_url":"https://api.github.com/users/CatalystOfNostalgia/gists{/gist_id}","starred_url":"https://api.github.com/users/CatalystOfNostalgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CatalystOfNostalgia/subscriptions","organizations_url":"https://api.github.com/users/CatalystOfNostalgia/orgs","repos_url":"https://api.github.com/users/CatalystOfNostalgia/repos","events_url":"https://api.github.com/users/CatalystOfNostalgia/events{/privacy}","received_events_url":"https://api.github.com/users/CatalystOfNostalgia/received_events","type":"User","site_admin":false},"created_at":"2015-12-05T20:59:05Z","updated_at":"2015-12-05T20:59:05Z","body":"The requirements for this:\r\n\r\n1. Only allow decorative buildings to be destroyed\r\n2. We should display the cost of upgrading a building\r\n3. Only allow users to upgrade if the buildings level will remain <= the HQ level and has the resources to do it. "}}