{"action":"created","comment":{"url":"https://api.github.com/repos/ParadiseSS13/Paradise/pulls/comments/48522389","id":48522389,"diff_hunk":"@@ -437,6 +439,9 @@\n \t\t\t\tvar/obj/item/clothing/head/hat = H.head\n \t\t\t\tH.sight |= hat.vision_flags\n \n+\t\t\t\tif(hat.darkness_view && hat.darkness_view < minimum_darkness_view) // Pick the lowest of the two darkness_views between the glasses and helmet.","path":"code/modules/mob/living/carbon/human/species/species.dm","position":20,"original_position":20,"commit_id":"24aa63c8125ecba71732a492de72f7062acdff6a","original_commit_id":"24aa63c8125ecba71732a492de72f7062acdff6a","user":{"login":"DaveTheHeadcrab","id":16298462,"avatar_url":"https://avatars.githubusercontent.com/u/16298462?v=3","gravatar_id":"","url":"https://api.github.com/users/DaveTheHeadcrab","html_url":"https://github.com/DaveTheHeadcrab","followers_url":"https://api.github.com/users/DaveTheHeadcrab/followers","following_url":"https://api.github.com/users/DaveTheHeadcrab/following{/other_user}","gists_url":"https://api.github.com/users/DaveTheHeadcrab/gists{/gist_id}","starred_url":"https://api.github.com/users/DaveTheHeadcrab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DaveTheHeadcrab/subscriptions","organizations_url":"https://api.github.com/users/DaveTheHeadcrab/orgs","repos_url":"https://api.github.com/users/DaveTheHeadcrab/repos","events_url":"https://api.github.com/users/DaveTheHeadcrab/events{/privacy}","received_events_url":"https://api.github.com/users/DaveTheHeadcrab/received_events","type":"User","site_admin":false},"body":"Worked as intended when I tested it.","created_at":"2015-12-29T05:42:20Z","updated_at":"2015-12-29T05:42:20Z","html_url":"https://github.com/ParadiseSS13/Paradise/pull/3044#discussion_r48522389","pull_request_url":"https://api.github.com/repos/ParadiseSS13/Paradise/pulls/3044","_links":{"self":{"href":"https://api.github.com/repos/ParadiseSS13/Paradise/pulls/comments/48522389"},"html":{"href":"https://github.com/ParadiseSS13/Paradise/pull/3044#discussion_r48522389"},"pull_request":{"href":"https://api.github.com/repos/ParadiseSS13/Paradise/pulls/3044"}}},"pull_request":{"url":"https://api.github.com/repos/ParadiseSS13/Paradise/pulls/3044","id":54660407,"html_url":"https://github.com/ParadiseSS13/Paradise/pull/3044","diff_url":"https://github.com/ParadiseSS13/Paradise/pull/3044.diff","patch_url":"https://github.com/ParadiseSS13/Paradise/pull/3044.patch","issue_url":"https://api.github.com/repos/ParadiseSS13/Paradise/issues/3044","number":3044,"state":"open","locked":false,"title":"Add darkness_view to Helmets","user":{"login":"DaveTheHeadcrab","id":16298462,"avatar_url":"https://avatars.githubusercontent.com/u/16298462?v=3","gravatar_id":"","url":"https://api.github.com/users/DaveTheHeadcrab","html_url":"https://github.com/DaveTheHeadcrab","followers_url":"https://api.github.com/users/DaveTheHeadcrab/followers","following_url":"https://api.github.com/users/DaveTheHeadcrab/following{/other_user}","gists_url":"https://api.github.com/users/DaveTheHeadcrab/gists{/gist_id}","starred_url":"https://api.github.com/users/DaveTheHeadcrab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DaveTheHeadcrab/subscriptions","organizations_url":"https://api.github.com/users/DaveTheHeadcrab/orgs","repos_url":"https://api.github.com/users/DaveTheHeadcrab/repos","events_url":"https://api.github.com/users/DaveTheHeadcrab/events{/privacy}","received_events_url":"https://api.github.com/users/DaveTheHeadcrab/received_events","type":"User","site_admin":false},"body":"Helmets have a see_darkness and allow for vision flags but, for whatever reason, do not support darkness_view.\r\n\r\nThis PR fixes that.\r\n\r\nIn the case of conflicting darkness_views on the helmet and glasses it will pick the lower value of the two (IE wearing a night-vision helmet and sunglasses would limit your visibility in the darkness according to the sunglass' darkness_view, but you would still see perfectly within the range you are able to see)","created_at":"2015-12-28T14:57:52Z","updated_at":"2015-12-29T05:42:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"acd86f6461a3c0dc413c0344a12519bcc14aaca5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ParadiseSS13/Paradise/pulls/3044/commits","review_comments_url":"https://api.github.com/repos/ParadiseSS13/Paradise/pulls/3044/comments","review_comment_url":"https://api.github.com/repos/ParadiseSS13/Paradise/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ParadiseSS13/Paradise/issues/3044/comments","statuses_url":"https://api.github.com/repos/ParadiseSS13/Paradise/statuses/24aa63c8125ecba71732a492de72f7062acdff6a","head":{"label":"DaveTheHeadcrab:ninja","ref":"ninja","sha":"24aa63c8125ecba71732a492de72f7062acdff6a","user":{"login":"DaveTheHeadcrab","id":16298462,"avatar_url":"https://avatars.githubusercontent.com/u/16298462?v=3","gravatar_id":"","url":"https://api.github.com/users/DaveTheHeadcrab","html_url":"https://github.com/DaveTheHeadcrab","followers_url":"https://api.github.com/users/DaveTheHeadcrab/followers","following_url":"https://api.github.com/users/DaveTheHeadcrab/following{/other_user}","gists_url":"https://api.github.com/users/DaveTheHeadcrab/gists{/gist_id}","starred_url":"https://api.github.com/users/DaveTheHeadcrab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DaveTheHeadcrab/subscriptions","organizations_url":"https://api.github.com/users/DaveTheHeadcrab/orgs","repos_url":"https://api.github.com/users/DaveTheHeadcrab/repos","events_url":"https://api.github.com/users/DaveTheHeadcrab/events{/privacy}","received_events_url":"https://api.github.com/users/DaveTheHeadcrab/received_events","type":"User","site_admin":false},"repo":{"id":48616262,"name":"Paradise","full_name":"DaveTheHeadcrab/Paradise","owner":{"login":"DaveTheHeadcrab","id":16298462,"avatar_url":"https://avatars.githubusercontent.com/u/16298462?v=3","gravatar_id":"","url":"https://api.github.com/users/DaveTheHeadcrab","html_url":"https://github.com/DaveTheHeadcrab","followers_url":"https://api.github.com/users/DaveTheHeadcrab/followers","following_url":"https://api.github.com/users/DaveTheHeadcrab/following{/other_user}","gists_url":"https://api.github.com/users/DaveTheHeadcrab/gists{/gist_id}","starred_url":"https://api.github.com/users/DaveTheHeadcrab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DaveTheHeadcrab/subscriptions","organizations_url":"https://api.github.com/users/DaveTheHeadcrab/orgs","repos_url":"https://api.github.com/users/DaveTheHeadcrab/repos","events_url":"https://api.github.com/users/DaveTheHeadcrab/events{/privacy}","received_events_url":"https://api.github.com/users/DaveTheHeadcrab/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DaveTheHeadcrab/Paradise","description":"Paradise Station's GitHub main repository.","fork":true,"url":"https://api.github.com/repos/DaveTheHeadcrab/Paradise","forks_url":"https://api.github.com/repos/DaveTheHeadcrab/Paradise/forks","keys_url":"https://api.github.com/repos/DaveTheHeadcrab/Paradise/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DaveTheHeadcrab/Paradise/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DaveTheHeadcrab/Paradise/teams","hooks_url":"https://api.github.com/repos/DaveTheHeadcrab/Paradise/hooks","issue_events_url":"https://api.github.com/repos/DaveTheHeadcrab/Paradise/issues/events{/number}","events_url":"https://api.github.com/repos/DaveTheHeadcrab/Paradise/events","assignees_url":"https://api.github.com/repos/DaveTheHeadcrab/Paradise/assignees{/user}","branches_url":"https://api.github.com/repos/DaveTheHeadcrab/Paradise/branches{/branch}","tags_url":"https://api.github.com/repos/DaveTheHeadcrab/Paradise/tags","blobs_url":"https://api.github.com/repos/DaveTheHeadcrab/Paradise/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DaveTheHeadcrab/Paradise/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DaveTheHeadcrab/Paradise/git/refs{/sha}","trees_url":"https://api.github.com/repos/DaveTheHeadcrab/Paradise/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DaveTheHeadcrab/Paradise/statuses/{sha}","languages_url":"https://api.github.com/repos/DaveTheHeadcrab/Paradise/languages","stargazers_url":"https://api.github.com/repos/DaveTheHeadcrab/Paradise/stargazers","contributors_url":"https://api.github.com/repos/DaveTheHeadcrab/Paradise/contributors","subscribers_url":"https://api.github.com/repos/DaveTheHeadcrab/Paradise/subscribers","subscription_url":"https://api.github.com/repos/DaveTheHeadcrab/Paradise/subscription","commits_url":"https://api.github.com/repos/DaveTheHeadcrab/Paradise/commits{/sha}","git_commits_url":"https://api.github.com/repos/DaveTheHeadcrab/Paradise/git/commits{/sha}","comments_url":"https://api.github.com/repos/DaveTheHeadcrab/Paradise/comments{/number}","issue_comment_url":"https://api.github.com/repos/DaveTheHeadcrab/Paradise/issues/comments{/number}","contents_url":"https://api.github.com/repos/DaveTheHeadcrab/Paradise/contents/{+path}","compare_url":"https://api.github.com/repos/DaveTheHeadcrab/Paradise/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DaveTheHeadcrab/Paradise/merges","archive_url":"https://api.github.com/repos/DaveTheHeadcrab/Paradise/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DaveTheHeadcrab/Paradise/downloads","issues_url":"https://api.github.com/repos/DaveTheHeadcrab/Paradise/issues{/number}","pulls_url":"https://api.github.com/repos/DaveTheHeadcrab/Paradise/pulls{/number}","milestones_url":"https://api.github.com/repos/DaveTheHeadcrab/Paradise/milestones{/number}","notifications_url":"https://api.github.com/repos/DaveTheHeadcrab/Paradise/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DaveTheHeadcrab/Paradise/labels{/name}","releases_url":"https://api.github.com/repos/DaveTheHeadcrab/Paradise/releases{/id}","created_at":"2015-12-26T16:09:54Z","updated_at":"2015-12-26T16:10:03Z","pushed_at":"2015-12-28T14:55:25Z","git_url":"git://github.com/DaveTheHeadcrab/Paradise.git","ssh_url":"git@github.com:DaveTheHeadcrab/Paradise.git","clone_url":"https://github.com/DaveTheHeadcrab/Paradise.git","svn_url":"https://github.com/DaveTheHeadcrab/Paradise","homepage":"http://nanotrasen.se/phpBB3/index.php","size":820944,"stargazers_count":0,"watchers_count":0,"language":"DM","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":"ParadiseSS13:master","ref":"master","sha":"c6a0a2fe4e106445f47b0506765e201adc9068c6","user":{"login":"ParadiseSS13","id":9994901,"avatar_url":"https://avatars.githubusercontent.com/u/9994901?v=3","gravatar_id":"","url":"https://api.github.com/users/ParadiseSS13","html_url":"https://github.com/ParadiseSS13","followers_url":"https://api.github.com/users/ParadiseSS13/followers","following_url":"https://api.github.com/users/ParadiseSS13/following{/other_user}","gists_url":"https://api.github.com/users/ParadiseSS13/gists{/gist_id}","starred_url":"https://api.github.com/users/ParadiseSS13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ParadiseSS13/subscriptions","organizations_url":"https://api.github.com/users/ParadiseSS13/orgs","repos_url":"https://api.github.com/users/ParadiseSS13/repos","events_url":"https://api.github.com/users/ParadiseSS13/events{/privacy}","received_events_url":"https://api.github.com/users/ParadiseSS13/received_events","type":"Organization","site_admin":false},"repo":{"id":27286452,"name":"Paradise","full_name":"ParadiseSS13/Paradise","owner":{"login":"ParadiseSS13","id":9994901,"avatar_url":"https://avatars.githubusercontent.com/u/9994901?v=3","gravatar_id":"","url":"https://api.github.com/users/ParadiseSS13","html_url":"https://github.com/ParadiseSS13","followers_url":"https://api.github.com/users/ParadiseSS13/followers","following_url":"https://api.github.com/users/ParadiseSS13/following{/other_user}","gists_url":"https://api.github.com/users/ParadiseSS13/gists{/gist_id}","starred_url":"https://api.github.com/users/ParadiseSS13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ParadiseSS13/subscriptions","organizations_url":"https://api.github.com/users/ParadiseSS13/orgs","repos_url":"https://api.github.com/users/ParadiseSS13/repos","events_url":"https://api.github.com/users/ParadiseSS13/events{/privacy}","received_events_url":"https://api.github.com/users/ParadiseSS13/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ParadiseSS13/Paradise","description":"Paradise Station's GitHub main repository.","fork":false,"url":"https://api.github.com/repos/ParadiseSS13/Paradise","forks_url":"https://api.github.com/repos/ParadiseSS13/Paradise/forks","keys_url":"https://api.github.com/repos/ParadiseSS13/Paradise/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ParadiseSS13/Paradise/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ParadiseSS13/Paradise/teams","hooks_url":"https://api.github.com/repos/ParadiseSS13/Paradise/hooks","issue_events_url":"https://api.github.com/repos/ParadiseSS13/Paradise/issues/events{/number}","events_url":"https://api.github.com/repos/ParadiseSS13/Paradise/events","assignees_url":"https://api.github.com/repos/ParadiseSS13/Paradise/assignees{/user}","branches_url":"https://api.github.com/repos/ParadiseSS13/Paradise/branches{/branch}","tags_url":"https://api.github.com/repos/ParadiseSS13/Paradise/tags","blobs_url":"https://api.github.com/repos/ParadiseSS13/Paradise/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ParadiseSS13/Paradise/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ParadiseSS13/Paradise/git/refs{/sha}","trees_url":"https://api.github.com/repos/ParadiseSS13/Paradise/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ParadiseSS13/Paradise/statuses/{sha}","languages_url":"https://api.github.com/repos/ParadiseSS13/Paradise/languages","stargazers_url":"https://api.github.com/repos/ParadiseSS13/Paradise/stargazers","contributors_url":"https://api.github.com/repos/ParadiseSS13/Paradise/contributors","subscribers_url":"https://api.github.com/repos/ParadiseSS13/Paradise/subscribers","subscription_url":"https://api.github.com/repos/ParadiseSS13/Paradise/subscription","commits_url":"https://api.github.com/repos/ParadiseSS13/Paradise/commits{/sha}","git_commits_url":"https://api.github.com/repos/ParadiseSS13/Paradise/git/commits{/sha}","comments_url":"https://api.github.com/repos/ParadiseSS13/Paradise/comments{/number}","issue_comment_url":"https://api.github.com/repos/ParadiseSS13/Paradise/issues/comments{/number}","contents_url":"https://api.github.com/repos/ParadiseSS13/Paradise/contents/{+path}","compare_url":"https://api.github.com/repos/ParadiseSS13/Paradise/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ParadiseSS13/Paradise/merges","archive_url":"https://api.github.com/repos/ParadiseSS13/Paradise/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ParadiseSS13/Paradise/downloads","issues_url":"https://api.github.com/repos/ParadiseSS13/Paradise/issues{/number}","pulls_url":"https://api.github.com/repos/ParadiseSS13/Paradise/pulls{/number}","milestones_url":"https://api.github.com/repos/ParadiseSS13/Paradise/milestones{/number}","notifications_url":"https://api.github.com/repos/ParadiseSS13/Paradise/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ParadiseSS13/Paradise/labels{/name}","releases_url":"https://api.github.com/repos/ParadiseSS13/Paradise/releases{/id}","created_at":"2014-11-29T00:16:54Z","updated_at":"2015-12-23T18:48:43Z","pushed_at":"2015-12-29T04:28:15Z","git_url":"git://github.com/ParadiseSS13/Paradise.git","ssh_url":"git@github.com:ParadiseSS13/Paradise.git","clone_url":"https://github.com/ParadiseSS13/Paradise.git","svn_url":"https://github.com/ParadiseSS13/Paradise","homepage":"http://nanotrasen.se/phpBB3/index.php","size":838687,"stargazers_count":39,"watchers_count":39,"language":"DM","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":115,"mirror_url":null,"open_issues_count":230,"forks":115,"open_issues":230,"watchers":39,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ParadiseSS13/Paradise/pulls/3044"},"html":{"href":"https://github.com/ParadiseSS13/Paradise/pull/3044"},"issue":{"href":"https://api.github.com/repos/ParadiseSS13/Paradise/issues/3044"},"comments":{"href":"https://api.github.com/repos/ParadiseSS13/Paradise/issues/3044/comments"},"review_comments":{"href":"https://api.github.com/repos/ParadiseSS13/Paradise/pulls/3044/comments"},"review_comment":{"href":"https://api.github.com/repos/ParadiseSS13/Paradise/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ParadiseSS13/Paradise/pulls/3044/commits"},"statuses":{"href":"https://api.github.com/repos/ParadiseSS13/Paradise/statuses/24aa63c8125ecba71732a492de72f7062acdff6a"}}}}