{"action":"opened","number":522,"pull_request":{"url":"https://api.github.com/repos/CQUI-Org/cqui/pulls/522","id":119349573,"html_url":"https://github.com/CQUI-Org/cqui/pull/522","diff_url":"https://github.com/CQUI-Org/cqui/pull/522.diff","patch_url":"https://github.com/CQUI-Org/cqui/pull/522.patch","issue_url":"https://api.github.com/repos/CQUI-Org/cqui/issues/522","number":522,"state":"open","locked":false,"title":"Show leader icon in City state banner when Suzerain","user":{"login":"SpaceOgre","id":381657,"avatar_url":"https://avatars0.githubusercontent.com/u/381657?v=3","gravatar_id":"","url":"https://api.github.com/users/SpaceOgre","html_url":"https://github.com/SpaceOgre","followers_url":"https://api.github.com/users/SpaceOgre/followers","following_url":"https://api.github.com/users/SpaceOgre/following{/other_user}","gists_url":"https://api.github.com/users/SpaceOgre/gists{/gist_id}","starred_url":"https://api.github.com/users/SpaceOgre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpaceOgre/subscriptions","organizations_url":"https://api.github.com/users/SpaceOgre/orgs","repos_url":"https://api.github.com/users/SpaceOgre/repos","events_url":"https://api.github.com/users/SpaceOgre/events{/privacy}","received_events_url":"https://api.github.com/users/SpaceOgre/received_events","type":"User","site_admin":false},"body":"Resolves #384 \r\n\r\nThis will show the leader icon in the city banner for the suzerain:\r\n![image](https://cloud.githubusercontent.com/assets/381657/25783978/a3facdd0-3365-11e7-85e3-fdc86985d312.png) \r\n![image](https://cloud.githubusercontent.com/assets/381657/25783986/c4b8291e-3365-11e7-9aef-e407bdf00998.png)\r\n\r\nIf you have not met the leader yet it will be a question mark.\r\n\r\nIt seems like shifts of suzerains are handled in dll's so the InfluenceGiven event was the best I could come up with without tracking down all places that can cause a Suzerain shift. The bad thing is that it will fire one time for each envoy spent but it seems to not be a problem in my tests.\r\n\r\n","created_at":"2017-05-07T18:45:58Z","updated_at":"2017-05-07T18:45:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/CQUI-Org/cqui/pulls/522/commits","review_comments_url":"https://api.github.com/repos/CQUI-Org/cqui/pulls/522/comments","review_comment_url":"https://api.github.com/repos/CQUI-Org/cqui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CQUI-Org/cqui/issues/522/comments","statuses_url":"https://api.github.com/repos/CQUI-Org/cqui/statuses/06f588cc71867bfb5d531446abb4c93dd383589c","head":{"label":"CQUI-Org:Feature384","ref":"Feature384","sha":"06f588cc71867bfb5d531446abb4c93dd383589c","user":{"login":"CQUI-Org","id":26508893,"avatar_url":"https://avatars1.githubusercontent.com/u/26508893?v=3","gravatar_id":"","url":"https://api.github.com/users/CQUI-Org","html_url":"https://github.com/CQUI-Org","followers_url":"https://api.github.com/users/CQUI-Org/followers","following_url":"https://api.github.com/users/CQUI-Org/following{/other_user}","gists_url":"https://api.github.com/users/CQUI-Org/gists{/gist_id}","starred_url":"https://api.github.com/users/CQUI-Org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CQUI-Org/subscriptions","organizations_url":"https://api.github.com/users/CQUI-Org/orgs","repos_url":"https://api.github.com/users/CQUI-Org/repos","events_url":"https://api.github.com/users/CQUI-Org/events{/privacy}","received_events_url":"https://api.github.com/users/CQUI-Org/received_events","type":"Organization","site_admin":false},"repo":{"id":71787138,"name":"cqui","full_name":"CQUI-Org/cqui","owner":{"login":"CQUI-Org","id":26508893,"avatar_url":"https://avatars1.githubusercontent.com/u/26508893?v=3","gravatar_id":"","url":"https://api.github.com/users/CQUI-Org","html_url":"https://github.com/CQUI-Org","followers_url":"https://api.github.com/users/CQUI-Org/followers","following_url":"https://api.github.com/users/CQUI-Org/following{/other_user}","gists_url":"https://api.github.com/users/CQUI-Org/gists{/gist_id}","starred_url":"https://api.github.com/users/CQUI-Org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CQUI-Org/subscriptions","organizations_url":"https://api.github.com/users/CQUI-Org/orgs","repos_url":"https://api.github.com/users/CQUI-Org/repos","events_url":"https://api.github.com/users/CQUI-Org/events{/privacy}","received_events_url":"https://api.github.com/users/CQUI-Org/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CQUI-Org/cqui","description":"Civilization 6 - Chao's Quick UI.  Reduce clicks and manage your empire faster!","fork":true,"url":"https://api.github.com/repos/CQUI-Org/cqui","forks_url":"https://api.github.com/repos/CQUI-Org/cqui/forks","keys_url":"https://api.github.com/repos/CQUI-Org/cqui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CQUI-Org/cqui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CQUI-Org/cqui/teams","hooks_url":"https://api.github.com/repos/CQUI-Org/cqui/hooks","issue_events_url":"https://api.github.com/repos/CQUI-Org/cqui/issues/events{/number}","events_url":"https://api.github.com/repos/CQUI-Org/cqui/events","assignees_url":"https://api.github.com/repos/CQUI-Org/cqui/assignees{/user}","branches_url":"https://api.github.com/repos/CQUI-Org/cqui/branches{/branch}","tags_url":"https://api.github.com/repos/CQUI-Org/cqui/tags","blobs_url":"https://api.github.com/repos/CQUI-Org/cqui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CQUI-Org/cqui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CQUI-Org/cqui/git/refs{/sha}","trees_url":"https://api.github.com/repos/CQUI-Org/cqui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CQUI-Org/cqui/statuses/{sha}","languages_url":"https://api.github.com/repos/CQUI-Org/cqui/languages","stargazers_url":"https://api.github.com/repos/CQUI-Org/cqui/stargazers","contributors_url":"https://api.github.com/repos/CQUI-Org/cqui/contributors","subscribers_url":"https://api.github.com/repos/CQUI-Org/cqui/subscribers","subscription_url":"https://api.github.com/repos/CQUI-Org/cqui/subscription","commits_url":"https://api.github.com/repos/CQUI-Org/cqui/commits{/sha}","git_commits_url":"https://api.github.com/repos/CQUI-Org/cqui/git/commits{/sha}","comments_url":"https://api.github.com/repos/CQUI-Org/cqui/comments{/number}","issue_comment_url":"https://api.github.com/repos/CQUI-Org/cqui/issues/comments{/number}","contents_url":"https://api.github.com/repos/CQUI-Org/cqui/contents/{+path}","compare_url":"https://api.github.com/repos/CQUI-Org/cqui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CQUI-Org/cqui/merges","archive_url":"https://api.github.com/repos/CQUI-Org/cqui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CQUI-Org/cqui/downloads","issues_url":"https://api.github.com/repos/CQUI-Org/cqui/issues{/number}","pulls_url":"https://api.github.com/repos/CQUI-Org/cqui/pulls{/number}","milestones_url":"https://api.github.com/repos/CQUI-Org/cqui/milestones{/number}","notifications_url":"https://api.github.com/repos/CQUI-Org/cqui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CQUI-Org/cqui/labels{/name}","releases_url":"https://api.github.com/repos/CQUI-Org/cqui/releases{/id}","deployments_url":"https://api.github.com/repos/CQUI-Org/cqui/deployments","created_at":"2016-10-24T12:36:02Z","updated_at":"2017-05-07T12:46:07Z","pushed_at":"2017-05-07T18:38:37Z","git_url":"git://github.com/CQUI-Org/cqui.git","ssh_url":"git@github.com:CQUI-Org/cqui.git","clone_url":"https://github.com/CQUI-Org/cqui.git","svn_url":"https://github.com/CQUI-Org/cqui","homepage":"","size":1939,"stargazers_count":284,"watchers_count":284,"language":"Lua","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":61,"mirror_url":null,"open_issues_count":128,"forks":61,"open_issues":128,"watchers":284,"default_branch":"master"}},"base":{"label":"CQUI-Org:master","ref":"master","sha":"b5b8039e33d22b612885614e5308947afa6d44f9","user":{"login":"CQUI-Org","id":26508893,"avatar_url":"https://avatars1.githubusercontent.com/u/26508893?v=3","gravatar_id":"","url":"https://api.github.com/users/CQUI-Org","html_url":"https://github.com/CQUI-Org","followers_url":"https://api.github.com/users/CQUI-Org/followers","following_url":"https://api.github.com/users/CQUI-Org/following{/other_user}","gists_url":"https://api.github.com/users/CQUI-Org/gists{/gist_id}","starred_url":"https://api.github.com/users/CQUI-Org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CQUI-Org/subscriptions","organizations_url":"https://api.github.com/users/CQUI-Org/orgs","repos_url":"https://api.github.com/users/CQUI-Org/repos","events_url":"https://api.github.com/users/CQUI-Org/events{/privacy}","received_events_url":"https://api.github.com/users/CQUI-Org/received_events","type":"Organization","site_admin":false},"repo":{"id":71787138,"name":"cqui","full_name":"CQUI-Org/cqui","owner":{"login":"CQUI-Org","id":26508893,"avatar_url":"https://avatars1.githubusercontent.com/u/26508893?v=3","gravatar_id":"","url":"https://api.github.com/users/CQUI-Org","html_url":"https://github.com/CQUI-Org","followers_url":"https://api.github.com/users/CQUI-Org/followers","following_url":"https://api.github.com/users/CQUI-Org/following{/other_user}","gists_url":"https://api.github.com/users/CQUI-Org/gists{/gist_id}","starred_url":"https://api.github.com/users/CQUI-Org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CQUI-Org/subscriptions","organizations_url":"https://api.github.com/users/CQUI-Org/orgs","repos_url":"https://api.github.com/users/CQUI-Org/repos","events_url":"https://api.github.com/users/CQUI-Org/events{/privacy}","received_events_url":"https://api.github.com/users/CQUI-Org/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CQUI-Org/cqui","description":"Civilization 6 - Chao's Quick UI.  Reduce clicks and manage your empire faster!","fork":true,"url":"https://api.github.com/repos/CQUI-Org/cqui","forks_url":"https://api.github.com/repos/CQUI-Org/cqui/forks","keys_url":"https://api.github.com/repos/CQUI-Org/cqui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CQUI-Org/cqui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CQUI-Org/cqui/teams","hooks_url":"https://api.github.com/repos/CQUI-Org/cqui/hooks","issue_events_url":"https://api.github.com/repos/CQUI-Org/cqui/issues/events{/number}","events_url":"https://api.github.com/repos/CQUI-Org/cqui/events","assignees_url":"https://api.github.com/repos/CQUI-Org/cqui/assignees{/user}","branches_url":"https://api.github.com/repos/CQUI-Org/cqui/branches{/branch}","tags_url":"https://api.github.com/repos/CQUI-Org/cqui/tags","blobs_url":"https://api.github.com/repos/CQUI-Org/cqui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CQUI-Org/cqui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CQUI-Org/cqui/git/refs{/sha}","trees_url":"https://api.github.com/repos/CQUI-Org/cqui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CQUI-Org/cqui/statuses/{sha}","languages_url":"https://api.github.com/repos/CQUI-Org/cqui/languages","stargazers_url":"https://api.github.com/repos/CQUI-Org/cqui/stargazers","contributors_url":"https://api.github.com/repos/CQUI-Org/cqui/contributors","subscribers_url":"https://api.github.com/repos/CQUI-Org/cqui/subscribers","subscription_url":"https://api.github.com/repos/CQUI-Org/cqui/subscription","commits_url":"https://api.github.com/repos/CQUI-Org/cqui/commits{/sha}","git_commits_url":"https://api.github.com/repos/CQUI-Org/cqui/git/commits{/sha}","comments_url":"https://api.github.com/repos/CQUI-Org/cqui/comments{/number}","issue_comment_url":"https://api.github.com/repos/CQUI-Org/cqui/issues/comments{/number}","contents_url":"https://api.github.com/repos/CQUI-Org/cqui/contents/{+path}","compare_url":"https://api.github.com/repos/CQUI-Org/cqui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CQUI-Org/cqui/merges","archive_url":"https://api.github.com/repos/CQUI-Org/cqui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CQUI-Org/cqui/downloads","issues_url":"https://api.github.com/repos/CQUI-Org/cqui/issues{/number}","pulls_url":"https://api.github.com/repos/CQUI-Org/cqui/pulls{/number}","milestones_url":"https://api.github.com/repos/CQUI-Org/cqui/milestones{/number}","notifications_url":"https://api.github.com/repos/CQUI-Org/cqui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CQUI-Org/cqui/labels{/name}","releases_url":"https://api.github.com/repos/CQUI-Org/cqui/releases{/id}","deployments_url":"https://api.github.com/repos/CQUI-Org/cqui/deployments","created_at":"2016-10-24T12:36:02Z","updated_at":"2017-05-07T12:46:07Z","pushed_at":"2017-05-07T18:38:37Z","git_url":"git://github.com/CQUI-Org/cqui.git","ssh_url":"git@github.com:CQUI-Org/cqui.git","clone_url":"https://github.com/CQUI-Org/cqui.git","svn_url":"https://github.com/CQUI-Org/cqui","homepage":"","size":1939,"stargazers_count":284,"watchers_count":284,"language":"Lua","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":61,"mirror_url":null,"open_issues_count":128,"forks":61,"open_issues":128,"watchers":284,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CQUI-Org/cqui/pulls/522"},"html":{"href":"https://github.com/CQUI-Org/cqui/pull/522"},"issue":{"href":"https://api.github.com/repos/CQUI-Org/cqui/issues/522"},"comments":{"href":"https://api.github.com/repos/CQUI-Org/cqui/issues/522/comments"},"review_comments":{"href":"https://api.github.com/repos/CQUI-Org/cqui/pulls/522/comments"},"review_comment":{"href":"https://api.github.com/repos/CQUI-Org/cqui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CQUI-Org/cqui/pulls/522/commits"},"statuses":{"href":"https://api.github.com/repos/CQUI-Org/cqui/statuses/06f588cc71867bfb5d531446abb4c93dd383589c"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":62,"deletions":13,"changed_files":2}}
{"actor":{"display_login":"SpaceOgre"}}