{"action":"created","comment":{"url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/comments/68352672","id":68352672,"diff_hunk":"@@ -86,15 +124,99 @@ var/list/global/tank_gauge_cache = list()\n \t\tLB.blow(src)\r\n \t\tsrc.add_fingerprint(user)\r\n \r\n+\tif(istype(W, /obj/item/stack/cable_coil))\r\n+\t\tvar/obj/item/stack/cable_coil/C = W\r\n+\t\tC.use(1)\r\n+\t\twired = 1\r\n+\t\tsrc.overlays += \"bomb_assembly\"\r\n+\t\tuser << \"<span class='notice'>You attach the wires to the tank.</span>\"\r\n+\r\n+\tif(istype(W, /obj/item/weapon/wirecutters))\r\n+\t\tif(wired && src.proxyassembly.assembly)\r\n+\r\n+\t\t\tuser << \"<span class='notice'>You carefully begin clipping the wires that attach to the tank</span>\"\r\n+\t\t\tif(do_after(user, 100,src))\r\n+\t\t\t\twired = 0\r\n+\t\t\t\tsrc.overlays -= \"bomb_assembly\"\r\n+\t\t\t\tuser << \"<span class='notice'>You cut the wire and remove the device.</span>\"\r\n+\r\n+\t\t\t\tvar/obj/item/device/assembly_holder/assy = src.proxyassembly.assembly\r\n+\t\t\t\tif(assy.a_left && assy.a_right)\r\n+\t\t\t\t\tassy.loc = user.loc\r\n+\t\t\t\t\tassy.master = null\r\n+\t\t\t\t\tsrc.proxyassembly.assembly = null\r\n+\t\t\t\telse\r\n+\t\t\t\t\tif(!src.proxyassembly.assembly.a_left)\r\n+\t\t\t\t\t\tassy.a_right.loc = usr.loc\r\n+\t\t\t\t\t\tassy.a_right.holder = null\r\n+\t\t\t\t\t\tassy.a_right = null\r\n+\t\t\t\t\t\tsrc.proxyassembly.assembly = null\r\n+\t\t\t\t\t\tqdel(assy)\r\n+\t\t\t\tsrc.overlays.Cut()\r\n+\t\t\t\tlast_gauge_pressure = 0\r\n+\t\t\t\tupdate_gauge()\r\n+\r\n+\t\t\telse\r\n+\t\t\t\tuser << \"<span class='warning'>You slip and bump the igniter!</span>\"\r\n+\t\t\t\tif(prob(85))\r\n+\t\t\t\t\tsrc.proxyassembly.receive_signal()\r\n+\r\n+\t\telse if(wired)\r\n+\t\t\tif(do_after(user, 10, src))\r\n+\t\t\t\tuser << \"<span class='notice'>You quickly clip the wire from the tank.</span>\"\r\n+\t\t\t\twired = 0\r\n+\t\t\t\tsrc.overlays -= \"bomb_assembly\"\r\n+\r\n+\t\telse\r\n+\t\t\tuser << \"<span class='notice'>There are no wires to cut!</span>\"\r\n+\r\n+\r\n+\r\n \tif(istype(W, /obj/item/device/assembly_holder))\r\n-\t\tbomb_assemble(W,user)\r\n+\t\tif(wired)\r\n+\t\t\tuser << \"<span class='notice'>You begin attaching the assembly to \\the [src].</span>\"\r\n+\t\t\tif(do_after(user, 50, src))\r\n+\t\t\t\tuser << \"<span class='notice'>You finish attaching the assembly to \\the [src].</span>\"\r\n+\t\t\t\tbombers += \"[key_name(user)] attached an assembly to a wired [src]. Temp: [src.air_contents.temperature-T0C]\"\r\n+\t\t\t\tmessage_admins(\"[key_name_admin(user)] attached an assembly to a wired [src]. Temp: [src.air_contents.temperature-T0C]\")\r\n+\t\t\t\tassemble_bomb(W,user)\r\n+\t\t\telse\r\n+\t\t\t\tuser << \"<span class='notice'>You stop attaching the assembly.</span>\"\r\n+\t\telse\r\n+\t\t\tuser << \"<span class='notice'>You need to wire the device up first.</span>\"\r\n+\r\n+\r\n+\tif((istype(W, /obj/item/weapon/weldingtool) && W:welding))\r","path":"code/game/objects/items/weapons/tanks/tanks.dm","position":147,"original_position":147,"commit_id":"ef4123b91c7f172db06f78ff73940a23a38ea6d8","original_commit_id":"ef4123b91c7f172db06f78ff73940a23a38ea6d8","user":{"login":"mwerezak","id":242428,"avatar_url":"https://avatars.githubusercontent.com/u/242428?v=3","gravatar_id":"","url":"https://api.github.com/users/mwerezak","html_url":"https://github.com/mwerezak","followers_url":"https://api.github.com/users/mwerezak/followers","following_url":"https://api.github.com/users/mwerezak/following{/other_user}","gists_url":"https://api.github.com/users/mwerezak/gists{/gist_id}","starred_url":"https://api.github.com/users/mwerezak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwerezak/subscriptions","organizations_url":"https://api.github.com/users/mwerezak/orgs","repos_url":"https://api.github.com/users/mwerezak/repos","events_url":"https://api.github.com/users/mwerezak/events{/privacy}","received_events_url":"https://api.github.com/users/mwerezak/received_events","type":"User","site_admin":false},"body":"This is *not* the correct way to tell if a welding tool is on.","created_at":"2016-06-24T04:34:04Z","updated_at":"2016-06-24T04:34:04Z","html_url":"https://github.com/Baystation12/Baystation12/pull/13488#discussion_r68352672","pull_request_url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/13488","_links":{"self":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/comments/68352672"},"html":{"href":"https://github.com/Baystation12/Baystation12/pull/13488#discussion_r68352672"},"pull_request":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/13488"}}},"pull_request":{"url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/13488","id":75058093,"html_url":"https://github.com/Baystation12/Baystation12/pull/13488","diff_url":"https://github.com/Baystation12/Baystation12/pull/13488.diff","patch_url":"https://github.com/Baystation12/Baystation12/pull/13488.patch","issue_url":"https://api.github.com/repos/Baystation12/Baystation12/issues/13488","number":13488,"state":"open","locked":false,"title":"Single tank tweaks","user":{"login":"LorenLuke","id":6456096,"avatar_url":"https://avatars.githubusercontent.com/u/6456096?v=3","gravatar_id":"","url":"https://api.github.com/users/LorenLuke","html_url":"https://github.com/LorenLuke","followers_url":"https://api.github.com/users/LorenLuke/followers","following_url":"https://api.github.com/users/LorenLuke/following{/other_user}","gists_url":"https://api.github.com/users/LorenLuke/gists{/gist_id}","starred_url":"https://api.github.com/users/LorenLuke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LorenLuke/subscriptions","organizations_url":"https://api.github.com/users/LorenLuke/orgs","repos_url":"https://api.github.com/users/LorenLuke/repos","events_url":"https://api.github.com/users/LorenLuke/events{/privacy}","received_events_url":"https://api.github.com/users/LorenLuke/received_events","type":"User","site_admin":false},"body":"Changes the way single tank bombs (and even TTVs) now function, including their construction, a safety relief valve, having explosions scale with gas amount and the addition of shrapnel.\r\n\r\nThanks to Daranz for helping me make my first PR, and @Asanadas for getting the idea on paper in the first place.\r\n","created_at":"2016-06-24T03:00:02Z","updated_at":"2016-06-24T04:34:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"840fe1dc28a6874597be3063968ec8255f47ed6c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/13488/commits","review_comments_url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/13488/comments","review_comment_url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Baystation12/Baystation12/issues/13488/comments","statuses_url":"https://api.github.com/repos/Baystation12/Baystation12/statuses/ef4123b91c7f172db06f78ff73940a23a38ea6d8","head":{"label":"LorenLuke:Single-tank-tweaks","ref":"Single-tank-tweaks","sha":"ef4123b91c7f172db06f78ff73940a23a38ea6d8","user":{"login":"LorenLuke","id":6456096,"avatar_url":"https://avatars.githubusercontent.com/u/6456096?v=3","gravatar_id":"","url":"https://api.github.com/users/LorenLuke","html_url":"https://github.com/LorenLuke","followers_url":"https://api.github.com/users/LorenLuke/followers","following_url":"https://api.github.com/users/LorenLuke/following{/other_user}","gists_url":"https://api.github.com/users/LorenLuke/gists{/gist_id}","starred_url":"https://api.github.com/users/LorenLuke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LorenLuke/subscriptions","organizations_url":"https://api.github.com/users/LorenLuke/orgs","repos_url":"https://api.github.com/users/LorenLuke/repos","events_url":"https://api.github.com/users/LorenLuke/events{/privacy}","received_events_url":"https://api.github.com/users/LorenLuke/received_events","type":"User","site_admin":false},"repo":{"id":26836894,"name":"Baystation12","full_name":"LorenLuke/Baystation12","owner":{"login":"LorenLuke","id":6456096,"avatar_url":"https://avatars.githubusercontent.com/u/6456096?v=3","gravatar_id":"","url":"https://api.github.com/users/LorenLuke","html_url":"https://github.com/LorenLuke","followers_url":"https://api.github.com/users/LorenLuke/followers","following_url":"https://api.github.com/users/LorenLuke/following{/other_user}","gists_url":"https://api.github.com/users/LorenLuke/gists{/gist_id}","starred_url":"https://api.github.com/users/LorenLuke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LorenLuke/subscriptions","organizations_url":"https://api.github.com/users/LorenLuke/orgs","repos_url":"https://api.github.com/users/LorenLuke/repos","events_url":"https://api.github.com/users/LorenLuke/events{/privacy}","received_events_url":"https://api.github.com/users/LorenLuke/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/LorenLuke/Baystation12","description":"The code for Baystation12's branch of SS13","fork":true,"url":"https://api.github.com/repos/LorenLuke/Baystation12","forks_url":"https://api.github.com/repos/LorenLuke/Baystation12/forks","keys_url":"https://api.github.com/repos/LorenLuke/Baystation12/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LorenLuke/Baystation12/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LorenLuke/Baystation12/teams","hooks_url":"https://api.github.com/repos/LorenLuke/Baystation12/hooks","issue_events_url":"https://api.github.com/repos/LorenLuke/Baystation12/issues/events{/number}","events_url":"https://api.github.com/repos/LorenLuke/Baystation12/events","assignees_url":"https://api.github.com/repos/LorenLuke/Baystation12/assignees{/user}","branches_url":"https://api.github.com/repos/LorenLuke/Baystation12/branches{/branch}","tags_url":"https://api.github.com/repos/LorenLuke/Baystation12/tags","blobs_url":"https://api.github.com/repos/LorenLuke/Baystation12/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LorenLuke/Baystation12/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LorenLuke/Baystation12/git/refs{/sha}","trees_url":"https://api.github.com/repos/LorenLuke/Baystation12/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LorenLuke/Baystation12/statuses/{sha}","languages_url":"https://api.github.com/repos/LorenLuke/Baystation12/languages","stargazers_url":"https://api.github.com/repos/LorenLuke/Baystation12/stargazers","contributors_url":"https://api.github.com/repos/LorenLuke/Baystation12/contributors","subscribers_url":"https://api.github.com/repos/LorenLuke/Baystation12/subscribers","subscription_url":"https://api.github.com/repos/LorenLuke/Baystation12/subscription","commits_url":"https://api.github.com/repos/LorenLuke/Baystation12/commits{/sha}","git_commits_url":"https://api.github.com/repos/LorenLuke/Baystation12/git/commits{/sha}","comments_url":"https://api.github.com/repos/LorenLuke/Baystation12/comments{/number}","issue_comment_url":"https://api.github.com/repos/LorenLuke/Baystation12/issues/comments{/number}","contents_url":"https://api.github.com/repos/LorenLuke/Baystation12/contents/{+path}","compare_url":"https://api.github.com/repos/LorenLuke/Baystation12/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LorenLuke/Baystation12/merges","archive_url":"https://api.github.com/repos/LorenLuke/Baystation12/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LorenLuke/Baystation12/downloads","issues_url":"https://api.github.com/repos/LorenLuke/Baystation12/issues{/number}","pulls_url":"https://api.github.com/repos/LorenLuke/Baystation12/pulls{/number}","milestones_url":"https://api.github.com/repos/LorenLuke/Baystation12/milestones{/number}","notifications_url":"https://api.github.com/repos/LorenLuke/Baystation12/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LorenLuke/Baystation12/labels{/name}","releases_url":"https://api.github.com/repos/LorenLuke/Baystation12/releases{/id}","deployments_url":"https://api.github.com/repos/LorenLuke/Baystation12/deployments","created_at":"2014-11-19T00:30:53Z","updated_at":"2014-11-19T00:31:03Z","pushed_at":"2016-06-24T03:55:39Z","git_url":"git://github.com/LorenLuke/Baystation12.git","ssh_url":"git@github.com:LorenLuke/Baystation12.git","clone_url":"https://github.com/LorenLuke/Baystation12.git","svn_url":"https://github.com/LorenLuke/Baystation12","homepage":"http://baystation12.net/","size":591206,"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":"Baystation12:dev","ref":"dev","sha":"9774ab6e90cc283b3f98f6836e0f6f924a4f1b34","user":{"login":"Baystation12","id":1174322,"avatar_url":"https://avatars.githubusercontent.com/u/1174322?v=3","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,"name":"Baystation12","full_name":"Baystation12/Baystation12","owner":{"login":"Baystation12","id":1174322,"avatar_url":"https://avatars.githubusercontent.com/u/1174322?v=3","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},"private":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":"2016-06-13T02:32:51Z","pushed_at":"2016-06-24T03:55:41Z","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":1663839,"stargazers_count":217,"watchers_count":217,"language":"DM","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":968,"mirror_url":null,"open_issues_count":426,"forks":968,"open_issues":426,"watchers":217,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/13488"},"html":{"href":"https://github.com/Baystation12/Baystation12/pull/13488"},"issue":{"href":"https://api.github.com/repos/Baystation12/Baystation12/issues/13488"},"comments":{"href":"https://api.github.com/repos/Baystation12/Baystation12/issues/13488/comments"},"review_comments":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/13488/comments"},"review_comment":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/13488/commits"},"statuses":{"href":"https://api.github.com/repos/Baystation12/Baystation12/statuses/ef4123b91c7f172db06f78ff73940a23a38ea6d8"}}}}
{"actor":{"display_login":"mwerezak"}}