{"action":"created","comment":{"url":"https://api.github.com/repos/yogstation13/yogstation/pulls/comments/86705884","pull_request_review_id":7349809,"id":86705884,"diff_hunk":"@@ -484,8 +484,29 @@ var/global/list/datum/cachedbook/cachedbooks // List of our cached book datums\n \t\tO.loc = src\r\n \telse\r\n \t\treturn ..()\r\n+/obj/machinery/libraryscanner/attackby(obj/item/W, mob/user, params)\r\n+\tif(istype(W, /obj/item/weapon/wrench))\r\n+\t\tif(!anchored)\r\n+\t\t\tif(!istype(loc, /turf/open/floor))\r\n+\t\t\t\tuser << \"<span class='warning'>A floor must be present to secure the scanner control interface!</span>\"\r\n+\t\t\telse\r\n+\t\t\t\tplaysound(src.loc, 'sound/items/Ratchet.ogg', 100, 1)\r\n+\t\t\t\tuser << \"<span class='notice'>You start securing the scanner control interface...</span>\"\r\n+\t\t\t\tdo_after(user, 20/W.toolspeed, target = src)\r\n+\t\t\t\tanchored = 1\r\n+\t\t\t\tuser << \"<span class='notice'>You secure the scanner control interface.</span>\"\r\n+\t\telse\r\n+\t\t\tplaysound(src.loc, 'sound/items/Ratchet.ogg', 100, 1)\r\n+\t\t\tuser << \"<span class='notice'>You start unsecuring the scanner control interface...</span>\"\r\n+\t\t\tdo_after(user, 20/W.toolspeed, target = src)\r\n+\t\t\tanchored = 0\r\n+\t\t\tuser << \"<span class='notice'>You unsecure the scanner control interface.</span>\"\r\n+\t\t\treturn 0\r","path":"code/modules/library/lib_machines.dm","position":21,"original_position":21,"commit_id":"488ae525a401d7de3d007eb4357b7a4edd4bdb76","original_commit_id":"488ae525a401d7de3d007eb4357b7a4edd4bdb76","user":{"login":"AndySok","id":19246179,"avatar_url":"https://avatars.githubusercontent.com/u/19246179?v=3","gravatar_id":"","url":"https://api.github.com/users/AndySok","html_url":"https://github.com/AndySok","followers_url":"https://api.github.com/users/AndySok/followers","following_url":"https://api.github.com/users/AndySok/following{/other_user}","gists_url":"https://api.github.com/users/AndySok/gists{/gist_id}","starred_url":"https://api.github.com/users/AndySok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndySok/subscriptions","organizations_url":"https://api.github.com/users/AndySok/orgs","repos_url":"https://api.github.com/users/AndySok/repos","events_url":"https://api.github.com/users/AndySok/events{/privacy}","received_events_url":"https://api.github.com/users/AndySok/received_events","type":"User","site_admin":false},"body":"Actually , i added it only because my character unsecures the scanner and then momentarily hits it","created_at":"2016-11-07T02:21:30Z","updated_at":"2016-11-07T02:21:30Z","html_url":"https://github.com/yogstation13/yogstation/pull/1152#discussion_r86705884","pull_request_url":"https://api.github.com/repos/yogstation13/yogstation/pulls/1152","_links":{"self":{"href":"https://api.github.com/repos/yogstation13/yogstation/pulls/comments/86705884"},"html":{"href":"https://github.com/yogstation13/yogstation/pull/1152#discussion_r86705884"},"pull_request":{"href":"https://api.github.com/repos/yogstation13/yogstation/pulls/1152"}}},"pull_request":{"url":"https://api.github.com/repos/yogstation13/yogstation/pulls/1152","id":91893535,"html_url":"https://github.com/yogstation13/yogstation/pull/1152","diff_url":"https://github.com/yogstation13/yogstation/pull/1152.diff","patch_url":"https://github.com/yogstation13/yogstation/pull/1152.patch","issue_url":"https://api.github.com/repos/yogstation13/yogstation/issues/1152","number":1152,"state":"open","locked":false,"title":"Makes library scanner movable","user":{"login":"AndySok","id":19246179,"avatar_url":"https://avatars.githubusercontent.com/u/19246179?v=3","gravatar_id":"","url":"https://api.github.com/users/AndySok","html_url":"https://github.com/AndySok","followers_url":"https://api.github.com/users/AndySok/followers","following_url":"https://api.github.com/users/AndySok/following{/other_user}","gists_url":"https://api.github.com/users/AndySok/gists{/gist_id}","starred_url":"https://api.github.com/users/AndySok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndySok/subscriptions","organizations_url":"https://api.github.com/users/AndySok/orgs","repos_url":"https://api.github.com/users/AndySok/repos","events_url":"https://api.github.com/users/AndySok/events{/privacy}","received_events_url":"https://api.github.com/users/AndySok/received_events","type":"User","site_admin":false},"body":"With the help of KMC, Shadowdeath. and Cruix , I present to you:\r\n## Make library great again : Monkey Coder Version\r\nBut if seriously : library's scanner control interface is a useless thing that makes rebuilding library even harder because you cannot move it.This PR will fix this problem.\r\n#### Changelog\r\n\r\n:cl:\r\nrscadd: makes library scanners movable , for building purposes only\r\n/:cl:\r\n","created_at":"2016-11-02T01:11:15Z","updated_at":"2016-11-07T02:21:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e19f83e9fcdf6ee3dddb46d46d574fc7195aaed2","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/yogstation13/yogstation/pulls/1152/commits","review_comments_url":"https://api.github.com/repos/yogstation13/yogstation/pulls/1152/comments","review_comment_url":"https://api.github.com/repos/yogstation13/yogstation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yogstation13/yogstation/issues/1152/comments","statuses_url":"https://api.github.com/repos/yogstation13/yogstation/statuses/488ae525a401d7de3d007eb4357b7a4edd4bdb76","head":{"label":"AndySok:master","ref":"master","sha":"488ae525a401d7de3d007eb4357b7a4edd4bdb76","user":{"login":"AndySok","id":19246179,"avatar_url":"https://avatars.githubusercontent.com/u/19246179?v=3","gravatar_id":"","url":"https://api.github.com/users/AndySok","html_url":"https://github.com/AndySok","followers_url":"https://api.github.com/users/AndySok/followers","following_url":"https://api.github.com/users/AndySok/following{/other_user}","gists_url":"https://api.github.com/users/AndySok/gists{/gist_id}","starred_url":"https://api.github.com/users/AndySok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndySok/subscriptions","organizations_url":"https://api.github.com/users/AndySok/orgs","repos_url":"https://api.github.com/users/AndySok/repos","events_url":"https://api.github.com/users/AndySok/events{/privacy}","received_events_url":"https://api.github.com/users/AndySok/received_events","type":"User","site_admin":false},"repo":{"id":72588806,"name":"yogstation","full_name":"AndySok/yogstation","owner":{"login":"AndySok","id":19246179,"avatar_url":"https://avatars.githubusercontent.com/u/19246179?v=3","gravatar_id":"","url":"https://api.github.com/users/AndySok","html_url":"https://github.com/AndySok","followers_url":"https://api.github.com/users/AndySok/followers","following_url":"https://api.github.com/users/AndySok/following{/other_user}","gists_url":"https://api.github.com/users/AndySok/gists{/gist_id}","starred_url":"https://api.github.com/users/AndySok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndySok/subscriptions","organizations_url":"https://api.github.com/users/AndySok/orgs","repos_url":"https://api.github.com/users/AndySok/repos","events_url":"https://api.github.com/users/AndySok/events{/privacy}","received_events_url":"https://api.github.com/users/AndySok/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AndySok/yogstation","description":"Yogstation13's master code source.","fork":true,"url":"https://api.github.com/repos/AndySok/yogstation","forks_url":"https://api.github.com/repos/AndySok/yogstation/forks","keys_url":"https://api.github.com/repos/AndySok/yogstation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AndySok/yogstation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AndySok/yogstation/teams","hooks_url":"https://api.github.com/repos/AndySok/yogstation/hooks","issue_events_url":"https://api.github.com/repos/AndySok/yogstation/issues/events{/number}","events_url":"https://api.github.com/repos/AndySok/yogstation/events","assignees_url":"https://api.github.com/repos/AndySok/yogstation/assignees{/user}","branches_url":"https://api.github.com/repos/AndySok/yogstation/branches{/branch}","tags_url":"https://api.github.com/repos/AndySok/yogstation/tags","blobs_url":"https://api.github.com/repos/AndySok/yogstation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AndySok/yogstation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AndySok/yogstation/git/refs{/sha}","trees_url":"https://api.github.com/repos/AndySok/yogstation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AndySok/yogstation/statuses/{sha}","languages_url":"https://api.github.com/repos/AndySok/yogstation/languages","stargazers_url":"https://api.github.com/repos/AndySok/yogstation/stargazers","contributors_url":"https://api.github.com/repos/AndySok/yogstation/contributors","subscribers_url":"https://api.github.com/repos/AndySok/yogstation/subscribers","subscription_url":"https://api.github.com/repos/AndySok/yogstation/subscription","commits_url":"https://api.github.com/repos/AndySok/yogstation/commits{/sha}","git_commits_url":"https://api.github.com/repos/AndySok/yogstation/git/commits{/sha}","comments_url":"https://api.github.com/repos/AndySok/yogstation/comments{/number}","issue_comment_url":"https://api.github.com/repos/AndySok/yogstation/issues/comments{/number}","contents_url":"https://api.github.com/repos/AndySok/yogstation/contents/{+path}","compare_url":"https://api.github.com/repos/AndySok/yogstation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AndySok/yogstation/merges","archive_url":"https://api.github.com/repos/AndySok/yogstation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AndySok/yogstation/downloads","issues_url":"https://api.github.com/repos/AndySok/yogstation/issues{/number}","pulls_url":"https://api.github.com/repos/AndySok/yogstation/pulls{/number}","milestones_url":"https://api.github.com/repos/AndySok/yogstation/milestones{/number}","notifications_url":"https://api.github.com/repos/AndySok/yogstation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AndySok/yogstation/labels{/name}","releases_url":"https://api.github.com/repos/AndySok/yogstation/releases{/id}","deployments_url":"https://api.github.com/repos/AndySok/yogstation/deployments","created_at":"2016-11-02T00:31:53Z","updated_at":"2016-11-02T00:32:05Z","pushed_at":"2016-11-06T23:11:39Z","git_url":"git://github.com/AndySok/yogstation.git","ssh_url":"git@github.com:AndySok/yogstation.git","clone_url":"https://github.com/AndySok/yogstation.git","svn_url":"https://github.com/AndySok/yogstation","homepage":"http://www.yogstation.net","size":640667,"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":"yogstation13:master","ref":"master","sha":"55ba42ef0d31790a82d83fffe8b084cdde169e5b","user":{"login":"yogstation13","id":16735403,"avatar_url":"https://avatars.githubusercontent.com/u/16735403?v=3","gravatar_id":"","url":"https://api.github.com/users/yogstation13","html_url":"https://github.com/yogstation13","followers_url":"https://api.github.com/users/yogstation13/followers","following_url":"https://api.github.com/users/yogstation13/following{/other_user}","gists_url":"https://api.github.com/users/yogstation13/gists{/gist_id}","starred_url":"https://api.github.com/users/yogstation13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yogstation13/subscriptions","organizations_url":"https://api.github.com/users/yogstation13/orgs","repos_url":"https://api.github.com/users/yogstation13/repos","events_url":"https://api.github.com/users/yogstation13/events{/privacy}","received_events_url":"https://api.github.com/users/yogstation13/received_events","type":"Organization","site_admin":false},"repo":{"id":60038739,"name":"yogstation","full_name":"yogstation13/yogstation","owner":{"login":"yogstation13","id":16735403,"avatar_url":"https://avatars.githubusercontent.com/u/16735403?v=3","gravatar_id":"","url":"https://api.github.com/users/yogstation13","html_url":"https://github.com/yogstation13","followers_url":"https://api.github.com/users/yogstation13/followers","following_url":"https://api.github.com/users/yogstation13/following{/other_user}","gists_url":"https://api.github.com/users/yogstation13/gists{/gist_id}","starred_url":"https://api.github.com/users/yogstation13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yogstation13/subscriptions","organizations_url":"https://api.github.com/users/yogstation13/orgs","repos_url":"https://api.github.com/users/yogstation13/repos","events_url":"https://api.github.com/users/yogstation13/events{/privacy}","received_events_url":"https://api.github.com/users/yogstation13/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/yogstation13/yogstation","description":"Yogstation13's master code source.","fork":false,"url":"https://api.github.com/repos/yogstation13/yogstation","forks_url":"https://api.github.com/repos/yogstation13/yogstation/forks","keys_url":"https://api.github.com/repos/yogstation13/yogstation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yogstation13/yogstation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yogstation13/yogstation/teams","hooks_url":"https://api.github.com/repos/yogstation13/yogstation/hooks","issue_events_url":"https://api.github.com/repos/yogstation13/yogstation/issues/events{/number}","events_url":"https://api.github.com/repos/yogstation13/yogstation/events","assignees_url":"https://api.github.com/repos/yogstation13/yogstation/assignees{/user}","branches_url":"https://api.github.com/repos/yogstation13/yogstation/branches{/branch}","tags_url":"https://api.github.com/repos/yogstation13/yogstation/tags","blobs_url":"https://api.github.com/repos/yogstation13/yogstation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yogstation13/yogstation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yogstation13/yogstation/git/refs{/sha}","trees_url":"https://api.github.com/repos/yogstation13/yogstation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yogstation13/yogstation/statuses/{sha}","languages_url":"https://api.github.com/repos/yogstation13/yogstation/languages","stargazers_url":"https://api.github.com/repos/yogstation13/yogstation/stargazers","contributors_url":"https://api.github.com/repos/yogstation13/yogstation/contributors","subscribers_url":"https://api.github.com/repos/yogstation13/yogstation/subscribers","subscription_url":"https://api.github.com/repos/yogstation13/yogstation/subscription","commits_url":"https://api.github.com/repos/yogstation13/yogstation/commits{/sha}","git_commits_url":"https://api.github.com/repos/yogstation13/yogstation/git/commits{/sha}","comments_url":"https://api.github.com/repos/yogstation13/yogstation/comments{/number}","issue_comment_url":"https://api.github.com/repos/yogstation13/yogstation/issues/comments{/number}","contents_url":"https://api.github.com/repos/yogstation13/yogstation/contents/{+path}","compare_url":"https://api.github.com/repos/yogstation13/yogstation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yogstation13/yogstation/merges","archive_url":"https://api.github.com/repos/yogstation13/yogstation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yogstation13/yogstation/downloads","issues_url":"https://api.github.com/repos/yogstation13/yogstation/issues{/number}","pulls_url":"https://api.github.com/repos/yogstation13/yogstation/pulls{/number}","milestones_url":"https://api.github.com/repos/yogstation13/yogstation/milestones{/number}","notifications_url":"https://api.github.com/repos/yogstation13/yogstation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yogstation13/yogstation/labels{/name}","releases_url":"https://api.github.com/repos/yogstation13/yogstation/releases{/id}","deployments_url":"https://api.github.com/repos/yogstation13/yogstation/deployments","created_at":"2016-05-30T21:02:36Z","updated_at":"2016-11-01T22:09:45Z","pushed_at":"2016-11-07T01:05:54Z","git_url":"git://github.com/yogstation13/yogstation.git","ssh_url":"git@github.com:yogstation13/yogstation.git","clone_url":"https://github.com/yogstation13/yogstation.git","svn_url":"https://github.com/yogstation13/yogstation","homepage":"http://www.yogstation.net","size":648956,"stargazers_count":10,"watchers_count":10,"language":"DM","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":49,"mirror_url":null,"open_issues_count":216,"forks":49,"open_issues":216,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yogstation13/yogstation/pulls/1152"},"html":{"href":"https://github.com/yogstation13/yogstation/pull/1152"},"issue":{"href":"https://api.github.com/repos/yogstation13/yogstation/issues/1152"},"comments":{"href":"https://api.github.com/repos/yogstation13/yogstation/issues/1152/comments"},"review_comments":{"href":"https://api.github.com/repos/yogstation13/yogstation/pulls/1152/comments"},"review_comment":{"href":"https://api.github.com/repos/yogstation13/yogstation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yogstation13/yogstation/pulls/1152/commits"},"statuses":{"href":"https://api.github.com/repos/yogstation13/yogstation/statuses/488ae525a401d7de3d007eb4357b7a4edd4bdb76"}}}}
{"actor":{"display_login":"AndySok"}}