{"action":"created","comment":{"url":"https://api.github.com/repos/d3athrow/vgstation13/pulls/comments/26449236","id":26449236,"diff_hunk":"@@ -145,87 +145,115 @@ RCD\n /obj/item/weapon/rcd/proc/activate()\r\n \tplaysound(get_turf(src), 'sound/items/Deconstruct.ogg', 50, 1)\r\n \r\n-\r\n-/obj/item/weapon/rcd/afterattack(atom/A, mob/user)\r\n-\tif(disabled && !isrobot(user))\r\n+/obj/item/weapon/rcd/afterattack(atom/target, mob/user, proximity_flag, click_parameters)\r\n+\tif (disabled && !isrobot(user))\r\n \t\treturn 0\r\n-\tif(get_dist(user,A)>1)\r\n+\r\n+\tif (!proximity_flag)\r\n \t\treturn 0\r\n-\tif(istype(A,/area/shuttle)||istype(A,/turf/space/transit))\r\n+\r\n+\tif (istype(target, /area/shuttle) || istype(target, /turf/space/transit))\r\n \t\treturn 0\r\n-\tif(!(istype(A, /turf) || istype(A, /obj/machinery/door/airlock)))\r\n+\r\n+\tif (!(isturf(target) || istype(target, /obj/machinery/door/airlock)))\r\n \t\treturn 0\r\n \r\n \tswitch(mode)\r\n \t\tif(1)\r\n-\t\t\tif(istype(A, /turf/space))\r\n-\t\t\t\tif(useResource(floor_cost, user))\r\n+\t\t\tif (istype(target, /turf/space))\r\n+\t\t\t\tif (useResource(floor_cost, user))\r\n \t\t\t\t\tuser << \"Building Floor...\"\r\n \t\t\t\t\tactivate()\r\n-\t\t\t\t\tA:ChangeTurf(/turf/simulated/floor/plating/airless)\r\n+\t\t\t\t\ttarget:ChangeTurf(/turf/simulated/floor/plating/airless)\r\n \t\t\t\t\treturn 1\r\n+\r\n \t\t\t\treturn 0\r\n \r\n-\t\t\tif(istype(A, /turf/simulated/floor))\r\n-\t\t\t\tif(checkResource(wall_cost, user))\r\n+\t\t\tif (istype(target, /turf/simulated/floor))\r\n+\t\t\t\tif (checkResource(wall_cost, user))\r\n \t\t\t\t\tuser << \"Building Wall ...\"\r\n \t\t\t\t\tplaysound(get_turf(src), 'sound/machines/click.ogg', 50, 1)\r\n-\t\t\t\t\tif(do_after(user, 20))\r\n-\t\t\t\t\t\tif(!useResource(wall_cost, user)) return 0\r\n+\r\n+\t\t\t\t\tif (do_after(user, 20))\r\n+\t\t\t\t\t\tif (!useResource(wall_cost, user))\r\n+\t\t\t\t\t\t\treturn 0\r\n+\r\n \t\t\t\t\t\tactivate()\r\n-\t\t\t\t\t\tA:ChangeTurf(/turf/simulated/wall)\r\n+\t\t\t\t\t\ttarget:ChangeTurf(/turf/simulated/wall)\r\n \t\t\t\t\t\treturn 1\r\n+\r\n \t\t\t\treturn 0\r\n \r\n \t\tif(2)\r\n-\t\t\tif(checkResource(airlock_cost, user))\r\n+\t\t\tif (checkResource(airlock_cost, user))\r\n \t\t\t\tuser << \"Building Airlock...\"\r\n \t\t\t\tplaysound(get_turf(src), 'sound/machines/click.ogg', 50, 1)\r\n-\t\t\t\tif(do_after(user, 50))\r\n-\t\t\t\t\tif(!useResource(airlock_cost, user)) return 0\r\n-\t\t\t\t\tif(locate(/obj/machinery/door/airlock) in A) return 0\r\n+\r\n+\t\t\t\tif (do_after(user, 50))\r\n+\t\t\t\t\tif (!useResource(airlock_cost, user))\r\n+\t\t\t\t\t\treturn 0\r\n+\r\n+\t\t\t\t\tif (locate(/obj/machinery/door/airlock) in target)\r\n+\t\t\t\t\t\treturn 0\r\n+\r\n \t\t\t\t\tactivate()\r\n-\t\t\t\t\tvar/obj/machinery/door/airlock/T = new airlock_type( A )\r\n+\t\t\t\t\tvar/obj/machinery/door/airlock/T = new airlock_type(target)\r\n \t\t\t\t\tT.autoclose = 1\r\n \t\t\t\t\treturn 1\r\n+\r\n \t\t\t\treturn 0\r\n+\r\n \t\t\treturn 0\r\n \r\n \t\tif(3)\r\n-\t\t\tif(istype(A, /turf/simulated/wall))\r\n-\t\t\t\tif(istype(A, /turf/simulated/wall/r_wall) && !canRwall)\r\n+\t\t\tif (istype(target, /turf/simulated/wall))\r\n+\t\t\t\tif (istype(target, /turf/simulated/wall/r_wall) && !canRwall)\r\n \t\t\t\t\treturn 0\r\n-\t\t\t\tif(checkResource(decon_cost, user))\r\n+\r\n+\t\t\t\tif (checkResource(decon_cost, user))\r\n \t\t\t\t\tuser << \"Deconstructing Wall...\"\r\n \t\t\t\t\tplaysound(get_turf(src), 'sound/machines/click.ogg', 50, 1)\r\n-\t\t\t\t\tif(do_after(user, 40))\r\n-\t\t\t\t\t\tif(!useResource(decon_cost, user)) return 0\r\n+\r\n+\t\t\t\t\tif (do_after(user, 40))\r\n+\t\t\t\t\t\tif(!useResource(decon_cost, user))\r\n+\t\t\t\t\t\t\treturn 0\r\n+\r\n \t\t\t\t\t\tactivate()\r\n-\t\t\t\t\t\tA:ChangeTurf(/turf/simulated/floor/plating)\r\n+\t\t\t\t\t\ttarget:ChangeTurf(/turf/simulated/floor/plating)\r","path":"code/game/objects/items/weapons/RCD.dm","position":103,"original_position":103,"commit_id":"48e8b7dfe44afe4fdb5e222c190ca42d5e08cf27","original_commit_id":"48e8b7dfe44afe4fdb5e222c190ca42d5e08cf27","user":{"login":"ComicIronic","id":7339857,"avatar_url":"https://avatars.githubusercontent.com/u/7339857?v=3","gravatar_id":"","url":"https://api.github.com/users/ComicIronic","html_url":"https://github.com/ComicIronic","followers_url":"https://api.github.com/users/ComicIronic/followers","following_url":"https://api.github.com/users/ComicIronic/following{/other_user}","gists_url":"https://api.github.com/users/ComicIronic/gists{/gist_id}","starred_url":"https://api.github.com/users/ComicIronic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ComicIronic/subscriptions","organizations_url":"https://api.github.com/users/ComicIronic/orgs","repos_url":"https://api.github.com/users/ComicIronic/repos","events_url":"https://api.github.com/users/ComicIronic/events{/privacy}","received_events_url":"https://api.github.com/users/ComicIronic/received_events","type":"User","site_admin":false},"body":": makes God cry.","created_at":"2015-03-15T16:35:56Z","updated_at":"2015-03-15T16:35:56Z","html_url":"https://github.com/d3athrow/vgstation13/pull/3425#discussion_r26449236","pull_request_url":"https://api.github.com/repos/d3athrow/vgstation13/pulls/3425","_links":{"self":{"href":"https://api.github.com/repos/d3athrow/vgstation13/pulls/comments/26449236"},"html":{"href":"https://github.com/d3athrow/vgstation13/pull/3425#discussion_r26449236"},"pull_request":{"href":"https://api.github.com/repos/d3athrow/vgstation13/pulls/3425"}}},"pull_request":{"url":"https://api.github.com/repos/d3athrow/vgstation13/pulls/3425","id":31202815,"html_url":"https://github.com/d3athrow/vgstation13/pull/3425","diff_url":"https://github.com/d3athrow/vgstation13/pull/3425.diff","patch_url":"https://github.com/d3athrow/vgstation13/pull/3425.patch","issue_url":"https://api.github.com/repos/d3athrow/vgstation13/issues/3425","number":3425,"state":"open","locked":false,"title":"I'm selling changes","user":{"login":"eswordthecat","id":6364195,"avatar_url":"https://avatars.githubusercontent.com/u/6364195?v=3","gravatar_id":"","url":"https://api.github.com/users/eswordthecat","html_url":"https://github.com/eswordthecat","followers_url":"https://api.github.com/users/eswordthecat/followers","following_url":"https://api.github.com/users/eswordthecat/following{/other_user}","gists_url":"https://api.github.com/users/eswordthecat/gists{/gist_id}","starred_url":"https://api.github.com/users/eswordthecat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eswordthecat/subscriptions","organizations_url":"https://api.github.com/users/eswordthecat/orgs","repos_url":"https://api.github.com/users/eswordthecat/repos","events_url":"https://api.github.com/users/eswordthecat/events{/privacy}","received_events_url":"https://api.github.com/users/eswordthecat/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-15T16:34:11Z","updated_at":"2015-03-15T16:35:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0be1962ef81ba47c6498e4452aebfbb0f2fbf0ee","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/d3athrow/vgstation13/pulls/3425/commits","review_comments_url":"https://api.github.com/repos/d3athrow/vgstation13/pulls/3425/comments","review_comment_url":"https://api.github.com/repos/d3athrow/vgstation13/pulls/comments{/number}","comments_url":"https://api.github.com/repos/d3athrow/vgstation13/issues/3425/comments","statuses_url":"https://api.github.com/repos/d3athrow/vgstation13/statuses/48e8b7dfe44afe4fdb5e222c190ca42d5e08cf27","head":{"label":"eswordthecat:yay","ref":"yay","sha":"48e8b7dfe44afe4fdb5e222c190ca42d5e08cf27","user":{"login":"eswordthecat","id":6364195,"avatar_url":"https://avatars.githubusercontent.com/u/6364195?v=3","gravatar_id":"","url":"https://api.github.com/users/eswordthecat","html_url":"https://github.com/eswordthecat","followers_url":"https://api.github.com/users/eswordthecat/followers","following_url":"https://api.github.com/users/eswordthecat/following{/other_user}","gists_url":"https://api.github.com/users/eswordthecat/gists{/gist_id}","starred_url":"https://api.github.com/users/eswordthecat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eswordthecat/subscriptions","organizations_url":"https://api.github.com/users/eswordthecat/orgs","repos_url":"https://api.github.com/users/eswordthecat/repos","events_url":"https://api.github.com/users/eswordthecat/events{/privacy}","received_events_url":"https://api.github.com/users/eswordthecat/received_events","type":"User","site_admin":false},"repo":{"id":19178105,"name":"vgstation13","full_name":"eswordthecat/vgstation13","owner":{"login":"eswordthecat","id":6364195,"avatar_url":"https://avatars.githubusercontent.com/u/6364195?v=3","gravatar_id":"","url":"https://api.github.com/users/eswordthecat","html_url":"https://github.com/eswordthecat","followers_url":"https://api.github.com/users/eswordthecat/followers","following_url":"https://api.github.com/users/eswordthecat/following{/other_user}","gists_url":"https://api.github.com/users/eswordthecat/gists{/gist_id}","starred_url":"https://api.github.com/users/eswordthecat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eswordthecat/subscriptions","organizations_url":"https://api.github.com/users/eswordthecat/orgs","repos_url":"https://api.github.com/users/eswordthecat/repos","events_url":"https://api.github.com/users/eswordthecat/events{/privacy}","received_events_url":"https://api.github.com/users/eswordthecat/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/eswordthecat/vgstation13","description":"This is the vgstation's fork of baystation12's code.","fork":true,"url":"https://api.github.com/repos/eswordthecat/vgstation13","forks_url":"https://api.github.com/repos/eswordthecat/vgstation13/forks","keys_url":"https://api.github.com/repos/eswordthecat/vgstation13/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eswordthecat/vgstation13/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eswordthecat/vgstation13/teams","hooks_url":"https://api.github.com/repos/eswordthecat/vgstation13/hooks","issue_events_url":"https://api.github.com/repos/eswordthecat/vgstation13/issues/events{/number}","events_url":"https://api.github.com/repos/eswordthecat/vgstation13/events","assignees_url":"https://api.github.com/repos/eswordthecat/vgstation13/assignees{/user}","branches_url":"https://api.github.com/repos/eswordthecat/vgstation13/branches{/branch}","tags_url":"https://api.github.com/repos/eswordthecat/vgstation13/tags","blobs_url":"https://api.github.com/repos/eswordthecat/vgstation13/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eswordthecat/vgstation13/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eswordthecat/vgstation13/git/refs{/sha}","trees_url":"https://api.github.com/repos/eswordthecat/vgstation13/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eswordthecat/vgstation13/statuses/{sha}","languages_url":"https://api.github.com/repos/eswordthecat/vgstation13/languages","stargazers_url":"https://api.github.com/repos/eswordthecat/vgstation13/stargazers","contributors_url":"https://api.github.com/repos/eswordthecat/vgstation13/contributors","subscribers_url":"https://api.github.com/repos/eswordthecat/vgstation13/subscribers","subscription_url":"https://api.github.com/repos/eswordthecat/vgstation13/subscription","commits_url":"https://api.github.com/repos/eswordthecat/vgstation13/commits{/sha}","git_commits_url":"https://api.github.com/repos/eswordthecat/vgstation13/git/commits{/sha}","comments_url":"https://api.github.com/repos/eswordthecat/vgstation13/comments{/number}","issue_comment_url":"https://api.github.com/repos/eswordthecat/vgstation13/issues/comments{/number}","contents_url":"https://api.github.com/repos/eswordthecat/vgstation13/contents/{+path}","compare_url":"https://api.github.com/repos/eswordthecat/vgstation13/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eswordthecat/vgstation13/merges","archive_url":"https://api.github.com/repos/eswordthecat/vgstation13/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eswordthecat/vgstation13/downloads","issues_url":"https://api.github.com/repos/eswordthecat/vgstation13/issues{/number}","pulls_url":"https://api.github.com/repos/eswordthecat/vgstation13/pulls{/number}","milestones_url":"https://api.github.com/repos/eswordthecat/vgstation13/milestones{/number}","notifications_url":"https://api.github.com/repos/eswordthecat/vgstation13/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eswordthecat/vgstation13/labels{/name}","releases_url":"https://api.github.com/repos/eswordthecat/vgstation13/releases{/id}","created_at":"2014-04-26T13:33:14Z","updated_at":"2014-10-05T20:13:28Z","pushed_at":"2015-03-15T16:33:08Z","git_url":"git://github.com/eswordthecat/vgstation13.git","ssh_url":"git@github.com:eswordthecat/vgstation13.git","clone_url":"https://github.com/eswordthecat/vgstation13.git","svn_url":"https://github.com/eswordthecat/vgstation13","homepage":"","size":779685,"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":"d3athrow:Bleeding-Edge","ref":"Bleeding-Edge","sha":"9ca634a8467da8fefc3ddb43bb52c0ef6b80891d","user":{"login":"d3athrow","id":706947,"avatar_url":"https://avatars.githubusercontent.com/u/706947?v=3","gravatar_id":"","url":"https://api.github.com/users/d3athrow","html_url":"https://github.com/d3athrow","followers_url":"https://api.github.com/users/d3athrow/followers","following_url":"https://api.github.com/users/d3athrow/following{/other_user}","gists_url":"https://api.github.com/users/d3athrow/gists{/gist_id}","starred_url":"https://api.github.com/users/d3athrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d3athrow/subscriptions","organizations_url":"https://api.github.com/users/d3athrow/orgs","repos_url":"https://api.github.com/users/d3athrow/repos","events_url":"https://api.github.com/users/d3athrow/events{/privacy}","received_events_url":"https://api.github.com/users/d3athrow/received_events","type":"User","site_admin":false},"repo":{"id":10441188,"name":"vgstation13","full_name":"d3athrow/vgstation13","owner":{"login":"d3athrow","id":706947,"avatar_url":"https://avatars.githubusercontent.com/u/706947?v=3","gravatar_id":"","url":"https://api.github.com/users/d3athrow","html_url":"https://github.com/d3athrow","followers_url":"https://api.github.com/users/d3athrow/followers","following_url":"https://api.github.com/users/d3athrow/following{/other_user}","gists_url":"https://api.github.com/users/d3athrow/gists{/gist_id}","starred_url":"https://api.github.com/users/d3athrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d3athrow/subscriptions","organizations_url":"https://api.github.com/users/d3athrow/orgs","repos_url":"https://api.github.com/users/d3athrow/repos","events_url":"https://api.github.com/users/d3athrow/events{/privacy}","received_events_url":"https://api.github.com/users/d3athrow/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/d3athrow/vgstation13","description":"This is the vgstation's fork of baystation12's code.","fork":true,"url":"https://api.github.com/repos/d3athrow/vgstation13","forks_url":"https://api.github.com/repos/d3athrow/vgstation13/forks","keys_url":"https://api.github.com/repos/d3athrow/vgstation13/keys{/key_id}","collaborators_url":"https://api.github.com/repos/d3athrow/vgstation13/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/d3athrow/vgstation13/teams","hooks_url":"https://api.github.com/repos/d3athrow/vgstation13/hooks","issue_events_url":"https://api.github.com/repos/d3athrow/vgstation13/issues/events{/number}","events_url":"https://api.github.com/repos/d3athrow/vgstation13/events","assignees_url":"https://api.github.com/repos/d3athrow/vgstation13/assignees{/user}","branches_url":"https://api.github.com/repos/d3athrow/vgstation13/branches{/branch}","tags_url":"https://api.github.com/repos/d3athrow/vgstation13/tags","blobs_url":"https://api.github.com/repos/d3athrow/vgstation13/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/d3athrow/vgstation13/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/d3athrow/vgstation13/git/refs{/sha}","trees_url":"https://api.github.com/repos/d3athrow/vgstation13/git/trees{/sha}","statuses_url":"https://api.github.com/repos/d3athrow/vgstation13/statuses/{sha}","languages_url":"https://api.github.com/repos/d3athrow/vgstation13/languages","stargazers_url":"https://api.github.com/repos/d3athrow/vgstation13/stargazers","contributors_url":"https://api.github.com/repos/d3athrow/vgstation13/contributors","subscribers_url":"https://api.github.com/repos/d3athrow/vgstation13/subscribers","subscription_url":"https://api.github.com/repos/d3athrow/vgstation13/subscription","commits_url":"https://api.github.com/repos/d3athrow/vgstation13/commits{/sha}","git_commits_url":"https://api.github.com/repos/d3athrow/vgstation13/git/commits{/sha}","comments_url":"https://api.github.com/repos/d3athrow/vgstation13/comments{/number}","issue_comment_url":"https://api.github.com/repos/d3athrow/vgstation13/issues/comments{/number}","contents_url":"https://api.github.com/repos/d3athrow/vgstation13/contents/{+path}","compare_url":"https://api.github.com/repos/d3athrow/vgstation13/compare/{base}...{head}","merges_url":"https://api.github.com/repos/d3athrow/vgstation13/merges","archive_url":"https://api.github.com/repos/d3athrow/vgstation13/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/d3athrow/vgstation13/downloads","issues_url":"https://api.github.com/repos/d3athrow/vgstation13/issues{/number}","pulls_url":"https://api.github.com/repos/d3athrow/vgstation13/pulls{/number}","milestones_url":"https://api.github.com/repos/d3athrow/vgstation13/milestones{/number}","notifications_url":"https://api.github.com/repos/d3athrow/vgstation13/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/d3athrow/vgstation13/labels{/name}","releases_url":"https://api.github.com/repos/d3athrow/vgstation13/releases{/id}","created_at":"2013-06-02T19:39:54Z","updated_at":"2015-03-15T16:32:05Z","pushed_at":"2015-03-15T16:32:05Z","git_url":"git://github.com/d3athrow/vgstation13.git","ssh_url":"git@github.com:d3athrow/vgstation13.git","clone_url":"https://github.com/d3athrow/vgstation13.git","svn_url":"https://github.com/d3athrow/vgstation13","homepage":"","size":1005089,"stargazers_count":52,"watchers_count":52,"language":"DM","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":161,"mirror_url":null,"open_issues_count":348,"forks":161,"open_issues":348,"watchers":52,"default_branch":"Bleeding-Edge"}},"_links":{"self":{"href":"https://api.github.com/repos/d3athrow/vgstation13/pulls/3425"},"html":{"href":"https://github.com/d3athrow/vgstation13/pull/3425"},"issue":{"href":"https://api.github.com/repos/d3athrow/vgstation13/issues/3425"},"comments":{"href":"https://api.github.com/repos/d3athrow/vgstation13/issues/3425/comments"},"review_comments":{"href":"https://api.github.com/repos/d3athrow/vgstation13/pulls/3425/comments"},"review_comment":{"href":"https://api.github.com/repos/d3athrow/vgstation13/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/d3athrow/vgstation13/pulls/3425/commits"},"statuses":{"href":"https://api.github.com/repos/d3athrow/vgstation13/statuses/48e8b7dfe44afe4fdb5e222c190ca42d5e08cf27"}}}}