{"action":"created","comment":{"url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/comments/219668541","pull_request_review_id":157906749,"id":219668541,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxOTY2ODU0MQ==","diff_hunk":"@@ -441,4 +711,105 @@\n \tif(H.sdisabilities & NEARSIGHTED)\n \t\tdat += text(\"Retinal misalignment detected.\")\n \n-\t. = jointext(dat,\"<br>\")\n\\ No newline at end of file\n+\t. = jointext(dat,\"<br>\")\t. = jointext(dat,\"<br>\")\n+\n+/obj/machinery/body_scan_display\n+\tname = \"Body Scan Display\"\n+\tdesc = \"A wall-mounted display linked to a body scanner.\"\n+\ticon = 'icons/obj/modular_telescreen.dmi'\n+\ticon_state = \"operating\"\n+\tvar/icon_state_unpowered = \"telescreen\"\n+\tanchored = TRUE\n+\tdensity = 0\n+\tvar/base_idle_power_usage = 75\n+\tvar/base_active_power_usage = 300\n+\tw_class = ITEM_SIZE_HUGE\n+\tvar/list/bodyscans = list()\n+\tvar/selected = 0\n+\n+/obj/machinery/body_scan_display/proc/add_new_scan(var/list/scan)\n+\tbodyscans += list(scan)\n+\tupdateUsrDialog()\n+\n+/obj/machinery/body_scan_display/proc/get_console_data(mob/user as mob)\n+\t. = list()\n+\tif(!bodyscans.len)\n+\t\t. += \"<center>There are no scans available.</center>\"\n+\t\treturn JOINTEXT(.)\n+\t. += \"<table><tr><td><strong>Scans</strong></td></tr>\"\n+\t. += \"<tr><th>Patient Name</th><th>Scan Time</th><th>View</th></tr>\"\n+\tfor(var/i = 1, i <= length(bodyscans), i++)\n+\t\tvar/list/scan = list()\n+\t\tscan = bodyscans[i]\n+\t\tmessage_admins(\"scan\\[\\\"name\\\"\\] = [scan[\"name\"]]\")\n+\t\t. += \"<tr><td>[scan[\"name\"]]</td><td>[scan[\"time\"]]</td><td><a href='?src=\\ref[src];view=[i]'>View</a></td></tr>\"\n+\t. += \"</table>\"\n+\tif(selected)\n+\t\t. += \"<hr>\"\n+\t\t. += display_data(bodyscans[selected], user.get_skill_value(SKILL_MEDICAL))\n+\t. = JOINTEXT(.)\n+\treturn .\n+\n+/obj/machinery/body_scan_display/Topic(mob/user as mob, href_list)","path":"code/game/machinery/adv_med.dm","position":450,"original_position":450,"commit_id":"55afdc6c306128206ceaf143fe3e917241f2a0c3","original_commit_id":"953a84648df3770f8f530921d021dd391b18bfd5","user":{"login":"PsiOmegaDelta","id":496895,"node_id":"MDQ6VXNlcjQ5Njg5NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/496895?v=4","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 passed parameters are incorrect. It's `/Topic(href, href_list)`\r\nDid you mean `OnTopic()`?","created_at":"2018-09-22T11:06:14Z","updated_at":"2018-09-22T11:06:14Z","html_url":"https://github.com/Baystation12/Baystation12/pull/23166#discussion_r219668541","pull_request_url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/23166","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/comments/219668541"},"html":{"href":"https://github.com/Baystation12/Baystation12/pull/23166#discussion_r219668541"},"pull_request":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/23166"}},"in_reply_to_id":219668520},"pull_request":{"url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/23166","id":217451170,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE3NDUxMTcw","html_url":"https://github.com/Baystation12/Baystation12/pull/23166","diff_url":"https://github.com/Baystation12/Baystation12/pull/23166.diff","patch_url":"https://github.com/Baystation12/Baystation12/pull/23166.patch","issue_url":"https://api.github.com/repos/Baystation12/Baystation12/issues/23166","number":23166,"state":"open","locked":false,"title":"Gives \"Eye of the Beholder\" Functionality to Body Scans, Adds Body Scan Display","user":{"login":"Textor44","id":12721324,"node_id":"MDQ6VXNlcjEyNzIxMzI0","avatar_url":"https://avatars1.githubusercontent.com/u/12721324?v=4","gravatar_id":"","url":"https://api.github.com/users/Textor44","html_url":"https://github.com/Textor44","followers_url":"https://api.github.com/users/Textor44/followers","following_url":"https://api.github.com/users/Textor44/following{/other_user}","gists_url":"https://api.github.com/users/Textor44/gists{/gist_id}","starred_url":"https://api.github.com/users/Textor44/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Textor44/subscriptions","organizations_url":"https://api.github.com/users/Textor44/orgs","repos_url":"https://api.github.com/users/Textor44/repos","events_url":"https://api.github.com/users/Textor44/events{/privacy}","received_events_url":"https://api.github.com/users/Textor44/received_events","type":"User","site_admin":false},"body":"**Work in progress**\r\n\r\n-Body scans now look different depening on the skill of the person reading them. This includes printed versions.\r\n-New machine: Body Scan Display. It can have scans pushed to it for surgeons to reference.\r\n-Body scanner UI updated to nanoui.\r\n-Maps in two body scan displays, one in each OR.\r\n\r\nNanoUI, good medical skill:\r\n![image](https://media.discordapp.net/attachments/492799900145418270/492898424623202314/unknown.png)\r\nNanoUI, bad medical skill:\r\n![image](https://media.discordapp.net/attachments/492799900145418270/492898586942767135/unknown.png)\r\nPrinted Scan (same exact item, two skill levels):\r\n![image](https://media.discordapp.net/attachments/492799900145418270/492897406082482186/unknown.png)\r\n![image](https://media.discordapp.net/attachments/492799900145418270/492897550723186699/unknown.png)\r\n\r\n\r\n**bug**: Body scan displays currently make all commands run on a single display... so OR1's display never actually works, but OR2's display shows everything asked at either machine. If you can figure out WHY please, please let me know.","created_at":"2018-09-22T10:40:53Z","updated_at":"2018-09-22T11:06:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"87f215cb4f35c542dddc16ed0bb1e7ba08978e1b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":19402803,"node_id":"MDU6TGFiZWwxOTQwMjgwMw==","url":"https://api.github.com/repos/Baystation12/Baystation12/labels/Map","name":"Map","color":"76428A","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/23166/commits","review_comments_url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/23166/comments","review_comment_url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Baystation12/Baystation12/issues/23166/comments","statuses_url":"https://api.github.com/repos/Baystation12/Baystation12/statuses/55afdc6c306128206ceaf143fe3e917241f2a0c3","head":{"label":"Textor44:Body-Scan-Improvements","ref":"Body-Scan-Improvements","sha":"55afdc6c306128206ceaf143fe3e917241f2a0c3","user":{"login":"Textor44","id":12721324,"node_id":"MDQ6VXNlcjEyNzIxMzI0","avatar_url":"https://avatars1.githubusercontent.com/u/12721324?v=4","gravatar_id":"","url":"https://api.github.com/users/Textor44","html_url":"https://github.com/Textor44","followers_url":"https://api.github.com/users/Textor44/followers","following_url":"https://api.github.com/users/Textor44/following{/other_user}","gists_url":"https://api.github.com/users/Textor44/gists{/gist_id}","starred_url":"https://api.github.com/users/Textor44/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Textor44/subscriptions","organizations_url":"https://api.github.com/users/Textor44/orgs","repos_url":"https://api.github.com/users/Textor44/repos","events_url":"https://api.github.com/users/Textor44/events{/privacy}","received_events_url":"https://api.github.com/users/Textor44/received_events","type":"User","site_admin":false},"repo":{"id":145623243,"node_id":"MDEwOlJlcG9zaXRvcnkxNDU2MjMyNDM=","name":"Baystation12","full_name":"Textor44/Baystation12","private":false,"owner":{"login":"Textor44","id":12721324,"node_id":"MDQ6VXNlcjEyNzIxMzI0","avatar_url":"https://avatars1.githubusercontent.com/u/12721324?v=4","gravatar_id":"","url":"https://api.github.com/users/Textor44","html_url":"https://github.com/Textor44","followers_url":"https://api.github.com/users/Textor44/followers","following_url":"https://api.github.com/users/Textor44/following{/other_user}","gists_url":"https://api.github.com/users/Textor44/gists{/gist_id}","starred_url":"https://api.github.com/users/Textor44/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Textor44/subscriptions","organizations_url":"https://api.github.com/users/Textor44/orgs","repos_url":"https://api.github.com/users/Textor44/repos","events_url":"https://api.github.com/users/Textor44/events{/privacy}","received_events_url":"https://api.github.com/users/Textor44/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Textor44/Baystation12","description":"The code for Baystation12's branch of SS13","fork":true,"url":"https://api.github.com/repos/Textor44/Baystation12","forks_url":"https://api.github.com/repos/Textor44/Baystation12/forks","keys_url":"https://api.github.com/repos/Textor44/Baystation12/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Textor44/Baystation12/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Textor44/Baystation12/teams","hooks_url":"https://api.github.com/repos/Textor44/Baystation12/hooks","issue_events_url":"https://api.github.com/repos/Textor44/Baystation12/issues/events{/number}","events_url":"https://api.github.com/repos/Textor44/Baystation12/events","assignees_url":"https://api.github.com/repos/Textor44/Baystation12/assignees{/user}","branches_url":"https://api.github.com/repos/Textor44/Baystation12/branches{/branch}","tags_url":"https://api.github.com/repos/Textor44/Baystation12/tags","blobs_url":"https://api.github.com/repos/Textor44/Baystation12/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Textor44/Baystation12/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Textor44/Baystation12/git/refs{/sha}","trees_url":"https://api.github.com/repos/Textor44/Baystation12/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Textor44/Baystation12/statuses/{sha}","languages_url":"https://api.github.com/repos/Textor44/Baystation12/languages","stargazers_url":"https://api.github.com/repos/Textor44/Baystation12/stargazers","contributors_url":"https://api.github.com/repos/Textor44/Baystation12/contributors","subscribers_url":"https://api.github.com/repos/Textor44/Baystation12/subscribers","subscription_url":"https://api.github.com/repos/Textor44/Baystation12/subscription","commits_url":"https://api.github.com/repos/Textor44/Baystation12/commits{/sha}","git_commits_url":"https://api.github.com/repos/Textor44/Baystation12/git/commits{/sha}","comments_url":"https://api.github.com/repos/Textor44/Baystation12/comments{/number}","issue_comment_url":"https://api.github.com/repos/Textor44/Baystation12/issues/comments{/number}","contents_url":"https://api.github.com/repos/Textor44/Baystation12/contents/{+path}","compare_url":"https://api.github.com/repos/Textor44/Baystation12/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Textor44/Baystation12/merges","archive_url":"https://api.github.com/repos/Textor44/Baystation12/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Textor44/Baystation12/downloads","issues_url":"https://api.github.com/repos/Textor44/Baystation12/issues{/number}","pulls_url":"https://api.github.com/repos/Textor44/Baystation12/pulls{/number}","milestones_url":"https://api.github.com/repos/Textor44/Baystation12/milestones{/number}","notifications_url":"https://api.github.com/repos/Textor44/Baystation12/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Textor44/Baystation12/labels{/name}","releases_url":"https://api.github.com/repos/Textor44/Baystation12/releases{/id}","deployments_url":"https://api.github.com/repos/Textor44/Baystation12/deployments","created_at":"2018-08-21T21:51:12Z","updated_at":"2018-09-22T10:26:37Z","pushed_at":"2018-09-22T11:05:29Z","git_url":"git://github.com/Textor44/Baystation12.git","ssh_url":"git@github.com:Textor44/Baystation12.git","clone_url":"https://github.com/Textor44/Baystation12.git","svn_url":"https://github.com/Textor44/Baystation12","homepage":"http://baystation12.net/","size":901800,"stargazers_count":0,"watchers_count":0,"language":"DM","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"dev"}},"base":{"label":"Baystation12:dev","ref":"dev","sha":"4b15b79e194d287fc7a59cf92c7484370bb7f3d2","user":{"login":"Baystation12","id":1174322,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNzQzMjI=","avatar_url":"https://avatars0.githubusercontent.com/u/1174322?v=4","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,"node_id":"MDEwOlJlcG9zaXRvcnkyNzE1OTMz","name":"Baystation12","full_name":"Baystation12/Baystation12","private":false,"owner":{"login":"Baystation12","id":1174322,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNzQzMjI=","avatar_url":"https://avatars0.githubusercontent.com/u/1174322?v=4","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},"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":"2018-09-21T20:34:47Z","pushed_at":"2018-09-22T11:05:32Z","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":901481,"stargazers_count":289,"watchers_count":289,"language":"DM","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1027,"mirror_url":null,"archived":false,"open_issues_count":1545,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":1027,"open_issues":1545,"watchers":289,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/23166"},"html":{"href":"https://github.com/Baystation12/Baystation12/pull/23166"},"issue":{"href":"https://api.github.com/repos/Baystation12/Baystation12/issues/23166"},"comments":{"href":"https://api.github.com/repos/Baystation12/Baystation12/issues/23166/comments"},"review_comments":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/23166/comments"},"review_comment":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/23166/commits"},"statuses":{"href":"https://api.github.com/repos/Baystation12/Baystation12/statuses/55afdc6c306128206ceaf143fe3e917241f2a0c3"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"PsiOmegaDelta"}}