{"action":"created","comment":{"url":"https://api.github.com/repos/Aurorastation/Aurora.3/pulls/comments/83505121","pull_request_review_id":4348105,"id":83505121,"diff_hunk":"@@ -0,0 +1,154 @@\n+{{if data.inop}}\n+\t<div class=\"notice\">This console is not connected to a sleeper, or the sleeper is non-functional.</div>\n+{{else}}\n+\t<h2>Sleeper Console</h2>\n+\t<div class=\"item\">\n+\t\t<div class=\"itemLabel\">\n+\t\t\t<b>Scanner Module</b>:\n+\t\t</div>\n+\t\t<div class=\"itemContent\">\n+\t\t\t{{if data.occupant}}\n+\t\t\t\t<div class=\"good\">active</div>\n+\t\t\t{{else}}\n+\t\t\t\t<div class=\"bad\">unoccupied</div>\n+\t\t\t{{/if}}\n+\t\t</div>\n+\t</div>\n+\t<div class=\"item\">\n+\t\t<div class=\"itemLabel\">\n+\t\t\t<b>Controls</b>:\n+\t\t</div>\n+\t\t<div class=\"itemContent\">\n+\t\t\t{{:helper.link('Eject occupant', 'eject', {'ejectify' : 1}, (data.occupant) ? null : 'disabled')}}\n+\t\t\t{{:helper.link('Print report', 'print', {'print' : 1}, (data.occupant) ? null : 'disabled')}}\n+\t\t</div>\n+\t</div>\n+\t{{if data.occupant}}\n+\t\t<br>\n+\t\t<h3>Scanner Data</h3>\n+\t\t<div class=\"item\">\n+\t\t\t<div class=\"itemLabelWide\">\n+\t\t\t\t<b>Mental activity</b>:\n+\t\t\t</div>\n+\t\t\t<div class=\"itemContentMedium\">\n+\t\t\t\t{{if data.occupant.stat.string == 'Dead'}}\n+\t\t\t\t\t<span class=\"bad\">\n+\t\t\t\t{{else data.occupant.stat.string == 'Unconscious'}}\n+\t\t\t\t\t<span class=\"average\">\n+\t\t\t\t{{else}}\n+\t\t\t\t\t<span>\n+\t\t\t\t{{/if}}\n+\t\t\t\t{{:data.occupant.stat.string}}\n+\t\t\t\t</span>\n+\t\t\t</div>\n+\t\t</div>\n+\t\t<div class=\"item\">\n+\t\t\t<div class=\"itemLabelWide\">\n+\t\t\t\t<b>Health rating</b>:\n+\t\t\t</div>\n+\t\t\t<div class=\"itemContentMedium\">\n+\t\t\t\t{{:helper.displayBar(data.occupant.health.combined, 0, 100, (data.occupant.health.combined < 50) ? 'bad' : (data.occupant.health.combined < 90) ? 'average' : 'good', Math.round(data.occupant.health.combined)+'%')}}\n+\t\t\t</div>\n+\t\t\t<br>\n+\t\t\t<div class=\"itemLabelWide\">\n+\t\t\t\tBrute damage:\n+\t\t\t</div>\n+\t\t\t<div class=\"itemContentMedium\">\n+\t\t\t\t{{:helper.displayBar(data.occupant.health.brute, 0, 100, (data.occupant.health.brute > 20) ? 'bad' : 'average', Math.round(data.occupant.health.brute)+'%')}}\n+\t\t\t</div>\n+\t\t\t<br>\n+\t\t\t<div class=\"itemLabelWide\">\n+\t\t\t\tRespiratory damage:\n+\t\t\t</div>\n+\t\t\t<div class=\"itemContentMedium\">\n+\t\t\t\t{{:helper.displayBar(data.occupant.health.oxy, 0, 100, (data.occupant.health.oxy > 10) ? 'bad' : 'average', Math.round(data.occupant.health.oxy)+'%')}}\n+\t\t\t</div>\n+\t\t\t<br>\n+\t\t\t<div class=\"itemLabelWide\">\n+\t\t\t\tToxin content:\n+\t\t\t</div>\n+\t\t\t<div class=\"itemContentMedium\">\n+\t\t\t\t{{:helper.displayBar(data.occupant.health.toxin, 0, 100, (data.occupant.health.toxin > 5) ? 'bad' : 'average', Math.round(data.occupant.health.toxin)+'%')}}\n+\t\t\t</div>\n+\t\t\t<br>\n+\t\t\t<div class=\"itemLabelWide\">\n+\t\t\t\tBurn severity:\n+\t\t\t</div>\n+\t\t\t<div class=\"itemContentMedium\">\n+\t\t\t\t{{:helper.displayBar(data.occupant.health.burn, 0, 100, (data.occupant.health.burn > 10) ? 'bad' : 'average', Math.round(data.occupant.health.burn)+'%')}}\n+\t\t\t</div>\n+\t\t</div>\n+\t\t{{if data.occupant.health.pulse}}\n+\t\t<div class=\"item\">\n+\t\t\t<div class=\"itemLabelWide\">\n+\t\t\t\t<b>Pulse</b>:\n+\t\t\t</div>\n+\t\t\t<div class=\"itemContentMedium\">\n+\t\t\t\t<b>{{:data.occupant.health.pulse.value}}</b>bpm ({{:data.occupant.health.pulse.state}})\n+\t\t\t</div>\n+\t\t</div>\n+\t\t{{/if}}\n+\t\t<!--{{if data.occupant.health.paralysis}}","path":"nano/templates/sleeper.tmpl","position":null,"original_position":91,"commit_id":"e744f714371973a1ec5357c0d0d2a47467f68dea","original_commit_id":"a291fa5ee5dde54cc81c5a0e1aefb318d05fc6a4","user":{"login":"inselc","id":13700483,"avatar_url":"https://avatars.githubusercontent.com/u/13700483?v=3","gravatar_id":"","url":"https://api.github.com/users/inselc","html_url":"https://github.com/inselc","followers_url":"https://api.github.com/users/inselc/followers","following_url":"https://api.github.com/users/inselc/following{/other_user}","gists_url":"https://api.github.com/users/inselc/gists{/gist_id}","starred_url":"https://api.github.com/users/inselc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inselc/subscriptions","organizations_url":"https://api.github.com/users/inselc/orgs","repos_url":"https://api.github.com/users/inselc/repos","events_url":"https://api.github.com/users/inselc/events{/privacy}","received_events_url":"https://api.github.com/users/inselc/received_events","type":"User","site_admin":false},"body":"Yes. I cross-referenced my template with that of the current Baystation UI, and it is missing there, too. In fact, all SetParalysis() calls are setting the /mob/living/paralysis variable to 0.\r\n\r\nI left the comment in there, because the old UI _did_ show this value, and I wanted to make as few changes to game-affecting functionality, as possible (\"fixing\" it would only require uncommenting this block).\r\n\r\nI removed the commented block in https://github.com/Aurorastation/Aurora.3/pull/1043/commits/e744f714371973a1ec5357c0d0d2a47467f68dea .","created_at":"2016-10-14T21:29:58Z","updated_at":"2016-10-14T21:29:58Z","html_url":"https://github.com/Aurorastation/Aurora.3/pull/1043#discussion_r83505121","pull_request_url":"https://api.github.com/repos/Aurorastation/Aurora.3/pulls/1043","_links":{"self":{"href":"https://api.github.com/repos/Aurorastation/Aurora.3/pulls/comments/83505121"},"html":{"href":"https://github.com/Aurorastation/Aurora.3/pull/1043#discussion_r83505121"},"pull_request":{"href":"https://api.github.com/repos/Aurorastation/Aurora.3/pulls/1043"}}},"pull_request":{"url":"https://api.github.com/repos/Aurorastation/Aurora.3/pulls/1043","id":88550011,"html_url":"https://github.com/Aurorastation/Aurora.3/pull/1043","diff_url":"https://github.com/Aurorastation/Aurora.3/pull/1043.diff","patch_url":"https://github.com/Aurorastation/Aurora.3/pull/1043.patch","issue_url":"https://api.github.com/repos/Aurorastation/Aurora.3/issues/1043","number":1043,"state":"open","locked":false,"title":"NanoUI updates for PDA Power Monitor and Sleeper Consoles","user":{"login":"inselc","id":13700483,"avatar_url":"https://avatars.githubusercontent.com/u/13700483?v=3","gravatar_id":"","url":"https://api.github.com/users/inselc","html_url":"https://github.com/inselc","followers_url":"https://api.github.com/users/inselc/followers","following_url":"https://api.github.com/users/inselc/following{/other_user}","gists_url":"https://api.github.com/users/inselc/gists{/gist_id}","starred_url":"https://api.github.com/users/inselc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inselc/subscriptions","organizations_url":"https://api.github.com/users/inselc/orgs","repos_url":"https://api.github.com/users/inselc/repos","events_url":"https://api.github.com/users/inselc/events{/privacy}","received_events_url":"https://api.github.com/users/inselc/received_events","type":"User","site_admin":false},"body":"This PR contains some UI updates for the PDA Power Monitor and the Sleeper Consoles (mostly a result of me trying to get a grasp of DM).\r\n\r\n- updated PDA Power Monitor UI. Sensor readings page now uses new icons and shows powernet load.\r\n- updated Sleeper Console to use fancy NanoUI. Added sanity checks for user interaction.","created_at":"2016-10-08T15:53:51Z","updated_at":"2016-10-14T21:29:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d5f7e44ffcaf4d9b3ec8fc4317f1ec46e9a6eaa0","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Aurorastation/Aurora.3/pulls/1043/commits","review_comments_url":"https://api.github.com/repos/Aurorastation/Aurora.3/pulls/1043/comments","review_comment_url":"https://api.github.com/repos/Aurorastation/Aurora.3/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Aurorastation/Aurora.3/issues/1043/comments","statuses_url":"https://api.github.com/repos/Aurorastation/Aurora.3/statuses/e744f714371973a1ec5357c0d0d2a47467f68dea","head":{"label":"inselc:master","ref":"master","sha":"e744f714371973a1ec5357c0d0d2a47467f68dea","user":{"login":"inselc","id":13700483,"avatar_url":"https://avatars.githubusercontent.com/u/13700483?v=3","gravatar_id":"","url":"https://api.github.com/users/inselc","html_url":"https://github.com/inselc","followers_url":"https://api.github.com/users/inselc/followers","following_url":"https://api.github.com/users/inselc/following{/other_user}","gists_url":"https://api.github.com/users/inselc/gists{/gist_id}","starred_url":"https://api.github.com/users/inselc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inselc/subscriptions","organizations_url":"https://api.github.com/users/inselc/orgs","repos_url":"https://api.github.com/users/inselc/repos","events_url":"https://api.github.com/users/inselc/events{/privacy}","received_events_url":"https://api.github.com/users/inselc/received_events","type":"User","site_admin":false},"repo":{"id":69989882,"name":"Aurora.3","full_name":"inselc/Aurora.3","owner":{"login":"inselc","id":13700483,"avatar_url":"https://avatars.githubusercontent.com/u/13700483?v=3","gravatar_id":"","url":"https://api.github.com/users/inselc","html_url":"https://github.com/inselc","followers_url":"https://api.github.com/users/inselc/followers","following_url":"https://api.github.com/users/inselc/following{/other_user}","gists_url":"https://api.github.com/users/inselc/gists{/gist_id}","starred_url":"https://api.github.com/users/inselc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inselc/subscriptions","organizations_url":"https://api.github.com/users/inselc/orgs","repos_url":"https://api.github.com/users/inselc/repos","events_url":"https://api.github.com/users/inselc/events{/privacy}","received_events_url":"https://api.github.com/users/inselc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/inselc/Aurora.3","description":"The code for Aurorastation's new base, forked from Baystation12.","fork":true,"url":"https://api.github.com/repos/inselc/Aurora.3","forks_url":"https://api.github.com/repos/inselc/Aurora.3/forks","keys_url":"https://api.github.com/repos/inselc/Aurora.3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/inselc/Aurora.3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/inselc/Aurora.3/teams","hooks_url":"https://api.github.com/repos/inselc/Aurora.3/hooks","issue_events_url":"https://api.github.com/repos/inselc/Aurora.3/issues/events{/number}","events_url":"https://api.github.com/repos/inselc/Aurora.3/events","assignees_url":"https://api.github.com/repos/inselc/Aurora.3/assignees{/user}","branches_url":"https://api.github.com/repos/inselc/Aurora.3/branches{/branch}","tags_url":"https://api.github.com/repos/inselc/Aurora.3/tags","blobs_url":"https://api.github.com/repos/inselc/Aurora.3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/inselc/Aurora.3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/inselc/Aurora.3/git/refs{/sha}","trees_url":"https://api.github.com/repos/inselc/Aurora.3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/inselc/Aurora.3/statuses/{sha}","languages_url":"https://api.github.com/repos/inselc/Aurora.3/languages","stargazers_url":"https://api.github.com/repos/inselc/Aurora.3/stargazers","contributors_url":"https://api.github.com/repos/inselc/Aurora.3/contributors","subscribers_url":"https://api.github.com/repos/inselc/Aurora.3/subscribers","subscription_url":"https://api.github.com/repos/inselc/Aurora.3/subscription","commits_url":"https://api.github.com/repos/inselc/Aurora.3/commits{/sha}","git_commits_url":"https://api.github.com/repos/inselc/Aurora.3/git/commits{/sha}","comments_url":"https://api.github.com/repos/inselc/Aurora.3/comments{/number}","issue_comment_url":"https://api.github.com/repos/inselc/Aurora.3/issues/comments{/number}","contents_url":"https://api.github.com/repos/inselc/Aurora.3/contents/{+path}","compare_url":"https://api.github.com/repos/inselc/Aurora.3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/inselc/Aurora.3/merges","archive_url":"https://api.github.com/repos/inselc/Aurora.3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/inselc/Aurora.3/downloads","issues_url":"https://api.github.com/repos/inselc/Aurora.3/issues{/number}","pulls_url":"https://api.github.com/repos/inselc/Aurora.3/pulls{/number}","milestones_url":"https://api.github.com/repos/inselc/Aurora.3/milestones{/number}","notifications_url":"https://api.github.com/repos/inselc/Aurora.3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/inselc/Aurora.3/labels{/name}","releases_url":"https://api.github.com/repos/inselc/Aurora.3/releases{/id}","deployments_url":"https://api.github.com/repos/inselc/Aurora.3/deployments","created_at":"2016-10-04T17:40:30Z","updated_at":"2016-10-04T17:40:42Z","pushed_at":"2016-10-14T21:27:50Z","git_url":"git://github.com/inselc/Aurora.3.git","ssh_url":"git@github.com:inselc/Aurora.3.git","clone_url":"https://github.com/inselc/Aurora.3.git","svn_url":"https://github.com/inselc/Aurora.3","homepage":"http://aurorastation.org/","size":546419,"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":"Aurorastation:development","ref":"development","sha":"58d995fb229ad9fd6d5de9527c6e42f2521f09b1","user":{"login":"Aurorastation","id":6915762,"avatar_url":"https://avatars.githubusercontent.com/u/6915762?v=3","gravatar_id":"","url":"https://api.github.com/users/Aurorastation","html_url":"https://github.com/Aurorastation","followers_url":"https://api.github.com/users/Aurorastation/followers","following_url":"https://api.github.com/users/Aurorastation/following{/other_user}","gists_url":"https://api.github.com/users/Aurorastation/gists{/gist_id}","starred_url":"https://api.github.com/users/Aurorastation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aurorastation/subscriptions","organizations_url":"https://api.github.com/users/Aurorastation/orgs","repos_url":"https://api.github.com/users/Aurorastation/repos","events_url":"https://api.github.com/users/Aurorastation/events{/privacy}","received_events_url":"https://api.github.com/users/Aurorastation/received_events","type":"Organization","site_admin":false},"repo":{"id":42579199,"name":"Aurora.3","full_name":"Aurorastation/Aurora.3","owner":{"login":"Aurorastation","id":6915762,"avatar_url":"https://avatars.githubusercontent.com/u/6915762?v=3","gravatar_id":"","url":"https://api.github.com/users/Aurorastation","html_url":"https://github.com/Aurorastation","followers_url":"https://api.github.com/users/Aurorastation/followers","following_url":"https://api.github.com/users/Aurorastation/following{/other_user}","gists_url":"https://api.github.com/users/Aurorastation/gists{/gist_id}","starred_url":"https://api.github.com/users/Aurorastation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aurorastation/subscriptions","organizations_url":"https://api.github.com/users/Aurorastation/orgs","repos_url":"https://api.github.com/users/Aurorastation/repos","events_url":"https://api.github.com/users/Aurorastation/events{/privacy}","received_events_url":"https://api.github.com/users/Aurorastation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Aurorastation/Aurora.3","description":"The code for Aurorastation's new base, forked from Baystation12.","fork":true,"url":"https://api.github.com/repos/Aurorastation/Aurora.3","forks_url":"https://api.github.com/repos/Aurorastation/Aurora.3/forks","keys_url":"https://api.github.com/repos/Aurorastation/Aurora.3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Aurorastation/Aurora.3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Aurorastation/Aurora.3/teams","hooks_url":"https://api.github.com/repos/Aurorastation/Aurora.3/hooks","issue_events_url":"https://api.github.com/repos/Aurorastation/Aurora.3/issues/events{/number}","events_url":"https://api.github.com/repos/Aurorastation/Aurora.3/events","assignees_url":"https://api.github.com/repos/Aurorastation/Aurora.3/assignees{/user}","branches_url":"https://api.github.com/repos/Aurorastation/Aurora.3/branches{/branch}","tags_url":"https://api.github.com/repos/Aurorastation/Aurora.3/tags","blobs_url":"https://api.github.com/repos/Aurorastation/Aurora.3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Aurorastation/Aurora.3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Aurorastation/Aurora.3/git/refs{/sha}","trees_url":"https://api.github.com/repos/Aurorastation/Aurora.3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Aurorastation/Aurora.3/statuses/{sha}","languages_url":"https://api.github.com/repos/Aurorastation/Aurora.3/languages","stargazers_url":"https://api.github.com/repos/Aurorastation/Aurora.3/stargazers","contributors_url":"https://api.github.com/repos/Aurorastation/Aurora.3/contributors","subscribers_url":"https://api.github.com/repos/Aurorastation/Aurora.3/subscribers","subscription_url":"https://api.github.com/repos/Aurorastation/Aurora.3/subscription","commits_url":"https://api.github.com/repos/Aurorastation/Aurora.3/commits{/sha}","git_commits_url":"https://api.github.com/repos/Aurorastation/Aurora.3/git/commits{/sha}","comments_url":"https://api.github.com/repos/Aurorastation/Aurora.3/comments{/number}","issue_comment_url":"https://api.github.com/repos/Aurorastation/Aurora.3/issues/comments{/number}","contents_url":"https://api.github.com/repos/Aurorastation/Aurora.3/contents/{+path}","compare_url":"https://api.github.com/repos/Aurorastation/Aurora.3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Aurorastation/Aurora.3/merges","archive_url":"https://api.github.com/repos/Aurorastation/Aurora.3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Aurorastation/Aurora.3/downloads","issues_url":"https://api.github.com/repos/Aurorastation/Aurora.3/issues{/number}","pulls_url":"https://api.github.com/repos/Aurorastation/Aurora.3/pulls{/number}","milestones_url":"https://api.github.com/repos/Aurorastation/Aurora.3/milestones{/number}","notifications_url":"https://api.github.com/repos/Aurorastation/Aurora.3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Aurorastation/Aurora.3/labels{/name}","releases_url":"https://api.github.com/repos/Aurorastation/Aurora.3/releases{/id}","deployments_url":"https://api.github.com/repos/Aurorastation/Aurora.3/deployments","created_at":"2015-09-16T09:56:37Z","updated_at":"2016-10-11T18:02:40Z","pushed_at":"2016-10-14T21:27:50Z","git_url":"git://github.com/Aurorastation/Aurora.3.git","ssh_url":"git@github.com:Aurorastation/Aurora.3.git","clone_url":"https://github.com/Aurorastation/Aurora.3.git","svn_url":"https://github.com/Aurorastation/Aurora.3","homepage":"http://aurorastation.org/","size":584996,"stargazers_count":7,"watchers_count":7,"language":"DM","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":38,"mirror_url":null,"open_issues_count":186,"forks":38,"open_issues":186,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Aurorastation/Aurora.3/pulls/1043"},"html":{"href":"https://github.com/Aurorastation/Aurora.3/pull/1043"},"issue":{"href":"https://api.github.com/repos/Aurorastation/Aurora.3/issues/1043"},"comments":{"href":"https://api.github.com/repos/Aurorastation/Aurora.3/issues/1043/comments"},"review_comments":{"href":"https://api.github.com/repos/Aurorastation/Aurora.3/pulls/1043/comments"},"review_comment":{"href":"https://api.github.com/repos/Aurorastation/Aurora.3/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Aurorastation/Aurora.3/pulls/1043/commits"},"statuses":{"href":"https://api.github.com/repos/Aurorastation/Aurora.3/statuses/e744f714371973a1ec5357c0d0d2a47467f68dea"}}}}
{"actor":{"display_login":"inselc"}}