{"action":"closed","number":13832,"pull_request":{"url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/13832","id":48737461,"html_url":"https://github.com/CleverRaven/Cataclysm-DDA/pull/13832","diff_url":"https://github.com/CleverRaven/Cataclysm-DDA/pull/13832.diff","patch_url":"https://github.com/CleverRaven/Cataclysm-DDA/pull/13832.patch","issue_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/13832","number":13832,"state":"closed","locked":false,"title":"Reinstate auto-pickup rule refresh on save.","user":{"login":"narc0tiq","id":591573,"avatar_url":"https://avatars.githubusercontent.com/u/591573?v=3","gravatar_id":"","url":"https://api.github.com/users/narc0tiq","html_url":"https://github.com/narc0tiq","followers_url":"https://api.github.com/users/narc0tiq/followers","following_url":"https://api.github.com/users/narc0tiq/following{/other_user}","gists_url":"https://api.github.com/users/narc0tiq/gists{/gist_id}","starred_url":"https://api.github.com/users/narc0tiq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/narc0tiq/subscriptions","organizations_url":"https://api.github.com/users/narc0tiq/orgs","repos_url":"https://api.github.com/users/narc0tiq/repos","events_url":"https://api.github.com/users/narc0tiq/events{/privacy}","received_events_url":"https://api.github.com/users/narc0tiq/received_events","type":"User","site_admin":false},"body":"Fixes #13831.\n\nThis effectively reinstates the lost \"refresh on save\" code mentioned at https://github.com/CleverRaven/Cataclysm-DDA/pull/13792/files#r42989272\n\nI've also added some comments to explain how the pieces of auto_pickup fit together (the ones I visited, at least). It's kind of hackish-looking to me, but I'm willing to believe it was done that way for a better reason that \"it was the only thing I could think of at the time\". The hackishness predates #13792, to be sure -- @OzoneH3 did a nice job of fixing up the organization and removing some of the tight couplings.","created_at":"2015-10-26T13:17:36Z","updated_at":"2015-10-27T04:53:18Z","closed_at":"2015-10-27T04:53:18Z","merged_at":"2015-10-27T04:53:18Z","merge_commit_sha":"924885aeda429633ca182740fc75fa0d99f252d9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/13832/commits","review_comments_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/13832/comments","review_comment_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/13832/comments","statuses_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/statuses/bf3f1de4f42102cfa9ac957291f1278d946fb196","head":{"label":"narc0tiq:apu-update-faster","ref":"apu-update-faster","sha":"bf3f1de4f42102cfa9ac957291f1278d946fb196","user":{"login":"narc0tiq","id":591573,"avatar_url":"https://avatars.githubusercontent.com/u/591573?v=3","gravatar_id":"","url":"https://api.github.com/users/narc0tiq","html_url":"https://github.com/narc0tiq","followers_url":"https://api.github.com/users/narc0tiq/followers","following_url":"https://api.github.com/users/narc0tiq/following{/other_user}","gists_url":"https://api.github.com/users/narc0tiq/gists{/gist_id}","starred_url":"https://api.github.com/users/narc0tiq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/narc0tiq/subscriptions","organizations_url":"https://api.github.com/users/narc0tiq/orgs","repos_url":"https://api.github.com/users/narc0tiq/repos","events_url":"https://api.github.com/users/narc0tiq/events{/privacy}","received_events_url":"https://api.github.com/users/narc0tiq/received_events","type":"User","site_admin":false},"repo":{"id":10282072,"name":"Cataclysm-DDA","full_name":"narc0tiq/Cataclysm-DDA","owner":{"login":"narc0tiq","id":591573,"avatar_url":"https://avatars.githubusercontent.com/u/591573?v=3","gravatar_id":"","url":"https://api.github.com/users/narc0tiq","html_url":"https://github.com/narc0tiq","followers_url":"https://api.github.com/users/narc0tiq/followers","following_url":"https://api.github.com/users/narc0tiq/following{/other_user}","gists_url":"https://api.github.com/users/narc0tiq/gists{/gist_id}","starred_url":"https://api.github.com/users/narc0tiq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/narc0tiq/subscriptions","organizations_url":"https://api.github.com/users/narc0tiq/orgs","repos_url":"https://api.github.com/users/narc0tiq/repos","events_url":"https://api.github.com/users/narc0tiq/events{/privacy}","received_events_url":"https://api.github.com/users/narc0tiq/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/narc0tiq/Cataclysm-DDA","description":"Cataclysm - Dark Days Ahead. A fork/variant of Cataclysm Roguelike by Whales.","fork":true,"url":"https://api.github.com/repos/narc0tiq/Cataclysm-DDA","forks_url":"https://api.github.com/repos/narc0tiq/Cataclysm-DDA/forks","keys_url":"https://api.github.com/repos/narc0tiq/Cataclysm-DDA/keys{/key_id}","collaborators_url":"https://api.github.com/repos/narc0tiq/Cataclysm-DDA/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/narc0tiq/Cataclysm-DDA/teams","hooks_url":"https://api.github.com/repos/narc0tiq/Cataclysm-DDA/hooks","issue_events_url":"https://api.github.com/repos/narc0tiq/Cataclysm-DDA/issues/events{/number}","events_url":"https://api.github.com/repos/narc0tiq/Cataclysm-DDA/events","assignees_url":"https://api.github.com/repos/narc0tiq/Cataclysm-DDA/assignees{/user}","branches_url":"https://api.github.com/repos/narc0tiq/Cataclysm-DDA/branches{/branch}","tags_url":"https://api.github.com/repos/narc0tiq/Cataclysm-DDA/tags","blobs_url":"https://api.github.com/repos/narc0tiq/Cataclysm-DDA/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/narc0tiq/Cataclysm-DDA/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/narc0tiq/Cataclysm-DDA/git/refs{/sha}","trees_url":"https://api.github.com/repos/narc0tiq/Cataclysm-DDA/git/trees{/sha}","statuses_url":"https://api.github.com/repos/narc0tiq/Cataclysm-DDA/statuses/{sha}","languages_url":"https://api.github.com/repos/narc0tiq/Cataclysm-DDA/languages","stargazers_url":"https://api.github.com/repos/narc0tiq/Cataclysm-DDA/stargazers","contributors_url":"https://api.github.com/repos/narc0tiq/Cataclysm-DDA/contributors","subscribers_url":"https://api.github.com/repos/narc0tiq/Cataclysm-DDA/subscribers","subscription_url":"https://api.github.com/repos/narc0tiq/Cataclysm-DDA/subscription","commits_url":"https://api.github.com/repos/narc0tiq/Cataclysm-DDA/commits{/sha}","git_commits_url":"https://api.github.com/repos/narc0tiq/Cataclysm-DDA/git/commits{/sha}","comments_url":"https://api.github.com/repos/narc0tiq/Cataclysm-DDA/comments{/number}","issue_comment_url":"https://api.github.com/repos/narc0tiq/Cataclysm-DDA/issues/comments{/number}","contents_url":"https://api.github.com/repos/narc0tiq/Cataclysm-DDA/contents/{+path}","compare_url":"https://api.github.com/repos/narc0tiq/Cataclysm-DDA/compare/{base}...{head}","merges_url":"https://api.github.com/repos/narc0tiq/Cataclysm-DDA/merges","archive_url":"https://api.github.com/repos/narc0tiq/Cataclysm-DDA/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/narc0tiq/Cataclysm-DDA/downloads","issues_url":"https://api.github.com/repos/narc0tiq/Cataclysm-DDA/issues{/number}","pulls_url":"https://api.github.com/repos/narc0tiq/Cataclysm-DDA/pulls{/number}","milestones_url":"https://api.github.com/repos/narc0tiq/Cataclysm-DDA/milestones{/number}","notifications_url":"https://api.github.com/repos/narc0tiq/Cataclysm-DDA/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/narc0tiq/Cataclysm-DDA/labels{/name}","releases_url":"https://api.github.com/repos/narc0tiq/Cataclysm-DDA/releases{/id}","created_at":"2013-05-25T09:23:22Z","updated_at":"2015-02-10T10:19:00Z","pushed_at":"2015-10-26T16:23:29Z","git_url":"git://github.com/narc0tiq/Cataclysm-DDA.git","ssh_url":"git@github.com:narc0tiq/Cataclysm-DDA.git","clone_url":"https://github.com/narc0tiq/Cataclysm-DDA.git","svn_url":"https://github.com/narc0tiq/Cataclysm-DDA","homepage":"http://www.cataclysm.glyphgryph.com/","size":557377,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"CleverRaven:master","ref":"master","sha":"b8b399f3e357309f56de462c4850fb545412d5ed","user":{"login":"CleverRaven","id":4367009,"avatar_url":"https://avatars.githubusercontent.com/u/4367009?v=3","gravatar_id":"","url":"https://api.github.com/users/CleverRaven","html_url":"https://github.com/CleverRaven","followers_url":"https://api.github.com/users/CleverRaven/followers","following_url":"https://api.github.com/users/CleverRaven/following{/other_user}","gists_url":"https://api.github.com/users/CleverRaven/gists{/gist_id}","starred_url":"https://api.github.com/users/CleverRaven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CleverRaven/subscriptions","organizations_url":"https://api.github.com/users/CleverRaven/orgs","repos_url":"https://api.github.com/users/CleverRaven/repos","events_url":"https://api.github.com/users/CleverRaven/events{/privacy}","received_events_url":"https://api.github.com/users/CleverRaven/received_events","type":"Organization","site_admin":false},"repo":{"id":5973855,"name":"Cataclysm-DDA","full_name":"CleverRaven/Cataclysm-DDA","owner":{"login":"CleverRaven","id":4367009,"avatar_url":"https://avatars.githubusercontent.com/u/4367009?v=3","gravatar_id":"","url":"https://api.github.com/users/CleverRaven","html_url":"https://github.com/CleverRaven","followers_url":"https://api.github.com/users/CleverRaven/followers","following_url":"https://api.github.com/users/CleverRaven/following{/other_user}","gists_url":"https://api.github.com/users/CleverRaven/gists{/gist_id}","starred_url":"https://api.github.com/users/CleverRaven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CleverRaven/subscriptions","organizations_url":"https://api.github.com/users/CleverRaven/orgs","repos_url":"https://api.github.com/users/CleverRaven/repos","events_url":"https://api.github.com/users/CleverRaven/events{/privacy}","received_events_url":"https://api.github.com/users/CleverRaven/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CleverRaven/Cataclysm-DDA","description":"Cataclysm - Dark Days Ahead. A fork/variant of Cataclysm Roguelike by Whales.","fork":false,"url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA","forks_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/forks","keys_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/teams","hooks_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/hooks","issue_events_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/events{/number}","events_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/events","assignees_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/assignees{/user}","branches_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/branches{/branch}","tags_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/tags","blobs_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/git/refs{/sha}","trees_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/statuses/{sha}","languages_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/languages","stargazers_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/stargazers","contributors_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/contributors","subscribers_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/subscribers","subscription_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/subscription","commits_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/commits{/sha}","git_commits_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/git/commits{/sha}","comments_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/comments{/number}","issue_comment_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/comments{/number}","contents_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/contents/{+path}","compare_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/merges","archive_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/downloads","issues_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues{/number}","pulls_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls{/number}","milestones_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/milestones{/number}","notifications_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/labels{/name}","releases_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/releases{/id}","created_at":"2012-09-26T22:57:43Z","updated_at":"2015-10-26T15:44:20Z","pushed_at":"2015-10-27T04:53:12Z","git_url":"git://github.com/CleverRaven/Cataclysm-DDA.git","ssh_url":"git@github.com:CleverRaven/Cataclysm-DDA.git","clone_url":"https://github.com/CleverRaven/Cataclysm-DDA.git","svn_url":"https://github.com/CleverRaven/Cataclysm-DDA","homepage":"http://en.cataclysmdda.com/","size":859886,"stargazers_count":763,"watchers_count":763,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":790,"mirror_url":null,"open_issues_count":1105,"forks":790,"open_issues":1105,"watchers":763,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/13832"},"html":{"href":"https://github.com/CleverRaven/Cataclysm-DDA/pull/13832"},"issue":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/13832"},"comments":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/13832/comments"},"review_comments":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/13832/comments"},"review_comment":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/13832/commits"},"statuses":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/statuses/bf3f1de4f42102cfa9ac957291f1278d946fb196"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"kevingranade","id":860276,"avatar_url":"https://avatars.githubusercontent.com/u/860276?v=3","gravatar_id":"","url":"https://api.github.com/users/kevingranade","html_url":"https://github.com/kevingranade","followers_url":"https://api.github.com/users/kevingranade/followers","following_url":"https://api.github.com/users/kevingranade/following{/other_user}","gists_url":"https://api.github.com/users/kevingranade/gists{/gist_id}","starred_url":"https://api.github.com/users/kevingranade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevingranade/subscriptions","organizations_url":"https://api.github.com/users/kevingranade/orgs","repos_url":"https://api.github.com/users/kevingranade/repos","events_url":"https://api.github.com/users/kevingranade/events{/privacy}","received_events_url":"https://api.github.com/users/kevingranade/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":2,"additions":35,"deletions":5,"changed_files":2}}