{"action":"closed","number":2,"pull_request":{"url":"https://api.github.com/repos/fareesh/dota/pulls/2","id":35720775,"html_url":"https://github.com/fareesh/dota/pull/2","diff_url":"https://github.com/fareesh/dota/pull/2.diff","patch_url":"https://github.com/fareesh/dota/pull/2.patch","issue_url":"https://api.github.com/repos/fareesh/dota/issues/2","number":2,"state":"closed","locked":false,"title":"Redoes Constants Items, Heroes, Abilities to use data from txt files","user":{"login":"Razesdark","id":1438488,"avatar_url":"https://avatars.githubusercontent.com/u/1438488?v=3","gravatar_id":"","url":"https://api.github.com/users/Razesdark","html_url":"https://github.com/Razesdark","followers_url":"https://api.github.com/users/Razesdark/followers","following_url":"https://api.github.com/users/Razesdark/following{/other_user}","gists_url":"https://api.github.com/users/Razesdark/gists{/gist_id}","starred_url":"https://api.github.com/users/Razesdark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Razesdark/subscriptions","organizations_url":"https://api.github.com/users/Razesdark/orgs","repos_url":"https://api.github.com/users/Razesdark/repos","events_url":"https://api.github.com/users/Razesdark/events{/privacy}","received_events_url":"https://api.github.com/users/Razesdark/received_events","type":"User","site_admin":false},"body":"These files can be generated by using a small script found on https://gist.github.com/Razesdark/3ca7c2c15604936e90a6\r\nby using the following files (paths relative from dota 2 beta folder).\r\n* dota/scripts/npc/npc_heroes.txt\r\n* dota/scripts/npc/npc_abilities.txt\r\n* dota/scripts/npc/items.tx (+1 squashed commit)\r\nSquashed commits:\r\n[85250f6] Moves Constants to separate files.\r\n\r\nTo make it easier to generate these files from static data dump without redoing the scripts if the original constant files are changed in the future.","created_at":"2015-05-19T11:36:00Z","updated_at":"2015-05-19T11:37:07Z","closed_at":"2015-05-19T11:37:07Z","merged_at":null,"merge_commit_sha":"e055c7e0780876d7bdf6f399457e205df5e0d3e7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fareesh/dota/pulls/2/commits","review_comments_url":"https://api.github.com/repos/fareesh/dota/pulls/2/comments","review_comment_url":"https://api.github.com/repos/fareesh/dota/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fareesh/dota/issues/2/comments","statuses_url":"https://api.github.com/repos/fareesh/dota/statuses/306abc7d7268b23b09452bb7e2105e55d275071e","head":{"label":"Razesdark:master","ref":"master","sha":"306abc7d7268b23b09452bb7e2105e55d275071e","user":{"login":"Razesdark","id":1438488,"avatar_url":"https://avatars.githubusercontent.com/u/1438488?v=3","gravatar_id":"","url":"https://api.github.com/users/Razesdark","html_url":"https://github.com/Razesdark","followers_url":"https://api.github.com/users/Razesdark/followers","following_url":"https://api.github.com/users/Razesdark/following{/other_user}","gists_url":"https://api.github.com/users/Razesdark/gists{/gist_id}","starred_url":"https://api.github.com/users/Razesdark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Razesdark/subscriptions","organizations_url":"https://api.github.com/users/Razesdark/orgs","repos_url":"https://api.github.com/users/Razesdark/repos","events_url":"https://api.github.com/users/Razesdark/events{/privacy}","received_events_url":"https://api.github.com/users/Razesdark/received_events","type":"User","site_admin":false},"repo":{"id":24714817,"name":"dota","full_name":"Razesdark/dota","owner":{"login":"Razesdark","id":1438488,"avatar_url":"https://avatars.githubusercontent.com/u/1438488?v=3","gravatar_id":"","url":"https://api.github.com/users/Razesdark","html_url":"https://github.com/Razesdark","followers_url":"https://api.github.com/users/Razesdark/followers","following_url":"https://api.github.com/users/Razesdark/following{/other_user}","gists_url":"https://api.github.com/users/Razesdark/gists{/gist_id}","starred_url":"https://api.github.com/users/Razesdark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Razesdark/subscriptions","organizations_url":"https://api.github.com/users/Razesdark/orgs","repos_url":"https://api.github.com/users/Razesdark/repos","events_url":"https://api.github.com/users/Razesdark/events{/privacy}","received_events_url":"https://api.github.com/users/Razesdark/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Razesdark/dota","description":"Ruby wrapper for Dota 2 WebAPI","fork":true,"url":"https://api.github.com/repos/Razesdark/dota","forks_url":"https://api.github.com/repos/Razesdark/dota/forks","keys_url":"https://api.github.com/repos/Razesdark/dota/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Razesdark/dota/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Razesdark/dota/teams","hooks_url":"https://api.github.com/repos/Razesdark/dota/hooks","issue_events_url":"https://api.github.com/repos/Razesdark/dota/issues/events{/number}","events_url":"https://api.github.com/repos/Razesdark/dota/events","assignees_url":"https://api.github.com/repos/Razesdark/dota/assignees{/user}","branches_url":"https://api.github.com/repos/Razesdark/dota/branches{/branch}","tags_url":"https://api.github.com/repos/Razesdark/dota/tags","blobs_url":"https://api.github.com/repos/Razesdark/dota/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Razesdark/dota/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Razesdark/dota/git/refs{/sha}","trees_url":"https://api.github.com/repos/Razesdark/dota/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Razesdark/dota/statuses/{sha}","languages_url":"https://api.github.com/repos/Razesdark/dota/languages","stargazers_url":"https://api.github.com/repos/Razesdark/dota/stargazers","contributors_url":"https://api.github.com/repos/Razesdark/dota/contributors","subscribers_url":"https://api.github.com/repos/Razesdark/dota/subscribers","subscription_url":"https://api.github.com/repos/Razesdark/dota/subscription","commits_url":"https://api.github.com/repos/Razesdark/dota/commits{/sha}","git_commits_url":"https://api.github.com/repos/Razesdark/dota/git/commits{/sha}","comments_url":"https://api.github.com/repos/Razesdark/dota/comments{/number}","issue_comment_url":"https://api.github.com/repos/Razesdark/dota/issues/comments{/number}","contents_url":"https://api.github.com/repos/Razesdark/dota/contents/{+path}","compare_url":"https://api.github.com/repos/Razesdark/dota/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Razesdark/dota/merges","archive_url":"https://api.github.com/repos/Razesdark/dota/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Razesdark/dota/downloads","issues_url":"https://api.github.com/repos/Razesdark/dota/issues{/number}","pulls_url":"https://api.github.com/repos/Razesdark/dota/pulls{/number}","milestones_url":"https://api.github.com/repos/Razesdark/dota/milestones{/number}","notifications_url":"https://api.github.com/repos/Razesdark/dota/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Razesdark/dota/labels{/name}","releases_url":"https://api.github.com/repos/Razesdark/dota/releases{/id}","created_at":"2014-10-02T10:19:39Z","updated_at":"2015-04-29T04:29:35Z","pushed_at":"2015-05-19T11:34:43Z","git_url":"git://github.com/Razesdark/dota.git","ssh_url":"git@github.com:Razesdark/dota.git","clone_url":"https://github.com/Razesdark/dota.git","svn_url":"https://github.com/Razesdark/dota","homepage":null,"size":252,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"master"}},"base":{"label":"fareesh:master","ref":"master","sha":"90678c2cc6d18ec8974c935e2c0f0bb56a8db86d","user":{"login":"fareesh","id":498161,"avatar_url":"https://avatars.githubusercontent.com/u/498161?v=3","gravatar_id":"","url":"https://api.github.com/users/fareesh","html_url":"https://github.com/fareesh","followers_url":"https://api.github.com/users/fareesh/followers","following_url":"https://api.github.com/users/fareesh/following{/other_user}","gists_url":"https://api.github.com/users/fareesh/gists{/gist_id}","starred_url":"https://api.github.com/users/fareesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fareesh/subscriptions","organizations_url":"https://api.github.com/users/fareesh/orgs","repos_url":"https://api.github.com/users/fareesh/repos","events_url":"https://api.github.com/users/fareesh/events{/privacy}","received_events_url":"https://api.github.com/users/fareesh/received_events","type":"User","site_admin":false},"repo":{"id":20600604,"name":"dota","full_name":"fareesh/dota","owner":{"login":"fareesh","id":498161,"avatar_url":"https://avatars.githubusercontent.com/u/498161?v=3","gravatar_id":"","url":"https://api.github.com/users/fareesh","html_url":"https://github.com/fareesh","followers_url":"https://api.github.com/users/fareesh/followers","following_url":"https://api.github.com/users/fareesh/following{/other_user}","gists_url":"https://api.github.com/users/fareesh/gists{/gist_id}","starred_url":"https://api.github.com/users/fareesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fareesh/subscriptions","organizations_url":"https://api.github.com/users/fareesh/orgs","repos_url":"https://api.github.com/users/fareesh/repos","events_url":"https://api.github.com/users/fareesh/events{/privacy}","received_events_url":"https://api.github.com/users/fareesh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fareesh/dota","description":"Ruby wrapper for Dota 2 WebAPI","fork":true,"url":"https://api.github.com/repos/fareesh/dota","forks_url":"https://api.github.com/repos/fareesh/dota/forks","keys_url":"https://api.github.com/repos/fareesh/dota/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fareesh/dota/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fareesh/dota/teams","hooks_url":"https://api.github.com/repos/fareesh/dota/hooks","issue_events_url":"https://api.github.com/repos/fareesh/dota/issues/events{/number}","events_url":"https://api.github.com/repos/fareesh/dota/events","assignees_url":"https://api.github.com/repos/fareesh/dota/assignees{/user}","branches_url":"https://api.github.com/repos/fareesh/dota/branches{/branch}","tags_url":"https://api.github.com/repos/fareesh/dota/tags","blobs_url":"https://api.github.com/repos/fareesh/dota/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fareesh/dota/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fareesh/dota/git/refs{/sha}","trees_url":"https://api.github.com/repos/fareesh/dota/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fareesh/dota/statuses/{sha}","languages_url":"https://api.github.com/repos/fareesh/dota/languages","stargazers_url":"https://api.github.com/repos/fareesh/dota/stargazers","contributors_url":"https://api.github.com/repos/fareesh/dota/contributors","subscribers_url":"https://api.github.com/repos/fareesh/dota/subscribers","subscription_url":"https://api.github.com/repos/fareesh/dota/subscription","commits_url":"https://api.github.com/repos/fareesh/dota/commits{/sha}","git_commits_url":"https://api.github.com/repos/fareesh/dota/git/commits{/sha}","comments_url":"https://api.github.com/repos/fareesh/dota/comments{/number}","issue_comment_url":"https://api.github.com/repos/fareesh/dota/issues/comments{/number}","contents_url":"https://api.github.com/repos/fareesh/dota/contents/{+path}","compare_url":"https://api.github.com/repos/fareesh/dota/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fareesh/dota/merges","archive_url":"https://api.github.com/repos/fareesh/dota/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fareesh/dota/downloads","issues_url":"https://api.github.com/repos/fareesh/dota/issues{/number}","pulls_url":"https://api.github.com/repos/fareesh/dota/pulls{/number}","milestones_url":"https://api.github.com/repos/fareesh/dota/milestones{/number}","notifications_url":"https://api.github.com/repos/fareesh/dota/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fareesh/dota/labels{/name}","releases_url":"https://api.github.com/repos/fareesh/dota/releases{/id}","created_at":"2014-06-07T19:07:54Z","updated_at":"2014-12-11T19:12:18Z","pushed_at":"2015-05-19T11:36:00Z","git_url":"git://github.com/fareesh/dota.git","ssh_url":"git@github.com:fareesh/dota.git","clone_url":"https://github.com/fareesh/dota.git","svn_url":"https://github.com/fareesh/dota","homepage":null,"size":241,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fareesh/dota/pulls/2"},"html":{"href":"https://github.com/fareesh/dota/pull/2"},"issue":{"href":"https://api.github.com/repos/fareesh/dota/issues/2"},"comments":{"href":"https://api.github.com/repos/fareesh/dota/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/fareesh/dota/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/fareesh/dota/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fareesh/dota/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/fareesh/dota/statuses/306abc7d7268b23b09452bb7e2105e55d275071e"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1188,"deletions":1010,"changed_files":7}}