{"action":"opened","number":2675,"pull_request":{"url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/pulls/2675","id":55546349,"html_url":"https://github.com/OpenRCT2/OpenRCT2/pull/2675","diff_url":"https://github.com/OpenRCT2/OpenRCT2/pull/2675.diff","patch_url":"https://github.com/OpenRCT2/OpenRCT2/pull/2675.patch","issue_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/2675","number":2675,"state":"open","locked":false,"title":"Show names of missing expansion packs; cleanup","user":{"login":"Gymnasiast","id":1478678,"avatar_url":"https://avatars.githubusercontent.com/u/1478678?v=3","gravatar_id":"","url":"https://api.github.com/users/Gymnasiast","html_url":"https://github.com/Gymnasiast","followers_url":"https://api.github.com/users/Gymnasiast/followers","following_url":"https://api.github.com/users/Gymnasiast/following{/other_user}","gists_url":"https://api.github.com/users/Gymnasiast/gists{/gist_id}","starred_url":"https://api.github.com/users/Gymnasiast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gymnasiast/subscriptions","organizations_url":"https://api.github.com/users/Gymnasiast/orgs","repos_url":"https://api.github.com/users/Gymnasiast/repos","events_url":"https://api.github.com/users/Gymnasiast/events{/privacy}","received_events_url":"https://api.github.com/users/Gymnasiast/received_events","type":"User","site_admin":false},"body":"Since OpenRCT2 uses an RCT2.EXE that lacks information about the expansion packs, attempting to load a park using an object from one of them will show a generic message saying it requires an add-on pack, rather than telling the user which one. This is fixed by this PR. Also took the oppertunity to do some cleanup in the function itself.","created_at":"2016-01-09T17:09:00Z","updated_at":"2016-01-09T17:09:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/pulls/2675/commits","review_comments_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/pulls/2675/comments","review_comment_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/2675/comments","statuses_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/statuses/b7d0b52ef34f1a44687f366351142b9c3b3326bc","head":{"label":"Gymnasiast:fix-requires-expansion-pack","ref":"fix-requires-expansion-pack","sha":"b7d0b52ef34f1a44687f366351142b9c3b3326bc","user":{"login":"Gymnasiast","id":1478678,"avatar_url":"https://avatars.githubusercontent.com/u/1478678?v=3","gravatar_id":"","url":"https://api.github.com/users/Gymnasiast","html_url":"https://github.com/Gymnasiast","followers_url":"https://api.github.com/users/Gymnasiast/followers","following_url":"https://api.github.com/users/Gymnasiast/following{/other_user}","gists_url":"https://api.github.com/users/Gymnasiast/gists{/gist_id}","starred_url":"https://api.github.com/users/Gymnasiast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gymnasiast/subscriptions","organizations_url":"https://api.github.com/users/Gymnasiast/orgs","repos_url":"https://api.github.com/users/Gymnasiast/repos","events_url":"https://api.github.com/users/Gymnasiast/events{/privacy}","received_events_url":"https://api.github.com/users/Gymnasiast/received_events","type":"User","site_admin":false},"repo":{"id":35728020,"name":"OpenRCT2","full_name":"Gymnasiast/OpenRCT2","owner":{"login":"Gymnasiast","id":1478678,"avatar_url":"https://avatars.githubusercontent.com/u/1478678?v=3","gravatar_id":"","url":"https://api.github.com/users/Gymnasiast","html_url":"https://github.com/Gymnasiast","followers_url":"https://api.github.com/users/Gymnasiast/followers","following_url":"https://api.github.com/users/Gymnasiast/following{/other_user}","gists_url":"https://api.github.com/users/Gymnasiast/gists{/gist_id}","starred_url":"https://api.github.com/users/Gymnasiast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gymnasiast/subscriptions","organizations_url":"https://api.github.com/users/Gymnasiast/orgs","repos_url":"https://api.github.com/users/Gymnasiast/repos","events_url":"https://api.github.com/users/Gymnasiast/events{/privacy}","received_events_url":"https://api.github.com/users/Gymnasiast/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Gymnasiast/OpenRCT2","description":"An open source clone of Roller Coaster Tycoon 2 built by decompiling the original game one bit at a time.","fork":true,"url":"https://api.github.com/repos/Gymnasiast/OpenRCT2","forks_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/forks","keys_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/teams","hooks_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/hooks","issue_events_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/issues/events{/number}","events_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/events","assignees_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/assignees{/user}","branches_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/branches{/branch}","tags_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/tags","blobs_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/git/refs{/sha}","trees_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/statuses/{sha}","languages_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/languages","stargazers_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/stargazers","contributors_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/contributors","subscribers_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/subscribers","subscription_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/subscription","commits_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/commits{/sha}","git_commits_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/git/commits{/sha}","comments_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/comments{/number}","issue_comment_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/issues/comments{/number}","contents_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/contents/{+path}","compare_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/merges","archive_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/downloads","issues_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/issues{/number}","pulls_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/pulls{/number}","milestones_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/milestones{/number}","notifications_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/labels{/name}","releases_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/releases{/id}","created_at":"2015-05-16T15:06:00Z","updated_at":"2015-05-16T15:06:02Z","pushed_at":"2016-01-09T17:04:57Z","git_url":"git://github.com/Gymnasiast/OpenRCT2.git","ssh_url":"git@github.com:Gymnasiast/OpenRCT2.git","clone_url":"https://github.com/Gymnasiast/OpenRCT2.git","svn_url":"https://github.com/Gymnasiast/OpenRCT2","homepage":null,"size":34445,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"OpenRCT2:develop","ref":"develop","sha":"635fae15dabcb0ef00cf4bb40300249a5e101cd7","user":{"login":"OpenRCT2","id":8473908,"avatar_url":"https://avatars.githubusercontent.com/u/8473908?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenRCT2","html_url":"https://github.com/OpenRCT2","followers_url":"https://api.github.com/users/OpenRCT2/followers","following_url":"https://api.github.com/users/OpenRCT2/following{/other_user}","gists_url":"https://api.github.com/users/OpenRCT2/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenRCT2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenRCT2/subscriptions","organizations_url":"https://api.github.com/users/OpenRCT2/orgs","repos_url":"https://api.github.com/users/OpenRCT2/repos","events_url":"https://api.github.com/users/OpenRCT2/events{/privacy}","received_events_url":"https://api.github.com/users/OpenRCT2/received_events","type":"Organization","site_admin":false},"repo":{"id":18348651,"name":"OpenRCT2","full_name":"OpenRCT2/OpenRCT2","owner":{"login":"OpenRCT2","id":8473908,"avatar_url":"https://avatars.githubusercontent.com/u/8473908?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenRCT2","html_url":"https://github.com/OpenRCT2","followers_url":"https://api.github.com/users/OpenRCT2/followers","following_url":"https://api.github.com/users/OpenRCT2/following{/other_user}","gists_url":"https://api.github.com/users/OpenRCT2/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenRCT2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenRCT2/subscriptions","organizations_url":"https://api.github.com/users/OpenRCT2/orgs","repos_url":"https://api.github.com/users/OpenRCT2/repos","events_url":"https://api.github.com/users/OpenRCT2/events{/privacy}","received_events_url":"https://api.github.com/users/OpenRCT2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenRCT2/OpenRCT2","description":"An open source re-implementation of Roller Coaster Tycoon 2.","fork":false,"url":"https://api.github.com/repos/OpenRCT2/OpenRCT2","forks_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/forks","keys_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/teams","hooks_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/hooks","issue_events_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/events{/number}","events_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/events","assignees_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/assignees{/user}","branches_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/branches{/branch}","tags_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/tags","blobs_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/languages","stargazers_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/stargazers","contributors_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/contributors","subscribers_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/subscribers","subscription_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/subscription","commits_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/contents/{+path}","compare_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/merges","archive_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/downloads","issues_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues{/number}","pulls_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/labels{/name}","releases_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/releases{/id}","created_at":"2014-04-01T23:32:25Z","updated_at":"2016-01-09T12:53:56Z","pushed_at":"2016-01-09T17:09:00Z","git_url":"git://github.com/OpenRCT2/OpenRCT2.git","ssh_url":"git@github.com:OpenRCT2/OpenRCT2.git","clone_url":"https://github.com/OpenRCT2/OpenRCT2.git","svn_url":"https://github.com/OpenRCT2/OpenRCT2","homepage":"http://openrct2.website","size":45178,"stargazers_count":1435,"watchers_count":1435,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":263,"mirror_url":null,"open_issues_count":347,"forks":263,"open_issues":347,"watchers":1435,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenRCT2/OpenRCT2/pulls/2675"},"html":{"href":"https://github.com/OpenRCT2/OpenRCT2/pull/2675"},"issue":{"href":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/2675"},"comments":{"href":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/2675/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenRCT2/OpenRCT2/pulls/2675/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenRCT2/OpenRCT2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenRCT2/OpenRCT2/pulls/2675/commits"},"statuses":{"href":"https://api.github.com/repos/OpenRCT2/OpenRCT2/statuses/b7d0b52ef34f1a44687f366351142b9c3b3326bc"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":23,"deletions":7,"changed_files":2}}