{"action":"created","issue":{"url":"https://api.github.com/repos/OpenRA/OpenRA/issues/7805","labels_url":"https://api.github.com/repos/OpenRA/OpenRA/issues/7805/labels{/name}","comments_url":"https://api.github.com/repos/OpenRA/OpenRA/issues/7805/comments","events_url":"https://api.github.com/repos/OpenRA/OpenRA/issues/7805/events","html_url":"https://github.com/OpenRA/OpenRA/pull/7805","id":65330047,"number":7805,"title":"Make buildings explicitly provide their names as prerequisites","user":{"login":"penev92","id":7137365,"avatar_url":"https://avatars.githubusercontent.com/u/7137365?v=3","gravatar_id":"","url":"https://api.github.com/users/penev92","html_url":"https://github.com/penev92","followers_url":"https://api.github.com/users/penev92/followers","following_url":"https://api.github.com/users/penev92/following{/other_user}","gists_url":"https://api.github.com/users/penev92/gists{/gist_id}","starred_url":"https://api.github.com/users/penev92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/penev92/subscriptions","organizations_url":"https://api.github.com/users/penev92/orgs","repos_url":"https://api.github.com/users/penev92/repos","events_url":"https://api.github.com/users/penev92/events{/privacy}","received_events_url":"https://api.github.com/users/penev92/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-30T23:51:52Z","updated_at":"2015-03-31T01:22:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/OpenRA/OpenRA/pulls/7805","html_url":"https://github.com/OpenRA/OpenRA/pull/7805","diff_url":"https://github.com/OpenRA/OpenRA/pull/7805.diff","patch_url":"https://github.com/OpenRA/OpenRA/pull/7805.patch"},"body":"The `Building` trait no longer provides any custom prerequisites automatically in order to keep things consistent.\r\nNaturally, the lint check no longer cares about buildings. Overall, this amounts to 2 bogus trait dependencies being removed.\r\nBuildings that need to provide their name as prerequisite now have `ProvidesCustomPrerequisite` with it's default value, which is now the actor's name.\r\nNext step is to use that last part for upgrades, so the lint check passes for #7597.\r\n\r\nCloses #5287.\r\n\r\nCommits will be squashed, of course."},"comment":{"url":"https://api.github.com/repos/OpenRA/OpenRA/issues/comments/87893214","html_url":"https://github.com/OpenRA/OpenRA/pull/7805#issuecomment-87893214","issue_url":"https://api.github.com/repos/OpenRA/OpenRA/issues/7805","id":87893214,"user":{"login":"SilverlineDev","id":10025268,"avatar_url":"https://avatars.githubusercontent.com/u/10025268?v=3","gravatar_id":"","url":"https://api.github.com/users/SilverlineDev","html_url":"https://github.com/SilverlineDev","followers_url":"https://api.github.com/users/SilverlineDev/followers","following_url":"https://api.github.com/users/SilverlineDev/following{/other_user}","gists_url":"https://api.github.com/users/SilverlineDev/gists{/gist_id}","starred_url":"https://api.github.com/users/SilverlineDev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SilverlineDev/subscriptions","organizations_url":"https://api.github.com/users/SilverlineDev/orgs","repos_url":"https://api.github.com/users/SilverlineDev/repos","events_url":"https://api.github.com/users/SilverlineDev/events{/privacy}","received_events_url":"https://api.github.com/users/SilverlineDev/received_events","type":"User","site_admin":false},"created_at":"2015-03-31T01:22:34Z","updated_at":"2015-03-31T01:22:34Z","body":"Should it still be called \"ProvidesCustomPrerequisites\" if there are no longer any standard prerequisites?"}}