{"action":"opened","number":334,"pull_request":{"url":"https://api.github.com/repos/ToontownInfinite/src/pulls/334","id":30734243,"html_url":"https://github.com/ToontownInfinite/src/pull/334","diff_url":"https://github.com/ToontownInfinite/src/pull/334.diff","patch_url":"https://github.com/ToontownInfinite/src/pull/334.patch","issue_url":"https://api.github.com/repos/ToontownInfinite/src/issues/334","number":334,"state":"open","locked":false,"title":"Unite/Sos Rewards","user":{"login":"horseymcneighneigh","id":10934210,"avatar_url":"https://avatars.githubusercontent.com/u/10934210?v=3","gravatar_id":"","url":"https://api.github.com/users/horseymcneighneigh","html_url":"https://github.com/horseymcneighneigh","followers_url":"https://api.github.com/users/horseymcneighneigh/followers","following_url":"https://api.github.com/users/horseymcneighneigh/following{/other_user}","gists_url":"https://api.github.com/users/horseymcneighneigh/gists{/gist_id}","starred_url":"https://api.github.com/users/horseymcneighneigh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/horseymcneighneigh/subscriptions","organizations_url":"https://api.github.com/users/horseymcneighneigh/orgs","repos_url":"https://api.github.com/users/horseymcneighneigh/repos","events_url":"https://api.github.com/users/horseymcneighneigh/events{/privacy}","received_events_url":"https://api.github.com/users/horseymcneighneigh/received_events","type":"User","site_admin":false},"body":"class SosReward(Reward):\r\n\tdef __init__(self, id, reward):\r\n\t\tReward.__init__(self, id, reward)\r\n\t\t\r\n\tdef getAmount(self):\r\n\t\treturn self.reward[0]\r\n\t\r\n\tdef getSosId(self):\r\n\t\treturn self.reward[1]\r\n\t\t\r\n\tdef sendRewardAI(self, av):\r\n\t\tsosId = self.getSosId()\r\n\t\tsosamt = self.getAmount()\r\n\t\tav.attemptAddNPCFriend(sosId, sosamt)\r\n\t\t\r\n\tdef countReward(self, qrc):\r\n\t\tpass \r\n\t\r\n\tdef getString(self):\r\n\t\treturn TTLocalizer.QuestsSosReward\r\n\t\t\r\n\tdef getPosterString(self):\r\n\t\treturn TTLocalizer.QuestsSosRewardPoster\r\n\t\t\r\nclass UniteReward(Reward):\r\n\tdef __init__(self, id, reward):\r\n\t\tReward.__init__(self, id, reward)\r\n\t\t\r\n\tdef getAmount(self):\r\n\t\treturn self.reward[0]\r\n\t\t\r\n\tdef sendRewardAI(self, av):\r\n\t\tuniteID = self.getAmount()\r\n\t\tav.addResistanceMessage(uniteID)\r\n\t\t\r\n\tdef countReward(self, qrc):\r\n\t\tpass \r\n\t\r\n\tdef getString(self):\r\n\t\treturn TTLocalizer.QuestsUniteReward\r\n\t\t\r\n\tdef getPosterString(self):\r\n\t\treturn TTLocalizer.QuestsUniteRewardPoster\r\n\r\n-----\r\nThe Posters :\r\n\r\nQuestsSosReward = 'You now have an SOS reward.'\r\nQuestsSosRewardPoster = 'Reward : SOS Reward'\r\nQuestsUniteReward = 'You now have a unite reward.'\r\nQuestsUniteRewardPoster= 'Reward : Unite Reward'","created_at":"2015-03-09T03:33:14Z","updated_at":"2015-03-09T03:33:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ToontownInfinite/src/pulls/334/commits","review_comments_url":"https://api.github.com/repos/ToontownInfinite/src/pulls/334/comments","review_comment_url":"https://api.github.com/repos/ToontownInfinite/src/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ToontownInfinite/src/issues/334/comments","statuses_url":"https://api.github.com/repos/ToontownInfinite/src/statuses/6d847f4555aff6cae13fbe96e259fb8b8b9d303a","head":{"label":"toontownfellowship:master","ref":"master","sha":"6d847f4555aff6cae13fbe96e259fb8b8b9d303a","user":{"login":"toontownfellowship","id":10491185,"avatar_url":"https://avatars.githubusercontent.com/u/10491185?v=3","gravatar_id":"","url":"https://api.github.com/users/toontownfellowship","html_url":"https://github.com/toontownfellowship","followers_url":"https://api.github.com/users/toontownfellowship/followers","following_url":"https://api.github.com/users/toontownfellowship/following{/other_user}","gists_url":"https://api.github.com/users/toontownfellowship/gists{/gist_id}","starred_url":"https://api.github.com/users/toontownfellowship/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toontownfellowship/subscriptions","organizations_url":"https://api.github.com/users/toontownfellowship/orgs","repos_url":"https://api.github.com/users/toontownfellowship/repos","events_url":"https://api.github.com/users/toontownfellowship/events{/privacy}","received_events_url":"https://api.github.com/users/toontownfellowship/received_events","type":"Organization","site_admin":false},"repo":{"id":29111281,"name":"src","full_name":"toontownfellowship/src","owner":{"login":"toontownfellowship","id":10491185,"avatar_url":"https://avatars.githubusercontent.com/u/10491185?v=3","gravatar_id":"","url":"https://api.github.com/users/toontownfellowship","html_url":"https://github.com/toontownfellowship","followers_url":"https://api.github.com/users/toontownfellowship/followers","following_url":"https://api.github.com/users/toontownfellowship/following{/other_user}","gists_url":"https://api.github.com/users/toontownfellowship/gists{/gist_id}","starred_url":"https://api.github.com/users/toontownfellowship/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toontownfellowship/subscriptions","organizations_url":"https://api.github.com/users/toontownfellowship/orgs","repos_url":"https://api.github.com/users/toontownfellowship/repos","events_url":"https://api.github.com/users/toontownfellowship/events{/privacy}","received_events_url":"https://api.github.com/users/toontownfellowship/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/toontownfellowship/src","description":"Game source code.","fork":true,"url":"https://api.github.com/repos/toontownfellowship/src","forks_url":"https://api.github.com/repos/toontownfellowship/src/forks","keys_url":"https://api.github.com/repos/toontownfellowship/src/keys{/key_id}","collaborators_url":"https://api.github.com/repos/toontownfellowship/src/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/toontownfellowship/src/teams","hooks_url":"https://api.github.com/repos/toontownfellowship/src/hooks","issue_events_url":"https://api.github.com/repos/toontownfellowship/src/issues/events{/number}","events_url":"https://api.github.com/repos/toontownfellowship/src/events","assignees_url":"https://api.github.com/repos/toontownfellowship/src/assignees{/user}","branches_url":"https://api.github.com/repos/toontownfellowship/src/branches{/branch}","tags_url":"https://api.github.com/repos/toontownfellowship/src/tags","blobs_url":"https://api.github.com/repos/toontownfellowship/src/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/toontownfellowship/src/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/toontownfellowship/src/git/refs{/sha}","trees_url":"https://api.github.com/repos/toontownfellowship/src/git/trees{/sha}","statuses_url":"https://api.github.com/repos/toontownfellowship/src/statuses/{sha}","languages_url":"https://api.github.com/repos/toontownfellowship/src/languages","stargazers_url":"https://api.github.com/repos/toontownfellowship/src/stargazers","contributors_url":"https://api.github.com/repos/toontownfellowship/src/contributors","subscribers_url":"https://api.github.com/repos/toontownfellowship/src/subscribers","subscription_url":"https://api.github.com/repos/toontownfellowship/src/subscription","commits_url":"https://api.github.com/repos/toontownfellowship/src/commits{/sha}","git_commits_url":"https://api.github.com/repos/toontownfellowship/src/git/commits{/sha}","comments_url":"https://api.github.com/repos/toontownfellowship/src/comments{/number}","issue_comment_url":"https://api.github.com/repos/toontownfellowship/src/issues/comments{/number}","contents_url":"https://api.github.com/repos/toontownfellowship/src/contents/{+path}","compare_url":"https://api.github.com/repos/toontownfellowship/src/compare/{base}...{head}","merges_url":"https://api.github.com/repos/toontownfellowship/src/merges","archive_url":"https://api.github.com/repos/toontownfellowship/src/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/toontownfellowship/src/downloads","issues_url":"https://api.github.com/repos/toontownfellowship/src/issues{/number}","pulls_url":"https://api.github.com/repos/toontownfellowship/src/pulls{/number}","milestones_url":"https://api.github.com/repos/toontownfellowship/src/milestones{/number}","notifications_url":"https://api.github.com/repos/toontownfellowship/src/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/toontownfellowship/src/labels{/name}","releases_url":"https://api.github.com/repos/toontownfellowship/src/releases{/id}","created_at":"2015-01-12T00:10:21Z","updated_at":"2015-03-07T16:28:54Z","pushed_at":"2015-03-07T16:29:06Z","git_url":"git://github.com/toontownfellowship/src.git","ssh_url":"git@github.com:toontownfellowship/src.git","clone_url":"https://github.com/toontownfellowship/src.git","svn_url":"https://github.com/toontownfellowship/src","homepage":"https://toontownfellowship.com","size":92569,"stargazers_count":9,"watchers_count":9,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":37,"mirror_url":null,"open_issues_count":7,"forks":37,"open_issues":7,"watchers":9,"default_branch":"master"}},"base":{"label":"ToontownInfinite:master","ref":"master","sha":"dd1c7ed93f000f9d5efd962b6138ecea40cc9616","user":{"login":"ToontownInfinite","id":8052171,"avatar_url":"https://avatars.githubusercontent.com/u/8052171?v=3","gravatar_id":"","url":"https://api.github.com/users/ToontownInfinite","html_url":"https://github.com/ToontownInfinite","followers_url":"https://api.github.com/users/ToontownInfinite/followers","following_url":"https://api.github.com/users/ToontownInfinite/following{/other_user}","gists_url":"https://api.github.com/users/ToontownInfinite/gists{/gist_id}","starred_url":"https://api.github.com/users/ToontownInfinite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ToontownInfinite/subscriptions","organizations_url":"https://api.github.com/users/ToontownInfinite/orgs","repos_url":"https://api.github.com/users/ToontownInfinite/repos","events_url":"https://api.github.com/users/ToontownInfinite/events{/privacy}","received_events_url":"https://api.github.com/users/ToontownInfinite/received_events","type":"Organization","site_admin":false},"repo":{"id":19288763,"name":"src","full_name":"ToontownInfinite/src","owner":{"login":"ToontownInfinite","id":8052171,"avatar_url":"https://avatars.githubusercontent.com/u/8052171?v=3","gravatar_id":"","url":"https://api.github.com/users/ToontownInfinite","html_url":"https://github.com/ToontownInfinite","followers_url":"https://api.github.com/users/ToontownInfinite/followers","following_url":"https://api.github.com/users/ToontownInfinite/following{/other_user}","gists_url":"https://api.github.com/users/ToontownInfinite/gists{/gist_id}","starred_url":"https://api.github.com/users/ToontownInfinite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ToontownInfinite/subscriptions","organizations_url":"https://api.github.com/users/ToontownInfinite/orgs","repos_url":"https://api.github.com/users/ToontownInfinite/repos","events_url":"https://api.github.com/users/ToontownInfinite/events{/privacy}","received_events_url":"https://api.github.com/users/ToontownInfinite/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ToontownInfinite/src","description":"Game source code.","fork":false,"url":"https://api.github.com/repos/ToontownInfinite/src","forks_url":"https://api.github.com/repos/ToontownInfinite/src/forks","keys_url":"https://api.github.com/repos/ToontownInfinite/src/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ToontownInfinite/src/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ToontownInfinite/src/teams","hooks_url":"https://api.github.com/repos/ToontownInfinite/src/hooks","issue_events_url":"https://api.github.com/repos/ToontownInfinite/src/issues/events{/number}","events_url":"https://api.github.com/repos/ToontownInfinite/src/events","assignees_url":"https://api.github.com/repos/ToontownInfinite/src/assignees{/user}","branches_url":"https://api.github.com/repos/ToontownInfinite/src/branches{/branch}","tags_url":"https://api.github.com/repos/ToontownInfinite/src/tags","blobs_url":"https://api.github.com/repos/ToontownInfinite/src/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ToontownInfinite/src/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ToontownInfinite/src/git/refs{/sha}","trees_url":"https://api.github.com/repos/ToontownInfinite/src/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ToontownInfinite/src/statuses/{sha}","languages_url":"https://api.github.com/repos/ToontownInfinite/src/languages","stargazers_url":"https://api.github.com/repos/ToontownInfinite/src/stargazers","contributors_url":"https://api.github.com/repos/ToontownInfinite/src/contributors","subscribers_url":"https://api.github.com/repos/ToontownInfinite/src/subscribers","subscription_url":"https://api.github.com/repos/ToontownInfinite/src/subscription","commits_url":"https://api.github.com/repos/ToontownInfinite/src/commits{/sha}","git_commits_url":"https://api.github.com/repos/ToontownInfinite/src/git/commits{/sha}","comments_url":"https://api.github.com/repos/ToontownInfinite/src/comments{/number}","issue_comment_url":"https://api.github.com/repos/ToontownInfinite/src/issues/comments{/number}","contents_url":"https://api.github.com/repos/ToontownInfinite/src/contents/{+path}","compare_url":"https://api.github.com/repos/ToontownInfinite/src/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ToontownInfinite/src/merges","archive_url":"https://api.github.com/repos/ToontownInfinite/src/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ToontownInfinite/src/downloads","issues_url":"https://api.github.com/repos/ToontownInfinite/src/issues{/number}","pulls_url":"https://api.github.com/repos/ToontownInfinite/src/pulls{/number}","milestones_url":"https://api.github.com/repos/ToontownInfinite/src/milestones{/number}","notifications_url":"https://api.github.com/repos/ToontownInfinite/src/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ToontownInfinite/src/labels{/name}","releases_url":"https://api.github.com/repos/ToontownInfinite/src/releases{/id}","created_at":"2014-04-29T19:22:32Z","updated_at":"2015-02-27T20:37:20Z","pushed_at":"2015-01-20T04:05:25Z","git_url":"git://github.com/ToontownInfinite/src.git","ssh_url":"git@github.com:ToontownInfinite/src.git","clone_url":"https://github.com/ToontownInfinite/src.git","svn_url":"https://github.com/ToontownInfinite/src","homepage":"https://toontowninfinite.com/","size":95965,"stargazers_count":9,"watchers_count":9,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":56,"mirror_url":null,"open_issues_count":48,"forks":56,"open_issues":48,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ToontownInfinite/src/pulls/334"},"html":{"href":"https://github.com/ToontownInfinite/src/pull/334"},"issue":{"href":"https://api.github.com/repos/ToontownInfinite/src/issues/334"},"comments":{"href":"https://api.github.com/repos/ToontownInfinite/src/issues/334/comments"},"review_comments":{"href":"https://api.github.com/repos/ToontownInfinite/src/pulls/334/comments"},"review_comment":{"href":"https://api.github.com/repos/ToontownInfinite/src/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ToontownInfinite/src/pulls/334/commits"},"statuses":{"href":"https://api.github.com/repos/ToontownInfinite/src/statuses/6d847f4555aff6cae13fbe96e259fb8b8b9d303a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":424,"additions":46725,"deletions":1428,"changed_files":178}}