{"action":"created","comment":{"url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/comments/67717106","id":67717106,"diff_hunk":"@@ -121,24 +121,44 @@ proc/age2agedescription(age)\n \t\tif(70 to INFINITY)\treturn \"elderly\"\r\n \t\telse\t\t\t\treturn \"unknown\"\r\n \r\n-proc/RoundHealth(health)\r\n+/proc/RoundHealth(health)\r\n \tswitch(health)\r\n \t\tif(100 to INFINITY)\r\n \t\t\treturn \"health100\"\r\n-\t\tif(70 to 100)\r\n-\t\t\treturn \"health80\"\r\n-\t\tif(50 to 70)\r\n-\t\t\treturn \"health60\"\r\n-\t\tif(30 to 50)\r\n-\t\t\treturn \"health40\"\r\n-\t\tif(18 to 30)\r\n-\t\t\treturn \"health25\"\r\n-\t\tif(5 to 18)\r\n-\t\t\treturn \"health10\"\r\n-\t\tif(1 to 5)\r\n+\t\tif(93 to 100)\r\n+\t\t\treturn \"health93\"\r\n+\t\tif(86 to 93)\r\n+\t\t\treturn \"health86\"\r\n+\t\tif(78 to 86)\r\n+\t\t\treturn \"health78\"\r\n+\t\tif(71 to 78)\r\n+\t\t\treturn \"health71\"\r\n+\t\tif(64 to 71)\r\n+\t\t\treturn \"health64\"\r\n+\t\tif(56 to 64)\r\n+\t\t\treturn \"health56\"\r\n+\t\tif(49 to 56)\r\n+\t\t\treturn \"health49\"\r\n+\t\tif(42 to 49)\r\n+\t\t\treturn \"health42\"\r\n+\t\tif(35 to 42)\r\n+\t\t\treturn \"health35\"\r\n+\t\tif(28 to 35)\r\n+\t\t\treturn \"health28\"\r\n+\t\tif(21 to 28)\r\n+\t\t\treturn \"health21\"\r\n+\t\tif(14 to 21)\r\n+\t\t\treturn \"health14\"\r\n+\t\tif(7 to 14)\r\n+\t\t\treturn \"health7\"\r\n+\t\tif(1 to 7)\r\n \t\t\treturn \"health1\"\r\n-\t\tif(-99 to 0)\r\n+\t\tif(-50 to 1)\r\n \t\t\treturn \"health0\"\r\n+\t\tif(-85 to -50)\r\n+\t\t\treturn \"health-50\"\r\n+\t\tif(-99 to -85)\r\n+\t\t\treturn \"health-85\"\r\n \t\telse\r\n \t\t\treturn \"health-100\"\r","path":"code/_helpers/mobs.dm","position":56,"original_position":56,"commit_id":"2088a4a95e3ae87ef80388db8a6df00daba17041","original_commit_id":"2088a4a95e3ae87ef80388db8a6df00daba17041","user":{"login":"Techhead0","id":7104731,"avatar_url":"https://avatars.githubusercontent.com/u/7104731?v=3","gravatar_id":"","url":"https://api.github.com/users/Techhead0","html_url":"https://github.com/Techhead0","followers_url":"https://api.github.com/users/Techhead0/followers","following_url":"https://api.github.com/users/Techhead0/following{/other_user}","gists_url":"https://api.github.com/users/Techhead0/gists{/gist_id}","starred_url":"https://api.github.com/users/Techhead0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Techhead0/subscriptions","organizations_url":"https://api.github.com/users/Techhead0/orgs","repos_url":"https://api.github.com/users/Techhead0/repos","events_url":"https://api.github.com/users/Techhead0/events{/privacy}","received_events_url":"https://api.github.com/users/Techhead0/received_events","type":"User","site_admin":false},"body":"Not a bad idea, but you can probably also rename the negative states so you only need one list.","created_at":"2016-06-20T16:07:07Z","updated_at":"2016-06-20T16:07:07Z","html_url":"https://github.com/Baystation12/Baystation12/pull/13446#discussion_r67717106","pull_request_url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/13446","_links":{"self":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/comments/67717106"},"html":{"href":"https://github.com/Baystation12/Baystation12/pull/13446#discussion_r67717106"},"pull_request":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/13446"}}},"pull_request":{"url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/13446","id":74397441,"html_url":"https://github.com/Baystation12/Baystation12/pull/13446","diff_url":"https://github.com/Baystation12/Baystation12/pull/13446.diff","patch_url":"https://github.com/Baystation12/Baystation12/pull/13446.patch","issue_url":"https://api.github.com/repos/Baystation12/Baystation12/issues/13446","number":13446,"state":"open","locked":false,"title":"More finely grained MedHUD overlay","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":"The MedHUD overlay is now more finely grained, both the 'normal' and critical injuries, allowing for improved quick diagnostics.\r\n![Non-critical stages](https://camo.githubusercontent.com/8b7ae1c9e9d028ab60fada43f0978035476b618e/68747470733a2f2f6d656469612e67697068792e636f6d2f6d656469612f6c3436436e684b726651625361463166322f67697068792e676966)\r\n![Critical stage flashing](https://cloud.githubusercontent.com/assets/6583225/14937041/28bb0d54-0eb0-11e6-960f-0e2f778741a6.gif)\r\n\r\nPort of https://github.com/tgstation/tgstation/pull/17279.\r\nPort of https://github.com/ParadiseSS13/Paradise/pull/4726.","created_at":"2016-06-20T07:03:07Z","updated_at":"2016-06-20T16:07:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6d64c391ea7b68dbe5df203632203bc471fed99f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/13446/commits","review_comments_url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/13446/comments","review_comment_url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Baystation12/Baystation12/issues/13446/comments","statuses_url":"https://api.github.com/repos/Baystation12/Baystation12/statuses/2088a4a95e3ae87ef80388db8a6df00daba17041","head":{"label":"PsiOmegaDelta:160620-MedHUD","ref":"160620-MedHUD","sha":"2088a4a95e3ae87ef80388db8a6df00daba17041","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}","deployments_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/deployments","created_at":"2014-04-01T12:34:43Z","updated_at":"2016-01-25T12:18:39Z","pushed_at":"2016-06-20T14:59:28Z","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":618334,"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":"3432fd423616bdb516d57f7f8e2d89539ce5c556","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}","deployments_url":"https://api.github.com/repos/Baystation12/Baystation12/deployments","created_at":"2011-11-05T16:12:41Z","updated_at":"2016-06-13T02:32:51Z","pushed_at":"2016-06-20T15:01:53Z","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":1664773,"stargazers_count":217,"watchers_count":217,"language":"DM","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":959,"mirror_url":null,"open_issues_count":418,"forks":959,"open_issues":418,"watchers":217,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/13446"},"html":{"href":"https://github.com/Baystation12/Baystation12/pull/13446"},"issue":{"href":"https://api.github.com/repos/Baystation12/Baystation12/issues/13446"},"comments":{"href":"https://api.github.com/repos/Baystation12/Baystation12/issues/13446/comments"},"review_comments":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/13446/comments"},"review_comment":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/13446/commits"},"statuses":{"href":"https://api.github.com/repos/Baystation12/Baystation12/statuses/2088a4a95e3ae87ef80388db8a6df00daba17041"}}}}
{"actor":{"display_login":"Techhead0"}}