{"action":"closed","number":1724,"pull_request":{"url":"https://api.github.com/repos/OpenMW/openmw/pulls/1724","id":191973700,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkxOTczNzAw","html_url":"https://github.com/OpenMW/openmw/pull/1724","diff_url":"https://github.com/OpenMW/openmw/pull/1724.diff","patch_url":"https://github.com/OpenMW/openmw/pull/1724.patch","issue_url":"https://api.github.com/repos/OpenMW/openmw/issues/1724","number":1724,"state":"closed","locked":false,"title":"Add pursue package only when crime was reported","user":{"login":"akortunov","id":26434804,"node_id":"MDQ6VXNlcjI2NDM0ODA0","avatar_url":"https://avatars2.githubusercontent.com/u/26434804?v=4","gravatar_id":"","url":"https://api.github.com/users/akortunov","html_url":"https://github.com/akortunov","followers_url":"https://api.github.com/users/akortunov/followers","following_url":"https://api.github.com/users/akortunov/following{/other_user}","gists_url":"https://api.github.com/users/akortunov/gists{/gist_id}","starred_url":"https://api.github.com/users/akortunov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akortunov/subscriptions","organizations_url":"https://api.github.com/users/akortunov/orgs","repos_url":"https://api.github.com/users/akortunov/repos","events_url":"https://api.github.com/users/akortunov/events{/privacy}","received_events_url":"https://api.github.com/users/akortunov/received_events","type":"User","site_admin":false},"body":"Fixes [bug #4433](https://bugs.openmw.org/issues/4433).\r\n\r\nThe main idea: iterate over neighbors twice. In the first run check if the crime was reported by anyone, in the second check update AI status.\r\n\r\nTo test this PR you can execute \"setalarm 0\" in any shop on both guard and shopkeeper and try to steal something.","created_at":"2018-06-01T09:00:15Z","updated_at":"2018-06-07T11:21:52Z","closed_at":"2018-06-07T11:21:52Z","merged_at":"2018-06-07T11:21:52Z","merge_commit_sha":"84c8fb9df7c63796662a3644e1db11ea48988e93","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/OpenMW/openmw/pulls/1724/commits","review_comments_url":"https://api.github.com/repos/OpenMW/openmw/pulls/1724/comments","review_comment_url":"https://api.github.com/repos/OpenMW/openmw/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenMW/openmw/issues/1724/comments","statuses_url":"https://api.github.com/repos/OpenMW/openmw/statuses/84c8fb9df7c63796662a3644e1db11ea48988e93","head":{"label":"akortunov:alarmfix","ref":"alarmfix","sha":"84c8fb9df7c63796662a3644e1db11ea48988e93","user":{"login":"akortunov","id":26434804,"node_id":"MDQ6VXNlcjI2NDM0ODA0","avatar_url":"https://avatars2.githubusercontent.com/u/26434804?v=4","gravatar_id":"","url":"https://api.github.com/users/akortunov","html_url":"https://github.com/akortunov","followers_url":"https://api.github.com/users/akortunov/followers","following_url":"https://api.github.com/users/akortunov/following{/other_user}","gists_url":"https://api.github.com/users/akortunov/gists{/gist_id}","starred_url":"https://api.github.com/users/akortunov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akortunov/subscriptions","organizations_url":"https://api.github.com/users/akortunov/orgs","repos_url":"https://api.github.com/users/akortunov/repos","events_url":"https://api.github.com/users/akortunov/events{/privacy}","received_events_url":"https://api.github.com/users/akortunov/received_events","type":"User","site_admin":false},"repo":{"id":85070122,"node_id":"MDEwOlJlcG9zaXRvcnk4NTA3MDEyMg==","name":"openmw","full_name":"akortunov/openmw","owner":{"login":"akortunov","id":26434804,"node_id":"MDQ6VXNlcjI2NDM0ODA0","avatar_url":"https://avatars2.githubusercontent.com/u/26434804?v=4","gravatar_id":"","url":"https://api.github.com/users/akortunov","html_url":"https://github.com/akortunov","followers_url":"https://api.github.com/users/akortunov/followers","following_url":"https://api.github.com/users/akortunov/following{/other_user}","gists_url":"https://api.github.com/users/akortunov/gists{/gist_id}","starred_url":"https://api.github.com/users/akortunov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akortunov/subscriptions","organizations_url":"https://api.github.com/users/akortunov/orgs","repos_url":"https://api.github.com/users/akortunov/repos","events_url":"https://api.github.com/users/akortunov/events{/privacy}","received_events_url":"https://api.github.com/users/akortunov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/akortunov/openmw","description":"OpenMW is an unofficial open source engine reimplementation of the game Morrowind.","fork":true,"url":"https://api.github.com/repos/akortunov/openmw","forks_url":"https://api.github.com/repos/akortunov/openmw/forks","keys_url":"https://api.github.com/repos/akortunov/openmw/keys{/key_id}","collaborators_url":"https://api.github.com/repos/akortunov/openmw/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/akortunov/openmw/teams","hooks_url":"https://api.github.com/repos/akortunov/openmw/hooks","issue_events_url":"https://api.github.com/repos/akortunov/openmw/issues/events{/number}","events_url":"https://api.github.com/repos/akortunov/openmw/events","assignees_url":"https://api.github.com/repos/akortunov/openmw/assignees{/user}","branches_url":"https://api.github.com/repos/akortunov/openmw/branches{/branch}","tags_url":"https://api.github.com/repos/akortunov/openmw/tags","blobs_url":"https://api.github.com/repos/akortunov/openmw/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/akortunov/openmw/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/akortunov/openmw/git/refs{/sha}","trees_url":"https://api.github.com/repos/akortunov/openmw/git/trees{/sha}","statuses_url":"https://api.github.com/repos/akortunov/openmw/statuses/{sha}","languages_url":"https://api.github.com/repos/akortunov/openmw/languages","stargazers_url":"https://api.github.com/repos/akortunov/openmw/stargazers","contributors_url":"https://api.github.com/repos/akortunov/openmw/contributors","subscribers_url":"https://api.github.com/repos/akortunov/openmw/subscribers","subscription_url":"https://api.github.com/repos/akortunov/openmw/subscription","commits_url":"https://api.github.com/repos/akortunov/openmw/commits{/sha}","git_commits_url":"https://api.github.com/repos/akortunov/openmw/git/commits{/sha}","comments_url":"https://api.github.com/repos/akortunov/openmw/comments{/number}","issue_comment_url":"https://api.github.com/repos/akortunov/openmw/issues/comments{/number}","contents_url":"https://api.github.com/repos/akortunov/openmw/contents/{+path}","compare_url":"https://api.github.com/repos/akortunov/openmw/compare/{base}...{head}","merges_url":"https://api.github.com/repos/akortunov/openmw/merges","archive_url":"https://api.github.com/repos/akortunov/openmw/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/akortunov/openmw/downloads","issues_url":"https://api.github.com/repos/akortunov/openmw/issues{/number}","pulls_url":"https://api.github.com/repos/akortunov/openmw/pulls{/number}","milestones_url":"https://api.github.com/repos/akortunov/openmw/milestones{/number}","notifications_url":"https://api.github.com/repos/akortunov/openmw/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/akortunov/openmw/labels{/name}","releases_url":"https://api.github.com/repos/akortunov/openmw/releases{/id}","deployments_url":"https://api.github.com/repos/akortunov/openmw/deployments","created_at":"2017-03-15T12:32:34Z","updated_at":"2018-05-29T12:41:00Z","pushed_at":"2018-06-01T16:09:12Z","git_url":"git://github.com/akortunov/openmw.git","ssh_url":"git@github.com:akortunov/openmw.git","clone_url":"https://github.com/akortunov/openmw.git","svn_url":"https://github.com/akortunov/openmw","homepage":"http://www.openmw.org/","size":51410,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"OpenMW:master","ref":"master","sha":"d73c6ebe60d37fb61aee15b971cbb0b5561bf066","user":{"login":"OpenMW","id":6727417,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY3Mjc0MTc=","avatar_url":"https://avatars0.githubusercontent.com/u/6727417?v=4","gravatar_id":"","url":"https://api.github.com/users/OpenMW","html_url":"https://github.com/OpenMW","followers_url":"https://api.github.com/users/OpenMW/followers","following_url":"https://api.github.com/users/OpenMW/following{/other_user}","gists_url":"https://api.github.com/users/OpenMW/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenMW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenMW/subscriptions","organizations_url":"https://api.github.com/users/OpenMW/orgs","repos_url":"https://api.github.com/users/OpenMW/repos","events_url":"https://api.github.com/users/OpenMW/events{/privacy}","received_events_url":"https://api.github.com/users/OpenMW/received_events","type":"Organization","site_admin":false},"repo":{"id":285722,"node_id":"MDEwOlJlcG9zaXRvcnkyODU3MjI=","name":"openmw","full_name":"OpenMW/openmw","owner":{"login":"OpenMW","id":6727417,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY3Mjc0MTc=","avatar_url":"https://avatars0.githubusercontent.com/u/6727417?v=4","gravatar_id":"","url":"https://api.github.com/users/OpenMW","html_url":"https://github.com/OpenMW","followers_url":"https://api.github.com/users/OpenMW/followers","following_url":"https://api.github.com/users/OpenMW/following{/other_user}","gists_url":"https://api.github.com/users/OpenMW/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenMW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenMW/subscriptions","organizations_url":"https://api.github.com/users/OpenMW/orgs","repos_url":"https://api.github.com/users/OpenMW/repos","events_url":"https://api.github.com/users/OpenMW/events{/privacy}","received_events_url":"https://api.github.com/users/OpenMW/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenMW/openmw","description":"OpenMW is an unofficial open source engine reimplementation of the game Morrowind.","fork":false,"url":"https://api.github.com/repos/OpenMW/openmw","forks_url":"https://api.github.com/repos/OpenMW/openmw/forks","keys_url":"https://api.github.com/repos/OpenMW/openmw/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenMW/openmw/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenMW/openmw/teams","hooks_url":"https://api.github.com/repos/OpenMW/openmw/hooks","issue_events_url":"https://api.github.com/repos/OpenMW/openmw/issues/events{/number}","events_url":"https://api.github.com/repos/OpenMW/openmw/events","assignees_url":"https://api.github.com/repos/OpenMW/openmw/assignees{/user}","branches_url":"https://api.github.com/repos/OpenMW/openmw/branches{/branch}","tags_url":"https://api.github.com/repos/OpenMW/openmw/tags","blobs_url":"https://api.github.com/repos/OpenMW/openmw/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenMW/openmw/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenMW/openmw/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenMW/openmw/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenMW/openmw/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenMW/openmw/languages","stargazers_url":"https://api.github.com/repos/OpenMW/openmw/stargazers","contributors_url":"https://api.github.com/repos/OpenMW/openmw/contributors","subscribers_url":"https://api.github.com/repos/OpenMW/openmw/subscribers","subscription_url":"https://api.github.com/repos/OpenMW/openmw/subscription","commits_url":"https://api.github.com/repos/OpenMW/openmw/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenMW/openmw/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenMW/openmw/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenMW/openmw/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenMW/openmw/contents/{+path}","compare_url":"https://api.github.com/repos/OpenMW/openmw/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenMW/openmw/merges","archive_url":"https://api.github.com/repos/OpenMW/openmw/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenMW/openmw/downloads","issues_url":"https://api.github.com/repos/OpenMW/openmw/issues{/number}","pulls_url":"https://api.github.com/repos/OpenMW/openmw/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenMW/openmw/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenMW/openmw/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenMW/openmw/labels{/name}","releases_url":"https://api.github.com/repos/OpenMW/openmw/releases{/id}","deployments_url":"https://api.github.com/repos/OpenMW/openmw/deployments","created_at":"2009-08-23T14:46:21Z","updated_at":"2018-06-07T07:27:43Z","pushed_at":"2018-06-07T11:21:44Z","git_url":"git://github.com/OpenMW/openmw.git","ssh_url":"git@github.com:OpenMW/openmw.git","clone_url":"https://github.com/OpenMW/openmw.git","svn_url":"https://github.com/OpenMW/openmw","homepage":"http://www.openmw.org/","size":51120,"stargazers_count":2158,"watchers_count":2158,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":649,"mirror_url":null,"archived":false,"open_issues_count":40,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":649,"open_issues":40,"watchers":2158,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenMW/openmw/pulls/1724"},"html":{"href":"https://github.com/OpenMW/openmw/pull/1724"},"issue":{"href":"https://api.github.com/repos/OpenMW/openmw/issues/1724"},"comments":{"href":"https://api.github.com/repos/OpenMW/openmw/issues/1724/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenMW/openmw/pulls/1724/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenMW/openmw/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenMW/openmw/pulls/1724/commits"},"statuses":{"href":"https://api.github.com/repos/OpenMW/openmw/statuses/84c8fb9df7c63796662a3644e1db11ea48988e93"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"zinnschlag","id":287696,"node_id":"MDQ6VXNlcjI4NzY5Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/287696?v=4","gravatar_id":"","url":"https://api.github.com/users/zinnschlag","html_url":"https://github.com/zinnschlag","followers_url":"https://api.github.com/users/zinnschlag/followers","following_url":"https://api.github.com/users/zinnschlag/following{/other_user}","gists_url":"https://api.github.com/users/zinnschlag/gists{/gist_id}","starred_url":"https://api.github.com/users/zinnschlag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zinnschlag/subscriptions","organizations_url":"https://api.github.com/users/zinnschlag/orgs","repos_url":"https://api.github.com/users/zinnschlag/repos","events_url":"https://api.github.com/users/zinnschlag/events{/privacy}","received_events_url":"https://api.github.com/users/zinnschlag/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":44,"deletions":23,"changed_files":2}}
{"actor":{"display_login":"zinnschlag"}}