{"action":"created","comment":{"url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/comments/52927167","id":52927167,"diff_hunk":"@@ -1523,6 +1523,11 @@ std::string item::info( bool showtext, std::vector<iteminfo> &info ) const\n                 }\n             }\n         }\n+        \n+        if( is_gun() && has_flag( \"FIRE_TWOHAND\" ) ) {\n+            info.push_back( iteminfo( \"DESCRIPTION\",\n+                                      _( \"* This weapon needs <info>two free hands</info> to fire.\" ) ) );","path":"src/item.cpp","position":7,"original_position":7,"commit_id":"f13b9e2e6219fa57119a0adee55e7b2d585e2d5c","original_commit_id":"f13b9e2e6219fa57119a0adee55e7b2d585e2d5c","user":{"login":"narc0tiq","id":591573,"avatar_url":"https://avatars.githubusercontent.com/u/591573?v=3","gravatar_id":"","url":"https://api.github.com/users/narc0tiq","html_url":"https://github.com/narc0tiq","followers_url":"https://api.github.com/users/narc0tiq/followers","following_url":"https://api.github.com/users/narc0tiq/following{/other_user}","gists_url":"https://api.github.com/users/narc0tiq/gists{/gist_id}","starred_url":"https://api.github.com/users/narc0tiq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/narc0tiq/subscriptions","organizations_url":"https://api.github.com/users/narc0tiq/orgs","repos_url":"https://api.github.com/users/narc0tiq/repos","events_url":"https://api.github.com/users/narc0tiq/events{/privacy}","received_events_url":"https://api.github.com/users/narc0tiq/received_events","type":"User","site_admin":false},"body":"Is it possible for the color of that `<info>` segment to be instead either red or green, depending on whether the player has two free hands? Should we try that?","created_at":"2016-02-15T17:49:28Z","updated_at":"2016-02-15T17:49:28Z","html_url":"https://github.com/CleverRaven/Cataclysm-DDA/pull/15415#discussion_r52927167","pull_request_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/15415","_links":{"self":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/comments/52927167"},"html":{"href":"https://github.com/CleverRaven/Cataclysm-DDA/pull/15415#discussion_r52927167"},"pull_request":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/15415"}}},"pull_request":{"url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/15415","id":59366255,"html_url":"https://github.com/CleverRaven/Cataclysm-DDA/pull/15415","diff_url":"https://github.com/CleverRaven/Cataclysm-DDA/pull/15415.diff","patch_url":"https://github.com/CleverRaven/Cataclysm-DDA/pull/15415.patch","issue_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/15415","number":15415,"state":"open","locked":false,"title":"Allow wielding bows with one hand","user":{"login":"Darkyhard","id":8814734,"avatar_url":"https://avatars.githubusercontent.com/u/8814734?v=3","gravatar_id":"","url":"https://api.github.com/users/Darkyhard","html_url":"https://github.com/Darkyhard","followers_url":"https://api.github.com/users/Darkyhard/followers","following_url":"https://api.github.com/users/Darkyhard/following{/other_user}","gists_url":"https://api.github.com/users/Darkyhard/gists{/gist_id}","starred_url":"https://api.github.com/users/Darkyhard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Darkyhard/subscriptions","organizations_url":"https://api.github.com/users/Darkyhard/orgs","repos_url":"https://api.github.com/users/Darkyhard/repos","events_url":"https://api.github.com/users/Darkyhard/events{/privacy}","received_events_url":"https://api.github.com/users/Darkyhard/received_events","type":"User","site_admin":false},"body":"Implement FIRE_TWOHAND flag and add it to existing bows and crossbows instead of ALWAYS_TWOHAND flag.\r\n\r\nThis flag makes it possible to wield a gun with one hand as a melee or throwing weapon, but prevents firing it with one free hand.\r\n\r\nAlso, is it intended that repeater crossbow and heavy crossbow have ALWAYS_TWOHAND flag? They don't seem to work like bows, so one could probably fire them with one hand if they had enough strength.","created_at":"2016-02-15T13:53:01Z","updated_at":"2016-02-15T17:49:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"16a7a415a6bae938b01500ddf0d2b364c6681130","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/15415/commits","review_comments_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/15415/comments","review_comment_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/15415/comments","statuses_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/statuses/f13b9e2e6219fa57119a0adee55e7b2d585e2d5c","head":{"label":"Darkyhard:fire_twohand","ref":"fire_twohand","sha":"f13b9e2e6219fa57119a0adee55e7b2d585e2d5c","user":{"login":"Darkyhard","id":8814734,"avatar_url":"https://avatars.githubusercontent.com/u/8814734?v=3","gravatar_id":"","url":"https://api.github.com/users/Darkyhard","html_url":"https://github.com/Darkyhard","followers_url":"https://api.github.com/users/Darkyhard/followers","following_url":"https://api.github.com/users/Darkyhard/following{/other_user}","gists_url":"https://api.github.com/users/Darkyhard/gists{/gist_id}","starred_url":"https://api.github.com/users/Darkyhard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Darkyhard/subscriptions","organizations_url":"https://api.github.com/users/Darkyhard/orgs","repos_url":"https://api.github.com/users/Darkyhard/repos","events_url":"https://api.github.com/users/Darkyhard/events{/privacy}","received_events_url":"https://api.github.com/users/Darkyhard/received_events","type":"User","site_admin":false},"repo":{"id":50759235,"name":"Cataclysm-DDA","full_name":"Darkyhard/Cataclysm-DDA","owner":{"login":"Darkyhard","id":8814734,"avatar_url":"https://avatars.githubusercontent.com/u/8814734?v=3","gravatar_id":"","url":"https://api.github.com/users/Darkyhard","html_url":"https://github.com/Darkyhard","followers_url":"https://api.github.com/users/Darkyhard/followers","following_url":"https://api.github.com/users/Darkyhard/following{/other_user}","gists_url":"https://api.github.com/users/Darkyhard/gists{/gist_id}","starred_url":"https://api.github.com/users/Darkyhard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Darkyhard/subscriptions","organizations_url":"https://api.github.com/users/Darkyhard/orgs","repos_url":"https://api.github.com/users/Darkyhard/repos","events_url":"https://api.github.com/users/Darkyhard/events{/privacy}","received_events_url":"https://api.github.com/users/Darkyhard/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Darkyhard/Cataclysm-DDA","description":"Cataclysm - Dark Days Ahead. A fork/variant of Cataclysm Roguelike by Whales.","fork":true,"url":"https://api.github.com/repos/Darkyhard/Cataclysm-DDA","forks_url":"https://api.github.com/repos/Darkyhard/Cataclysm-DDA/forks","keys_url":"https://api.github.com/repos/Darkyhard/Cataclysm-DDA/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Darkyhard/Cataclysm-DDA/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Darkyhard/Cataclysm-DDA/teams","hooks_url":"https://api.github.com/repos/Darkyhard/Cataclysm-DDA/hooks","issue_events_url":"https://api.github.com/repos/Darkyhard/Cataclysm-DDA/issues/events{/number}","events_url":"https://api.github.com/repos/Darkyhard/Cataclysm-DDA/events","assignees_url":"https://api.github.com/repos/Darkyhard/Cataclysm-DDA/assignees{/user}","branches_url":"https://api.github.com/repos/Darkyhard/Cataclysm-DDA/branches{/branch}","tags_url":"https://api.github.com/repos/Darkyhard/Cataclysm-DDA/tags","blobs_url":"https://api.github.com/repos/Darkyhard/Cataclysm-DDA/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Darkyhard/Cataclysm-DDA/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Darkyhard/Cataclysm-DDA/git/refs{/sha}","trees_url":"https://api.github.com/repos/Darkyhard/Cataclysm-DDA/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Darkyhard/Cataclysm-DDA/statuses/{sha}","languages_url":"https://api.github.com/repos/Darkyhard/Cataclysm-DDA/languages","stargazers_url":"https://api.github.com/repos/Darkyhard/Cataclysm-DDA/stargazers","contributors_url":"https://api.github.com/repos/Darkyhard/Cataclysm-DDA/contributors","subscribers_url":"https://api.github.com/repos/Darkyhard/Cataclysm-DDA/subscribers","subscription_url":"https://api.github.com/repos/Darkyhard/Cataclysm-DDA/subscription","commits_url":"https://api.github.com/repos/Darkyhard/Cataclysm-DDA/commits{/sha}","git_commits_url":"https://api.github.com/repos/Darkyhard/Cataclysm-DDA/git/commits{/sha}","comments_url":"https://api.github.com/repos/Darkyhard/Cataclysm-DDA/comments{/number}","issue_comment_url":"https://api.github.com/repos/Darkyhard/Cataclysm-DDA/issues/comments{/number}","contents_url":"https://api.github.com/repos/Darkyhard/Cataclysm-DDA/contents/{+path}","compare_url":"https://api.github.com/repos/Darkyhard/Cataclysm-DDA/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Darkyhard/Cataclysm-DDA/merges","archive_url":"https://api.github.com/repos/Darkyhard/Cataclysm-DDA/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Darkyhard/Cataclysm-DDA/downloads","issues_url":"https://api.github.com/repos/Darkyhard/Cataclysm-DDA/issues{/number}","pulls_url":"https://api.github.com/repos/Darkyhard/Cataclysm-DDA/pulls{/number}","milestones_url":"https://api.github.com/repos/Darkyhard/Cataclysm-DDA/milestones{/number}","notifications_url":"https://api.github.com/repos/Darkyhard/Cataclysm-DDA/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Darkyhard/Cataclysm-DDA/labels{/name}","releases_url":"https://api.github.com/repos/Darkyhard/Cataclysm-DDA/releases{/id}","deployments_url":"https://api.github.com/repos/Darkyhard/Cataclysm-DDA/deployments","created_at":"2016-01-31T04:47:35Z","updated_at":"2016-01-31T04:47:42Z","pushed_at":"2016-02-15T16:04:12Z","git_url":"git://github.com/Darkyhard/Cataclysm-DDA.git","ssh_url":"git@github.com:Darkyhard/Cataclysm-DDA.git","clone_url":"https://github.com/Darkyhard/Cataclysm-DDA.git","svn_url":"https://github.com/Darkyhard/Cataclysm-DDA","homepage":"http://en.cataclysmdda.com/","size":700672,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"CleverRaven:master","ref":"master","sha":"4ea1571270579d0038b6f39ea7f3bf9fd00d377f","user":{"login":"CleverRaven","id":4367009,"avatar_url":"https://avatars.githubusercontent.com/u/4367009?v=3","gravatar_id":"","url":"https://api.github.com/users/CleverRaven","html_url":"https://github.com/CleverRaven","followers_url":"https://api.github.com/users/CleverRaven/followers","following_url":"https://api.github.com/users/CleverRaven/following{/other_user}","gists_url":"https://api.github.com/users/CleverRaven/gists{/gist_id}","starred_url":"https://api.github.com/users/CleverRaven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CleverRaven/subscriptions","organizations_url":"https://api.github.com/users/CleverRaven/orgs","repos_url":"https://api.github.com/users/CleverRaven/repos","events_url":"https://api.github.com/users/CleverRaven/events{/privacy}","received_events_url":"https://api.github.com/users/CleverRaven/received_events","type":"Organization","site_admin":false},"repo":{"id":5973855,"name":"Cataclysm-DDA","full_name":"CleverRaven/Cataclysm-DDA","owner":{"login":"CleverRaven","id":4367009,"avatar_url":"https://avatars.githubusercontent.com/u/4367009?v=3","gravatar_id":"","url":"https://api.github.com/users/CleverRaven","html_url":"https://github.com/CleverRaven","followers_url":"https://api.github.com/users/CleverRaven/followers","following_url":"https://api.github.com/users/CleverRaven/following{/other_user}","gists_url":"https://api.github.com/users/CleverRaven/gists{/gist_id}","starred_url":"https://api.github.com/users/CleverRaven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CleverRaven/subscriptions","organizations_url":"https://api.github.com/users/CleverRaven/orgs","repos_url":"https://api.github.com/users/CleverRaven/repos","events_url":"https://api.github.com/users/CleverRaven/events{/privacy}","received_events_url":"https://api.github.com/users/CleverRaven/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CleverRaven/Cataclysm-DDA","description":"Cataclysm - Dark Days Ahead. A fork/variant of Cataclysm Roguelike by Whales.","fork":false,"url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA","forks_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/forks","keys_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/teams","hooks_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/hooks","issue_events_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/events{/number}","events_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/events","assignees_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/assignees{/user}","branches_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/branches{/branch}","tags_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/tags","blobs_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/git/refs{/sha}","trees_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/statuses/{sha}","languages_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/languages","stargazers_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/stargazers","contributors_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/contributors","subscribers_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/subscribers","subscription_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/subscription","commits_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/commits{/sha}","git_commits_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/git/commits{/sha}","comments_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/comments{/number}","issue_comment_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/comments{/number}","contents_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/contents/{+path}","compare_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/merges","archive_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/downloads","issues_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues{/number}","pulls_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls{/number}","milestones_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/milestones{/number}","notifications_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/labels{/name}","releases_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/releases{/id}","deployments_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/deployments","created_at":"2012-09-26T22:57:43Z","updated_at":"2016-02-14T21:59:56Z","pushed_at":"2016-02-15T17:47:05Z","git_url":"git://github.com/CleverRaven/Cataclysm-DDA.git","ssh_url":"git@github.com:CleverRaven/Cataclysm-DDA.git","clone_url":"https://github.com/CleverRaven/Cataclysm-DDA.git","svn_url":"https://github.com/CleverRaven/Cataclysm-DDA","homepage":"http://en.cataclysmdda.com/","size":947267,"stargazers_count":873,"watchers_count":873,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":854,"mirror_url":null,"open_issues_count":1290,"forks":854,"open_issues":1290,"watchers":873,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/15415"},"html":{"href":"https://github.com/CleverRaven/Cataclysm-DDA/pull/15415"},"issue":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/15415"},"comments":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/15415/comments"},"review_comments":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/15415/comments"},"review_comment":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/15415/commits"},"statuses":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/statuses/f13b9e2e6219fa57119a0adee55e7b2d585e2d5c"}}}}