{"action":"created","comment":{"url":"https://api.github.com/repos/soygul/crowner/pulls/comments/94041666","pull_request_review_id":14571934,"id":94041666,"diff_hunk":"@@ -10,18 +10,19 @@ window.crowner.getStats = (localStorage) => {\n       money: _.random(40, 80),\n       health: _.random(40, 80),\n       morality: 50,\n-      ongoingAffairs: ['fresh-start'], // ongoing matters like disaster, marriage, war, etc., see schema definition below\n+      ongoingAffairs: [{id: 'fresh-start'}], // ongoing matters like disaster, marriage, war, etc., see schema definition below\n       eventLog: [] // stores IDs of selected events and choices, see schema definition below\n     }\n   }\n \n   stats.ongoingAffairs.schema = [\n-    'marriage',\n-    'plague',\n+    {id: 'marriage'},\n+    {id: 'plague'},\n     {\n       id: 'curse',\n-      ongoing: 5, // turns\n-      stats: {health: -10, money: -10} // per turn\n+      followUps: [","path":"game/stats.js","position":19,"original_position":19,"commit_id":"6ff700d3ee5d45475550df8e2f9521312c5df909","original_commit_id":"6ff700d3ee5d45475550df8e2f9521312c5df909","user":{"login":"soygul","id":617171,"avatar_url":"https://avatars.githubusercontent.com/u/617171?v=3","gravatar_id":"","url":"https://api.github.com/users/soygul","html_url":"https://github.com/soygul","followers_url":"https://api.github.com/users/soygul/followers","following_url":"https://api.github.com/users/soygul/following{/other_user}","gists_url":"https://api.github.com/users/soygul/gists{/gist_id}","starred_url":"https://api.github.com/users/soygul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soygul/subscriptions","organizations_url":"https://api.github.com/users/soygul/orgs","repos_url":"https://api.github.com/users/soygul/repos","events_url":"https://api.github.com/users/soygul/events{/privacy}","received_events_url":"https://api.github.com/users/soygul/received_events","type":"User","site_admin":false},"body":"legacied by on-startup folowup finder code","created_at":"2016-12-28T15:03:46Z","updated_at":"2016-12-28T15:03:46Z","html_url":"https://github.com/soygul/crowner/pull/57#discussion_r94041666","pull_request_url":"https://api.github.com/repos/soygul/crowner/pulls/57","_links":{"self":{"href":"https://api.github.com/repos/soygul/crowner/pulls/comments/94041666"},"html":{"href":"https://github.com/soygul/crowner/pull/57#discussion_r94041666"},"pull_request":{"href":"https://api.github.com/repos/soygul/crowner/pulls/57"}}},"pull_request":{"url":"https://api.github.com/repos/soygul/crowner/pulls/57","id":96065298,"html_url":"https://github.com/soygul/crowner/pull/57","diff_url":"https://github.com/soygul/crowner/pull/57.diff","patch_url":"https://github.com/soygul/crowner/pull/57.patch","issue_url":"https://api.github.com/repos/soygul/crowner/issues/57","number":57,"state":"open","locked":false,"title":"Expanded affairs","user":{"login":"soygul","id":617171,"avatar_url":"https://avatars.githubusercontent.com/u/617171?v=3","gravatar_id":"","url":"https://api.github.com/users/soygul","html_url":"https://github.com/soygul","followers_url":"https://api.github.com/users/soygul/followers","following_url":"https://api.github.com/users/soygul/following{/other_user}","gists_url":"https://api.github.com/users/soygul/gists{/gist_id}","starred_url":"https://api.github.com/users/soygul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soygul/subscriptions","organizations_url":"https://api.github.com/users/soygul/orgs","repos_url":"https://api.github.com/users/soygul/repos","events_url":"https://api.github.com/users/soygul/events{/privacy}","received_events_url":"https://api.github.com/users/soygul/received_events","type":"User","site_admin":false},"body":"Fixes #55 - ongoinAffairs expension & Priority event optimization\r\n\r\nPerformance gain from this is questionable though. Might be going over 100 priority events or so.","created_at":"2016-12-01T10:50:08Z","updated_at":"2016-12-28T15:03:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3d4bbaa72d76c69dc415cfcd66053b694bd0e1c2","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/soygul/crowner/pulls/57/commits","review_comments_url":"https://api.github.com/repos/soygul/crowner/pulls/57/comments","review_comment_url":"https://api.github.com/repos/soygul/crowner/pulls/comments{/number}","comments_url":"https://api.github.com/repos/soygul/crowner/issues/57/comments","statuses_url":"https://api.github.com/repos/soygul/crowner/statuses/6ff700d3ee5d45475550df8e2f9521312c5df909","head":{"label":"soygul:expanded-affairs","ref":"expanded-affairs","sha":"6ff700d3ee5d45475550df8e2f9521312c5df909","user":{"login":"soygul","id":617171,"avatar_url":"https://avatars.githubusercontent.com/u/617171?v=3","gravatar_id":"","url":"https://api.github.com/users/soygul","html_url":"https://github.com/soygul","followers_url":"https://api.github.com/users/soygul/followers","following_url":"https://api.github.com/users/soygul/following{/other_user}","gists_url":"https://api.github.com/users/soygul/gists{/gist_id}","starred_url":"https://api.github.com/users/soygul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soygul/subscriptions","organizations_url":"https://api.github.com/users/soygul/orgs","repos_url":"https://api.github.com/users/soygul/repos","events_url":"https://api.github.com/users/soygul/events{/privacy}","received_events_url":"https://api.github.com/users/soygul/received_events","type":"User","site_admin":false},"repo":{"id":70802772,"name":"crowner","full_name":"soygul/crowner","owner":{"login":"soygul","id":617171,"avatar_url":"https://avatars.githubusercontent.com/u/617171?v=3","gravatar_id":"","url":"https://api.github.com/users/soygul","html_url":"https://github.com/soygul","followers_url":"https://api.github.com/users/soygul/followers","following_url":"https://api.github.com/users/soygul/following{/other_user}","gists_url":"https://api.github.com/users/soygul/gists{/gist_id}","starred_url":"https://api.github.com/users/soygul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soygul/subscriptions","organizations_url":"https://api.github.com/users/soygul/orgs","repos_url":"https://api.github.com/users/soygul/repos","events_url":"https://api.github.com/users/soygul/events{/privacy}","received_events_url":"https://api.github.com/users/soygul/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/soygul/crowner","description":null,"fork":false,"url":"https://api.github.com/repos/soygul/crowner","forks_url":"https://api.github.com/repos/soygul/crowner/forks","keys_url":"https://api.github.com/repos/soygul/crowner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/soygul/crowner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/soygul/crowner/teams","hooks_url":"https://api.github.com/repos/soygul/crowner/hooks","issue_events_url":"https://api.github.com/repos/soygul/crowner/issues/events{/number}","events_url":"https://api.github.com/repos/soygul/crowner/events","assignees_url":"https://api.github.com/repos/soygul/crowner/assignees{/user}","branches_url":"https://api.github.com/repos/soygul/crowner/branches{/branch}","tags_url":"https://api.github.com/repos/soygul/crowner/tags","blobs_url":"https://api.github.com/repos/soygul/crowner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/soygul/crowner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/soygul/crowner/git/refs{/sha}","trees_url":"https://api.github.com/repos/soygul/crowner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/soygul/crowner/statuses/{sha}","languages_url":"https://api.github.com/repos/soygul/crowner/languages","stargazers_url":"https://api.github.com/repos/soygul/crowner/stargazers","contributors_url":"https://api.github.com/repos/soygul/crowner/contributors","subscribers_url":"https://api.github.com/repos/soygul/crowner/subscribers","subscription_url":"https://api.github.com/repos/soygul/crowner/subscription","commits_url":"https://api.github.com/repos/soygul/crowner/commits{/sha}","git_commits_url":"https://api.github.com/repos/soygul/crowner/git/commits{/sha}","comments_url":"https://api.github.com/repos/soygul/crowner/comments{/number}","issue_comment_url":"https://api.github.com/repos/soygul/crowner/issues/comments{/number}","contents_url":"https://api.github.com/repos/soygul/crowner/contents/{+path}","compare_url":"https://api.github.com/repos/soygul/crowner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/soygul/crowner/merges","archive_url":"https://api.github.com/repos/soygul/crowner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/soygul/crowner/downloads","issues_url":"https://api.github.com/repos/soygul/crowner/issues{/number}","pulls_url":"https://api.github.com/repos/soygul/crowner/pulls{/number}","milestones_url":"https://api.github.com/repos/soygul/crowner/milestones{/number}","notifications_url":"https://api.github.com/repos/soygul/crowner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/soygul/crowner/labels{/name}","releases_url":"https://api.github.com/repos/soygul/crowner/releases{/id}","deployments_url":"https://api.github.com/repos/soygul/crowner/deployments","created_at":"2016-10-13T12:10:51Z","updated_at":"2016-10-23T12:47:39Z","pushed_at":"2016-12-28T15:01:33Z","git_url":"git://github.com/soygul/crowner.git","ssh_url":"git@github.com:soygul/crowner.git","clone_url":"https://github.com/soygul/crowner.git","svn_url":"https://github.com/soygul/crowner","homepage":"","size":12994,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":31,"forks":0,"open_issues":31,"watchers":0,"default_branch":"master"}},"base":{"label":"soygul:master","ref":"master","sha":"0d54d6e579b87daf81589aadba0ceea7ccbf5226","user":{"login":"soygul","id":617171,"avatar_url":"https://avatars.githubusercontent.com/u/617171?v=3","gravatar_id":"","url":"https://api.github.com/users/soygul","html_url":"https://github.com/soygul","followers_url":"https://api.github.com/users/soygul/followers","following_url":"https://api.github.com/users/soygul/following{/other_user}","gists_url":"https://api.github.com/users/soygul/gists{/gist_id}","starred_url":"https://api.github.com/users/soygul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soygul/subscriptions","organizations_url":"https://api.github.com/users/soygul/orgs","repos_url":"https://api.github.com/users/soygul/repos","events_url":"https://api.github.com/users/soygul/events{/privacy}","received_events_url":"https://api.github.com/users/soygul/received_events","type":"User","site_admin":false},"repo":{"id":70802772,"name":"crowner","full_name":"soygul/crowner","owner":{"login":"soygul","id":617171,"avatar_url":"https://avatars.githubusercontent.com/u/617171?v=3","gravatar_id":"","url":"https://api.github.com/users/soygul","html_url":"https://github.com/soygul","followers_url":"https://api.github.com/users/soygul/followers","following_url":"https://api.github.com/users/soygul/following{/other_user}","gists_url":"https://api.github.com/users/soygul/gists{/gist_id}","starred_url":"https://api.github.com/users/soygul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soygul/subscriptions","organizations_url":"https://api.github.com/users/soygul/orgs","repos_url":"https://api.github.com/users/soygul/repos","events_url":"https://api.github.com/users/soygul/events{/privacy}","received_events_url":"https://api.github.com/users/soygul/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/soygul/crowner","description":null,"fork":false,"url":"https://api.github.com/repos/soygul/crowner","forks_url":"https://api.github.com/repos/soygul/crowner/forks","keys_url":"https://api.github.com/repos/soygul/crowner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/soygul/crowner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/soygul/crowner/teams","hooks_url":"https://api.github.com/repos/soygul/crowner/hooks","issue_events_url":"https://api.github.com/repos/soygul/crowner/issues/events{/number}","events_url":"https://api.github.com/repos/soygul/crowner/events","assignees_url":"https://api.github.com/repos/soygul/crowner/assignees{/user}","branches_url":"https://api.github.com/repos/soygul/crowner/branches{/branch}","tags_url":"https://api.github.com/repos/soygul/crowner/tags","blobs_url":"https://api.github.com/repos/soygul/crowner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/soygul/crowner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/soygul/crowner/git/refs{/sha}","trees_url":"https://api.github.com/repos/soygul/crowner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/soygul/crowner/statuses/{sha}","languages_url":"https://api.github.com/repos/soygul/crowner/languages","stargazers_url":"https://api.github.com/repos/soygul/crowner/stargazers","contributors_url":"https://api.github.com/repos/soygul/crowner/contributors","subscribers_url":"https://api.github.com/repos/soygul/crowner/subscribers","subscription_url":"https://api.github.com/repos/soygul/crowner/subscription","commits_url":"https://api.github.com/repos/soygul/crowner/commits{/sha}","git_commits_url":"https://api.github.com/repos/soygul/crowner/git/commits{/sha}","comments_url":"https://api.github.com/repos/soygul/crowner/comments{/number}","issue_comment_url":"https://api.github.com/repos/soygul/crowner/issues/comments{/number}","contents_url":"https://api.github.com/repos/soygul/crowner/contents/{+path}","compare_url":"https://api.github.com/repos/soygul/crowner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/soygul/crowner/merges","archive_url":"https://api.github.com/repos/soygul/crowner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/soygul/crowner/downloads","issues_url":"https://api.github.com/repos/soygul/crowner/issues{/number}","pulls_url":"https://api.github.com/repos/soygul/crowner/pulls{/number}","milestones_url":"https://api.github.com/repos/soygul/crowner/milestones{/number}","notifications_url":"https://api.github.com/repos/soygul/crowner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/soygul/crowner/labels{/name}","releases_url":"https://api.github.com/repos/soygul/crowner/releases{/id}","deployments_url":"https://api.github.com/repos/soygul/crowner/deployments","created_at":"2016-10-13T12:10:51Z","updated_at":"2016-10-23T12:47:39Z","pushed_at":"2016-12-28T15:01:33Z","git_url":"git://github.com/soygul/crowner.git","ssh_url":"git@github.com:soygul/crowner.git","clone_url":"https://github.com/soygul/crowner.git","svn_url":"https://github.com/soygul/crowner","homepage":"","size":12994,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":31,"forks":0,"open_issues":31,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/soygul/crowner/pulls/57"},"html":{"href":"https://github.com/soygul/crowner/pull/57"},"issue":{"href":"https://api.github.com/repos/soygul/crowner/issues/57"},"comments":{"href":"https://api.github.com/repos/soygul/crowner/issues/57/comments"},"review_comments":{"href":"https://api.github.com/repos/soygul/crowner/pulls/57/comments"},"review_comment":{"href":"https://api.github.com/repos/soygul/crowner/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/soygul/crowner/pulls/57/commits"},"statuses":{"href":"https://api.github.com/repos/soygul/crowner/statuses/6ff700d3ee5d45475550df8e2f9521312c5df909"}}}}
{"actor":{"display_login":"soygul"}}