{"action":"reopened","number":7657,"pull_request":{"url":"https://api.github.com/repos/tgstation/-tg-station/pulls/7657","id":29101370,"html_url":"https://github.com/tgstation/-tg-station/pull/7657","diff_url":"https://github.com/tgstation/-tg-station/pull/7657.diff","patch_url":"https://github.com/tgstation/-tg-station/pull/7657.patch","issue_url":"https://api.github.com/repos/tgstation/-tg-station/issues/7657","number":7657,"state":"open","locked":false,"title":"Reagent Analyzer","user":{"login":"Deantwo","id":2676134,"avatar_url":"https://avatars.githubusercontent.com/u/2676134?v=3","gravatar_id":"","url":"https://api.github.com/users/Deantwo","html_url":"https://github.com/Deantwo","followers_url":"https://api.github.com/users/Deantwo/followers","following_url":"https://api.github.com/users/Deantwo/following{/other_user}","gists_url":"https://api.github.com/users/Deantwo/gists{/gist_id}","starred_url":"https://api.github.com/users/Deantwo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Deantwo/subscriptions","organizations_url":"https://api.github.com/users/Deantwo/orgs","repos_url":"https://api.github.com/users/Deantwo/repos","events_url":"https://api.github.com/users/Deantwo/events{/privacy}","received_events_url":"https://api.github.com/users/Deantwo/received_events","type":"User","site_admin":false},"body":"As discussed in https://github.com/tgstation/-tg-station/pull/7402, a handheld reagent scanner is needed before https://github.com/tgstation/-tg-station/pull/7402 is a good idea.\r\nSo this is my attempt at making the handheld reagent scanner.\r\n\r\n**Features:**\r\n- Lists all reagents in the target atom. (beaker, bottle, pill, patch, mob, or turf)\r\n- Warns if the amount of a reagent is over the overdose_threshold or addiction_threshold (or both).\r\n- When scanning a mob, the amount of time until a reagent dissipates is calculated and shown.\r\n- Warns when a mob is overdosed on a reagent.\r\n- PDA reagent scanner also upgraded.\r\n\r\n**Pictures:**\r\n![reagentanalyzer testing](https://cloud.githubusercontent.com/assets/2676134/6149907/3fd3944a-b20c-11e4-96fd-98cdda5cb8f6.PNG)![reagentanalyzer test3](https://cloud.githubusercontent.com/assets/2676134/6167652/df9d8cc2-b2bd-11e4-8a7c-9e9741ed2840.PNG)\r\n![reagentanalyzer testing 2](https://cloud.githubusercontent.com/assets/2676134/6149910/4113f8ea-b20c-11e4-8404-2587b273a6cd.PNG)\r\n\r\n**To-do list:**\r\n- [ ] A new sprite. (Anyone want to make one?)\r\n- [ ] Figure out what the hell is up with the ```afterattack``` proc.\r\n- [ ] Clumsiness/brain damage mess up.\r\n- [ ] Placement on the map.\r\n- [ ] Allow in medical belts.\r\n- [ ] Added to Autolathe? (Or something?)\r\n- [x] Talk with @Iamgoofball about his HealthAnalyzer update in https://github.com/tgstation/-tg-station/pull/7562.\r\n\r\n**Feedback needed:**\r\n- Look and feel of the scan result.\r\n- More features? Less features?\r\n - Should It scan for viruses in the reagents/blood too? (just a \"Contaminated\" warning)\r\n - Remove scanning of people?\r\n- Where should they be available from at round start? How many?\r\n - 3 in each *NanoMed Plus*?\r\n - 1 or 2 in chemistry?\r\n\r\n**Future plans:**\r\n- When starting work on the reagent database, I would like this to function as a handheld reagent database as well.","created_at":"2015-02-11T15:47:06Z","updated_at":"2015-03-25T09:12:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"aedd2999e19791b2fe0bffe74952a9df3008c03f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tgstation/-tg-station/pulls/7657/commits","review_comments_url":"https://api.github.com/repos/tgstation/-tg-station/pulls/7657/comments","review_comment_url":"https://api.github.com/repos/tgstation/-tg-station/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tgstation/-tg-station/issues/7657/comments","statuses_url":"https://api.github.com/repos/tgstation/-tg-station/statuses/fefb1767fa68a5b2bb6e7ebcd004d7968bf6edbe","head":{"label":"Deantwo:ReagentPoker","ref":"ReagentPoker","sha":"fefb1767fa68a5b2bb6e7ebcd004d7968bf6edbe","user":{"login":"Deantwo","id":2676134,"avatar_url":"https://avatars.githubusercontent.com/u/2676134?v=3","gravatar_id":"","url":"https://api.github.com/users/Deantwo","html_url":"https://github.com/Deantwo","followers_url":"https://api.github.com/users/Deantwo/followers","following_url":"https://api.github.com/users/Deantwo/following{/other_user}","gists_url":"https://api.github.com/users/Deantwo/gists{/gist_id}","starred_url":"https://api.github.com/users/Deantwo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Deantwo/subscriptions","organizations_url":"https://api.github.com/users/Deantwo/orgs","repos_url":"https://api.github.com/users/Deantwo/repos","events_url":"https://api.github.com/users/Deantwo/events{/privacy}","received_events_url":"https://api.github.com/users/Deantwo/received_events","type":"User","site_admin":false},"repo":{"id":29595012,"name":"-tg-station","full_name":"Deantwo/-tg-station","owner":{"login":"Deantwo","id":2676134,"avatar_url":"https://avatars.githubusercontent.com/u/2676134?v=3","gravatar_id":"","url":"https://api.github.com/users/Deantwo","html_url":"https://github.com/Deantwo","followers_url":"https://api.github.com/users/Deantwo/followers","following_url":"https://api.github.com/users/Deantwo/following{/other_user}","gists_url":"https://api.github.com/users/Deantwo/gists{/gist_id}","starred_url":"https://api.github.com/users/Deantwo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Deantwo/subscriptions","organizations_url":"https://api.github.com/users/Deantwo/orgs","repos_url":"https://api.github.com/users/Deantwo/repos","events_url":"https://api.github.com/users/Deantwo/events{/privacy}","received_events_url":"https://api.github.com/users/Deantwo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Deantwo/-tg-station","description":"/tg/'s SS13 branch","fork":true,"url":"https://api.github.com/repos/Deantwo/-tg-station","forks_url":"https://api.github.com/repos/Deantwo/-tg-station/forks","keys_url":"https://api.github.com/repos/Deantwo/-tg-station/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Deantwo/-tg-station/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Deantwo/-tg-station/teams","hooks_url":"https://api.github.com/repos/Deantwo/-tg-station/hooks","issue_events_url":"https://api.github.com/repos/Deantwo/-tg-station/issues/events{/number}","events_url":"https://api.github.com/repos/Deantwo/-tg-station/events","assignees_url":"https://api.github.com/repos/Deantwo/-tg-station/assignees{/user}","branches_url":"https://api.github.com/repos/Deantwo/-tg-station/branches{/branch}","tags_url":"https://api.github.com/repos/Deantwo/-tg-station/tags","blobs_url":"https://api.github.com/repos/Deantwo/-tg-station/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Deantwo/-tg-station/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Deantwo/-tg-station/git/refs{/sha}","trees_url":"https://api.github.com/repos/Deantwo/-tg-station/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Deantwo/-tg-station/statuses/{sha}","languages_url":"https://api.github.com/repos/Deantwo/-tg-station/languages","stargazers_url":"https://api.github.com/repos/Deantwo/-tg-station/stargazers","contributors_url":"https://api.github.com/repos/Deantwo/-tg-station/contributors","subscribers_url":"https://api.github.com/repos/Deantwo/-tg-station/subscribers","subscription_url":"https://api.github.com/repos/Deantwo/-tg-station/subscription","commits_url":"https://api.github.com/repos/Deantwo/-tg-station/commits{/sha}","git_commits_url":"https://api.github.com/repos/Deantwo/-tg-station/git/commits{/sha}","comments_url":"https://api.github.com/repos/Deantwo/-tg-station/comments{/number}","issue_comment_url":"https://api.github.com/repos/Deantwo/-tg-station/issues/comments{/number}","contents_url":"https://api.github.com/repos/Deantwo/-tg-station/contents/{+path}","compare_url":"https://api.github.com/repos/Deantwo/-tg-station/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Deantwo/-tg-station/merges","archive_url":"https://api.github.com/repos/Deantwo/-tg-station/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Deantwo/-tg-station/downloads","issues_url":"https://api.github.com/repos/Deantwo/-tg-station/issues{/number}","pulls_url":"https://api.github.com/repos/Deantwo/-tg-station/pulls{/number}","milestones_url":"https://api.github.com/repos/Deantwo/-tg-station/milestones{/number}","notifications_url":"https://api.github.com/repos/Deantwo/-tg-station/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Deantwo/-tg-station/labels{/name}","releases_url":"https://api.github.com/repos/Deantwo/-tg-station/releases{/id}","created_at":"2015-01-21T15:04:35Z","updated_at":"2015-02-16T09:21:19Z","pushed_at":"2015-02-16T09:22:59Z","git_url":"git://github.com/Deantwo/-tg-station.git","ssh_url":"git@github.com:Deantwo/-tg-station.git","clone_url":"https://github.com/Deantwo/-tg-station.git","svn_url":"https://github.com/Deantwo/-tg-station","homepage":"http://www.tgstation13.org/","size":438599,"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":"tgstation:master","ref":"master","sha":"7c360499be1d956abd555df33ec69d5086af0d81","user":{"login":"tgstation","id":1363778,"avatar_url":"https://avatars.githubusercontent.com/u/1363778?v=3","gravatar_id":"","url":"https://api.github.com/users/tgstation","html_url":"https://github.com/tgstation","followers_url":"https://api.github.com/users/tgstation/followers","following_url":"https://api.github.com/users/tgstation/following{/other_user}","gists_url":"https://api.github.com/users/tgstation/gists{/gist_id}","starred_url":"https://api.github.com/users/tgstation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgstation/subscriptions","organizations_url":"https://api.github.com/users/tgstation/orgs","repos_url":"https://api.github.com/users/tgstation/repos","events_url":"https://api.github.com/users/tgstation/events{/privacy}","received_events_url":"https://api.github.com/users/tgstation/received_events","type":"Organization","site_admin":false},"repo":{"id":3234987,"name":"-tg-station","full_name":"tgstation/-tg-station","owner":{"login":"tgstation","id":1363778,"avatar_url":"https://avatars.githubusercontent.com/u/1363778?v=3","gravatar_id":"","url":"https://api.github.com/users/tgstation","html_url":"https://github.com/tgstation","followers_url":"https://api.github.com/users/tgstation/followers","following_url":"https://api.github.com/users/tgstation/following{/other_user}","gists_url":"https://api.github.com/users/tgstation/gists{/gist_id}","starred_url":"https://api.github.com/users/tgstation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgstation/subscriptions","organizations_url":"https://api.github.com/users/tgstation/orgs","repos_url":"https://api.github.com/users/tgstation/repos","events_url":"https://api.github.com/users/tgstation/events{/privacy}","received_events_url":"https://api.github.com/users/tgstation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tgstation/-tg-station","description":"/tg/'s SS13 branch","fork":false,"url":"https://api.github.com/repos/tgstation/-tg-station","forks_url":"https://api.github.com/repos/tgstation/-tg-station/forks","keys_url":"https://api.github.com/repos/tgstation/-tg-station/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tgstation/-tg-station/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tgstation/-tg-station/teams","hooks_url":"https://api.github.com/repos/tgstation/-tg-station/hooks","issue_events_url":"https://api.github.com/repos/tgstation/-tg-station/issues/events{/number}","events_url":"https://api.github.com/repos/tgstation/-tg-station/events","assignees_url":"https://api.github.com/repos/tgstation/-tg-station/assignees{/user}","branches_url":"https://api.github.com/repos/tgstation/-tg-station/branches{/branch}","tags_url":"https://api.github.com/repos/tgstation/-tg-station/tags","blobs_url":"https://api.github.com/repos/tgstation/-tg-station/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tgstation/-tg-station/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tgstation/-tg-station/git/refs{/sha}","trees_url":"https://api.github.com/repos/tgstation/-tg-station/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tgstation/-tg-station/statuses/{sha}","languages_url":"https://api.github.com/repos/tgstation/-tg-station/languages","stargazers_url":"https://api.github.com/repos/tgstation/-tg-station/stargazers","contributors_url":"https://api.github.com/repos/tgstation/-tg-station/contributors","subscribers_url":"https://api.github.com/repos/tgstation/-tg-station/subscribers","subscription_url":"https://api.github.com/repos/tgstation/-tg-station/subscription","commits_url":"https://api.github.com/repos/tgstation/-tg-station/commits{/sha}","git_commits_url":"https://api.github.com/repos/tgstation/-tg-station/git/commits{/sha}","comments_url":"https://api.github.com/repos/tgstation/-tg-station/comments{/number}","issue_comment_url":"https://api.github.com/repos/tgstation/-tg-station/issues/comments{/number}","contents_url":"https://api.github.com/repos/tgstation/-tg-station/contents/{+path}","compare_url":"https://api.github.com/repos/tgstation/-tg-station/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tgstation/-tg-station/merges","archive_url":"https://api.github.com/repos/tgstation/-tg-station/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tgstation/-tg-station/downloads","issues_url":"https://api.github.com/repos/tgstation/-tg-station/issues{/number}","pulls_url":"https://api.github.com/repos/tgstation/-tg-station/pulls{/number}","milestones_url":"https://api.github.com/repos/tgstation/-tg-station/milestones{/number}","notifications_url":"https://api.github.com/repos/tgstation/-tg-station/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tgstation/-tg-station/labels{/name}","releases_url":"https://api.github.com/repos/tgstation/-tg-station/releases{/id}","created_at":"2012-01-21T17:32:47Z","updated_at":"2015-03-25T05:40:15Z","pushed_at":"2015-03-25T08:50:21Z","git_url":"git://github.com/tgstation/-tg-station.git","ssh_url":"git@github.com:tgstation/-tg-station.git","clone_url":"https://github.com/tgstation/-tg-station.git","svn_url":"https://github.com/tgstation/-tg-station","homepage":"http://www.tgstation13.org/","size":629422,"stargazers_count":193,"watchers_count":193,"language":"DM","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":697,"mirror_url":null,"open_issues_count":798,"forks":697,"open_issues":798,"watchers":193,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tgstation/-tg-station/pulls/7657"},"html":{"href":"https://github.com/tgstation/-tg-station/pull/7657"},"issue":{"href":"https://api.github.com/repos/tgstation/-tg-station/issues/7657"},"comments":{"href":"https://api.github.com/repos/tgstation/-tg-station/issues/7657/comments"},"review_comments":{"href":"https://api.github.com/repos/tgstation/-tg-station/pulls/7657/comments"},"review_comment":{"href":"https://api.github.com/repos/tgstation/-tg-station/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tgstation/-tg-station/pulls/7657/commits"},"statuses":{"href":"https://api.github.com/repos/tgstation/-tg-station/statuses/fefb1767fa68a5b2bb6e7ebcd004d7968bf6edbe"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":19,"review_comments":0,"commits":4,"additions":66,"deletions":14,"changed_files":2}}