{"action":"created","comment":{"url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/comments/50507508","id":50507508,"diff_hunk":"@@ -27,17 +27,19 @@\n \tvar/base_name\r\n \tvar/unwielded_force_divisor = 0.25\r\n \r\n-/obj/item/weapon/material/twohanded/proc/unwield()\r\n-\twielded = 0\r\n-\tforce = force_unwielded\r\n-\tname = \"[base_name]\"\r\n-\tupdate_icon()\r\n-\r\n-/obj/item/weapon/material/twohanded/proc/wield()\r\n-\twielded = 1\r\n-\tforce = force_wielded\r\n-\tname = \"[base_name] (Wielded)\"\r\n+/obj/item/weapon/material/twohanded/update_held_icon()\r\n+\tvar/mob/living/M = loc\r\n+\tif(istype(M) && !issmall(M) && ((M.r_hand == src && !M.l_hand) || (M.l_hand == src && !M.r_hand)))\r","path":"code/game/objects/items/weapons/material/twohanded.dm","position":16,"original_position":16,"commit_id":"64b59f4e03ca2840cedf10d621f232a309dce7e0","original_commit_id":"64b59f4e03ca2840cedf10d621f232a309dce7e0","user":{"login":"GinjaNinja32","id":3900853,"avatar_url":"https://avatars.githubusercontent.com/u/3900853?v=3","gravatar_id":"","url":"https://api.github.com/users/GinjaNinja32","html_url":"https://github.com/GinjaNinja32","followers_url":"https://api.github.com/users/GinjaNinja32/followers","following_url":"https://api.github.com/users/GinjaNinja32/following{/other_user}","gists_url":"https://api.github.com/users/GinjaNinja32/gists{/gist_id}","starred_url":"https://api.github.com/users/GinjaNinja32/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GinjaNinja32/subscriptions","organizations_url":"https://api.github.com/users/GinjaNinja32/orgs","repos_url":"https://api.github.com/users/GinjaNinja32/repos","events_url":"https://api.github.com/users/GinjaNinja32/events{/privacy}","received_events_url":"https://api.github.com/users/GinjaNinja32/received_events","type":"User","site_admin":false},"body":"Hm. Yep, just looked back at the Polaris PR, only the `Fire()` one can be replaced like that.","created_at":"2016-01-22T07:15:23Z","updated_at":"2016-01-22T07:15:23Z","html_url":"https://github.com/Baystation12/Baystation12/pull/12018#discussion_r50507508","pull_request_url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/12018","_links":{"self":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/comments/50507508"},"html":{"href":"https://github.com/Baystation12/Baystation12/pull/12018#discussion_r50507508"},"pull_request":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/12018"}}},"pull_request":{"url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/12018","id":56794850,"html_url":"https://github.com/Baystation12/Baystation12/pull/12018","diff_url":"https://github.com/Baystation12/Baystation12/pull/12018.diff","patch_url":"https://github.com/Baystation12/Baystation12/pull/12018.patch","issue_url":"https://api.github.com/repos/Baystation12/Baystation12/issues/12018","number":12018,"state":"open","locked":false,"title":"Adds functionality for two-handed gun use","user":{"login":"PsiOmegaDelta","id":496895,"avatar_url":"https://avatars.githubusercontent.com/u/496895?v=3","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":"Holding a two-handed gun in one hand will check the other hand; if it is free, the icon will be set to a wielded icon and you will not suffer major accuracy penalties when firing the gun.\r\n\r\nPorts https://github.com/PolarisSS13/Polaris/pull/811.\r\nPorts https://github.com/PolarisSS13/Polaris/pull/818.","created_at":"2016-01-21T19:13:03Z","updated_at":"2016-01-22T07:15:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7046f7ed69f94293abfe17ad2c34244f99cfa0bd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/12018/commits","review_comments_url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/12018/comments","review_comment_url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Baystation12/Baystation12/issues/12018/comments","statuses_url":"https://api.github.com/repos/Baystation12/Baystation12/statuses/64b59f4e03ca2840cedf10d621f232a309dce7e0","head":{"label":"PsiOmegaDelta:160121-MoreDakka","ref":"160121-MoreDakka","sha":"64b59f4e03ca2840cedf10d621f232a309dce7e0","user":{"login":"PsiOmegaDelta","id":496895,"avatar_url":"https://avatars.githubusercontent.com/u/496895?v=3","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},"repo":{"id":18328813,"name":"Baystation12","full_name":"PsiOmegaDelta/Baystation12","owner":{"login":"PsiOmegaDelta","id":496895,"avatar_url":"https://avatars.githubusercontent.com/u/496895?v=3","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},"private":false,"html_url":"https://github.com/PsiOmegaDelta/Baystation12","description":"The code for Baystation12's branch of SS13. Developers: please don't forget to update the changelog. Thanks!","fork":true,"url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12","forks_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/forks","keys_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/teams","hooks_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/hooks","issue_events_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/issues/events{/number}","events_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/events","assignees_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/assignees{/user}","branches_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/branches{/branch}","tags_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/tags","blobs_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/git/refs{/sha}","trees_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/statuses/{sha}","languages_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/languages","stargazers_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/stargazers","contributors_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/contributors","subscribers_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/subscribers","subscription_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/subscription","commits_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/commits{/sha}","git_commits_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/git/commits{/sha}","comments_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/comments{/number}","issue_comment_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/issues/comments{/number}","contents_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/contents/{+path}","compare_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/merges","archive_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/downloads","issues_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/issues{/number}","pulls_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/pulls{/number}","milestones_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/milestones{/number}","notifications_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/labels{/name}","releases_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/releases{/id}","deployments_url":"https://api.github.com/repos/PsiOmegaDelta/Baystation12/deployments","created_at":"2014-04-01T12:34:43Z","updated_at":"2015-12-04T15:40:51Z","pushed_at":"2016-01-21T19:11:36Z","git_url":"git://github.com/PsiOmegaDelta/Baystation12.git","ssh_url":"git@github.com:PsiOmegaDelta/Baystation12.git","clone_url":"https://github.com/PsiOmegaDelta/Baystation12.git","svn_url":"https://github.com/PsiOmegaDelta/Baystation12","homepage":"http://baystation12.net/","size":562194,"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":"531dd173122c02814c161b7dc5eff58bc10644cd","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-01-16T04:01:39Z","pushed_at":"2016-01-22T03:40:12Z","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":1448871,"stargazers_count":210,"watchers_count":210,"language":"DM","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":877,"mirror_url":null,"open_issues_count":292,"forks":877,"open_issues":292,"watchers":210,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/12018"},"html":{"href":"https://github.com/Baystation12/Baystation12/pull/12018"},"issue":{"href":"https://api.github.com/repos/Baystation12/Baystation12/issues/12018"},"comments":{"href":"https://api.github.com/repos/Baystation12/Baystation12/issues/12018/comments"},"review_comments":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/12018/comments"},"review_comment":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/12018/commits"},"statuses":{"href":"https://api.github.com/repos/Baystation12/Baystation12/statuses/64b59f4e03ca2840cedf10d621f232a309dce7e0"}}}}