{"action":"created","comment":{"url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/comments/25903362","id":25903362,"diff_hunk":"@@ -74,6 +75,28 @@\n \t..()\r\n \treturn\r\n \r\n+/obj/machinery/door/process()\r\n+\tif(close_door_at && world.time >= close_door_at)\r\n+\t\tif(autoclose)\r\n+\t\t\tclose_door_at = next_close_time()\r\n+\t\t\tclose()\r\n+\t\telse\r\n+\t\t\tclose_door_at = 0\r\n+\r\n+/obj/machinery/door/proc/can_open()\r\n+\tif(!density || operating || !ticker)\r\n+\t\treturn 0\r\n+\treturn 1\r\n+\r\n+/obj/machinery/door/proc/can_close(var/forced = 0)\r\n+\tif(!density && !operating && !(!forced && (stat & (BROKEN|NOPOWER))))\r\n+\t\treturn 1\r\n+\treturn 0\r\n+\r\n+/obj/machinery/door/proc/access_denied()\r","path":"code/game/machinery/doors/door.dm","position":30,"original_position":30,"commit_id":"57ac8947368c9b357da8e188b26492ac8a08b338","original_commit_id":"6c73955f121fa499358121124945b1deb7756ac9","user":{"login":"mwerezak","id":242428,"avatar_url":"https://avatars.githubusercontent.com/u/242428?v=3","gravatar_id":"","url":"https://api.github.com/users/mwerezak","html_url":"https://github.com/mwerezak","followers_url":"https://api.github.com/users/mwerezak/followers","following_url":"https://api.github.com/users/mwerezak/following{/other_user}","gists_url":"https://api.github.com/users/mwerezak/gists{/gist_id}","starred_url":"https://api.github.com/users/mwerezak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwerezak/subscriptions","organizations_url":"https://api.github.com/users/mwerezak/orgs","repos_url":"https://api.github.com/users/mwerezak/repos","events_url":"https://api.github.com/users/mwerezak/events{/privacy}","received_events_url":"https://api.github.com/users/mwerezak/received_events","type":"User","site_admin":false},"body":"The check appears to be done through the ```do_animate()``` proc.","created_at":"2015-03-05T21:30:18Z","updated_at":"2015-03-05T21:30:18Z","html_url":"https://github.com/Baystation12/Baystation12/pull/8368#discussion_r25903362","pull_request_url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/8368","_links":{"self":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/comments/25903362"},"html":{"href":"https://github.com/Baystation12/Baystation12/pull/8368#discussion_r25903362"},"pull_request":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/8368"}}},"pull_request":{"url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/8368","id":30591617,"html_url":"https://github.com/Baystation12/Baystation12/pull/8368","diff_url":"https://github.com/Baystation12/Baystation12/pull/8368.diff","patch_url":"https://github.com/Baystation12/Baystation12/pull/8368.patch","issue_url":"https://api.github.com/repos/Baystation12/Baystation12/issues/8368","number":8368,"state":"open","locked":false,"title":"Airlock/door changes","user":{"login":"PsiOmegaDelta","id":496895,"avatar_url":"https://avatars.githubusercontent.com/u/496895?v=3","gravatar_id":"","url":"https://api.github.com/users/PsiOmegaDelta","html_url":"https://github.com/PsiOmegaDelta","followers_url":"https://api.github.com/users/PsiOmegaDelta/followers","following_url":"https://api.github.com/users/PsiOmegaDelta/following{/other_user}","gists_url":"https://api.github.com/users/PsiOmegaDelta/gists{/gist_id}","starred_url":"https://api.github.com/users/PsiOmegaDelta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PsiOmegaDelta/subscriptions","organizations_url":"https://api.github.com/users/PsiOmegaDelta/orgs","repos_url":"https://api.github.com/users/PsiOmegaDelta/repos","events_url":"https://api.github.com/users/PsiOmegaDelta/events{/privacy}","received_events_url":"https://api.github.com/users/PsiOmegaDelta/received_events","type":"User","site_admin":false},"body":"It's now possible to pass through doors sooner after they start opening, and for longer as they're closing.\r\nDoors no longer use sleeps to decide when to close. Avoids issues where quickly opening, closing, then opening a door again causes it to close pre-maturely.","created_at":"2015-03-05T20:17:52Z","updated_at":"2015-03-05T21:30:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9b251f088b2376e3dac6121bccdccd7b06cc6263","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/8368/commits","review_comments_url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/8368/comments","review_comment_url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Baystation12/Baystation12/issues/8368/comments","statuses_url":"https://api.github.com/repos/Baystation12/Baystation12/statuses/57ac8947368c9b357da8e188b26492ac8a08b338","head":{"label":"PsiOmegaDelta:DoorPlox","ref":"DoorPlox","sha":"57ac8947368c9b357da8e188b26492ac8a08b338","user":{"login":"PsiOmegaDelta","id":496895,"avatar_url":"https://avatars.githubusercontent.com/u/496895?v=3","gravatar_id":"","url":"https://api.github.com/users/PsiOmegaDelta","html_url":"https://github.com/PsiOmegaDelta","followers_url":"https://api.github.com/users/PsiOmegaDelta/followers","following_url":"https://api.github.com/users/PsiOmegaDelta/following{/other_user}","gists_url":"https://api.github.com/users/PsiOmegaDelta/gists{/gist_id}","starred_url":"https://api.github.com/users/PsiOmegaDelta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PsiOmegaDelta/subscriptions","organizations_url":"https://api.github.com/users/PsiOmegaDelta/orgs","repos_url":"https://api.github.com/users/PsiOmegaDelta/repos","events_url":"https://api.github.com/users/PsiOmegaDelta/events{/privacy}","received_events_url":"https://api.github.com/users/PsiOmegaDelta/received_events","type":"User","site_admin":false},"repo":{"id":18328813,"name":"Baystation12","full_name":"PsiOmegaDelta/Baystation12","owner":{"login":"PsiOmegaDelta","id":496895,"avatar_url":"https://avatars.githubusercontent.com/u/496895?v=3","gravatar_id":"","url":"https://api.github.com/users/PsiOmegaDelta","html_url":"https://github.com/PsiOmegaDelta","followers_url":"https://api.github.com/users/PsiOmegaDelta/followers","following_url":"https://api.github.com/users/PsiOmegaDelta/following{/other_user}","gists_url":"https://api.github.com/users/PsiOmegaDelta/gists{/gist_id}","starred_url":"https://api.github.com/users/PsiOmegaDelta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PsiOmegaDelta/subscriptions","organizations_url":"https://api.github.com/users/PsiOmegaDelta/orgs","repos_url":"https://api.github.com/users/PsiOmegaDelta/repos","events_url":"https://api.github.com/users/PsiOmegaDelta/events{/privacy}","received_events_url":"https://api.github.com/users/PsiOmegaDelta/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/PsiOmegaDelta/Baystation12","description":"The code for Baystation12's branch of SS13. Developers: please don't forget to update the changelog. Thanks!","fork":true,"url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12","forks_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/forks","keys_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/teams","hooks_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/hooks","issue_events_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/issues/events{/number}","events_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/events","assignees_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/assignees{/user}","branches_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/branches{/branch}","tags_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/tags","blobs_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/git/refs{/sha}","trees_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/statuses/{sha}","languages_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/languages","stargazers_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/stargazers","contributors_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/contributors","subscribers_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/subscribers","subscription_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/subscription","commits_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/commits{/sha}","git_commits_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/git/commits{/sha}","comments_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/comments{/number}","issue_comment_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/issues/comments{/number}","contents_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/contents/{+path}","compare_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/merges","archive_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/downloads","issues_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/issues{/number}","pulls_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/pulls{/number}","milestones_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/milestones{/number}","notifications_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/labels{/name}","releases_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/releases{/id}","created_at":"2014-04-01T12:34:43Z","updated_at":"2014-06-25T15:21:36Z","pushed_at":"2015-03-05T21:27:47Z","git_url":"git://github.com/PsiOmegaDelta/Baystation12.git","ssh_url":"git@github.com:PsiOmegaDelta/Baystation12.git","clone_url":"https://github.com/PsiOmegaDelta/Baystation12.git","svn_url":"https://github.com/PsiOmegaDelta/Baystation12","homepage":"http://baystation12.net/","size":553124,"stargazers_count":0,"watchers_count":0,"language":"DM","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"Baystation12:dev","ref":"dev","sha":"3be47f5cd94c2648c0f17687a9c71dea017b111b","user":{"login":"Baystation12","id":1174322,"avatar_url":"https://avatars.githubusercontent.com/u/1174322?v=3","gravatar_id":"","url":"https://api.github.com/users/Baystation12","html_url":"https://github.com/Baystation12","followers_url":"https://api.github.com/users/Baystation12/followers","following_url":"https://api.github.com/users/Baystation12/following{/other_user}","gists_url":"https://api.github.com/users/Baystation12/gists{/gist_id}","starred_url":"https://api.github.com/users/Baystation12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Baystation12/subscriptions","organizations_url":"https://api.github.com/users/Baystation12/orgs","repos_url":"https://api.github.com/users/Baystation12/repos","events_url":"https://api.github.com/users/Baystation12/events{/privacy}","received_events_url":"https://api.github.com/users/Baystation12/received_events","type":"Organization","site_admin":false},"repo":{"id":2715933,"name":"Baystation12","full_name":"Baystation12/Baystation12","owner":{"login":"Baystation12","id":1174322,"avatar_url":"https://avatars.githubusercontent.com/u/1174322?v=3","gravatar_id":"","url":"https://api.github.com/users/Baystation12","html_url":"https://github.com/Baystation12","followers_url":"https://api.github.com/users/Baystation12/followers","following_url":"https://api.github.com/users/Baystation12/following{/other_user}","gists_url":"https://api.github.com/users/Baystation12/gists{/gist_id}","starred_url":"https://api.github.com/users/Baystation12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Baystation12/subscriptions","organizations_url":"https://api.github.com/users/Baystation12/orgs","repos_url":"https://api.github.com/users/Baystation12/repos","events_url":"https://api.github.com/users/Baystation12/events{/privacy}","received_events_url":"https://api.github.com/users/Baystation12/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Baystation12/Baystation12","description":"The code for Baystation12's branch of SS13","fork":false,"url":"https://api.github.com/repos/Baystation12/Baystation12","forks_url":"https://api.github.com/repos/Baystation12/Baystation12/forks","keys_url":"https://api.github.com/repos/Baystation12/Baystation12/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Baystation12/Baystation12/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Baystation12/Baystation12/teams","hooks_url":"https://api.github.com/repos/Baystation12/Baystation12/hooks","issue_events_url":"https://api.github.com/repos/Baystation12/Baystation12/issues/events{/number}","events_url":"https://api.github.com/repos/Baystation12/Baystation12/events","assignees_url":"https://api.github.com/repos/Baystation12/Baystation12/assignees{/user}","branches_url":"https://api.github.com/repos/Baystation12/Baystation12/branches{/branch}","tags_url":"https://api.github.com/repos/Baystation12/Baystation12/tags","blobs_url":"https://api.github.com/repos/Baystation12/Baystation12/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Baystation12/Baystation12/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Baystation12/Baystation12/git/refs{/sha}","trees_url":"https://api.github.com/repos/Baystation12/Baystation12/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Baystation12/Baystation12/statuses/{sha}","languages_url":"https://api.github.com/repos/Baystation12/Baystation12/languages","stargazers_url":"https://api.github.com/repos/Baystation12/Baystation12/stargazers","contributors_url":"https://api.github.com/repos/Baystation12/Baystation12/contributors","subscribers_url":"https://api.github.com/repos/Baystation12/Baystation12/subscribers","subscription_url":"https://api.github.com/repos/Baystation12/Baystation12/subscription","commits_url":"https://api.github.com/repos/Baystation12/Baystation12/commits{/sha}","git_commits_url":"https://api.github.com/repos/Baystation12/Baystation12/git/commits{/sha}","comments_url":"https://api.github.com/repos/Baystation12/Baystation12/comments{/number}","issue_comment_url":"https://api.github.com/repos/Baystation12/Baystation12/issues/comments{/number}","contents_url":"https://api.github.com/repos/Baystation12/Baystation12/contents/{+path}","compare_url":"https://api.github.com/repos/Baystation12/Baystation12/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Baystation12/Baystation12/merges","archive_url":"https://api.github.com/repos/Baystation12/Baystation12/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Baystation12/Baystation12/downloads","issues_url":"https://api.github.com/repos/Baystation12/Baystation12/issues{/number}","pulls_url":"https://api.github.com/repos/Baystation12/Baystation12/pulls{/number}","milestones_url":"https://api.github.com/repos/Baystation12/Baystation12/milestones{/number}","notifications_url":"https://api.github.com/repos/Baystation12/Baystation12/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Baystation12/Baystation12/labels{/name}","releases_url":"https://api.github.com/repos/Baystation12/Baystation12/releases{/id}","created_at":"2011-11-05T16:12:41Z","updated_at":"2015-03-05T20:12:36Z","pushed_at":"2015-03-05T17:10:47Z","git_url":"git://github.com/Baystation12/Baystation12.git","ssh_url":"git@github.com:Baystation12/Baystation12.git","clone_url":"https://github.com/Baystation12/Baystation12.git","svn_url":"https://github.com/Baystation12/Baystation12","homepage":"http://baystation12.net/","size":1254168,"stargazers_count":181,"watchers_count":181,"language":"DM","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":705,"mirror_url":null,"open_issues_count":157,"forks":705,"open_issues":157,"watchers":181,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/8368"},"html":{"href":"https://github.com/Baystation12/Baystation12/pull/8368"},"issue":{"href":"https://api.github.com/repos/Baystation12/Baystation12/issues/8368"},"comments":{"href":"https://api.github.com/repos/Baystation12/Baystation12/issues/8368/comments"},"review_comments":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/8368/comments"},"review_comment":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/8368/commits"},"statuses":{"href":"https://api.github.com/repos/Baystation12/Baystation12/statuses/57ac8947368c9b357da8e188b26492ac8a08b338"}}}}