{"action":"created","comment":{"url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/comments/138660618","pull_request_review_id":62485938,"id":138660618,"diff_hunk":"@@ -424,22 +424,34 @@ This function completely restores a damaged organ to perfect condition.\n \t\towner.remove_blood(fluid_loss)\n \n \t// first check whether we can widen an existing wound\n-\tif(!surgical && wounds && wounds.len > 0 && prob(max(50+(number_wounds-1)*10,90)))\n-\t\tif((type == CUT || type == BRUISE) && damage >= 5)\n+\tif(!surgical && wounds && wounds.len > 0 && prob(min(50+(number_wounds-1)*10,90)))\n+\t\tif((type == CUT || type == BRUISE || type == BURN))\n \t\t\t//we need to make sure that the wound we are going to worsen is compatible with the type of damage...\n \t\t\tvar/list/compatible_wounds = list()\n \t\t\tfor (var/datum/wound/W in wounds)\n-\t\t\t\tif (W.can_worsen(type, damage))\n+\t\t\t\tif (W.can_worsen(type) && (!W.too_high(damage) || prob(50)))\n \t\t\t\t\tcompatible_wounds += W\n \n \t\t\tif(compatible_wounds.len)\n \t\t\t\tvar/datum/wound/W = pick(compatible_wounds)\n-\t\t\t\tW.open_wound(damage)\n-\t\t\t\tif(prob(25))\n+\t\t\t\tvar/too_high_damage = W.too_high(damage)\n+\t\t\t\tif(too_high_damage)\n+\t\t\t\t\twounds -= W\n+\t\t\t\t\tvar/wound_check = get_wound_type(type, too_high_damage)\n+\t\t\t\t\tqdel(W)\n+\t\t\t\t\tW = new wound_check(too_high_damage)\n+\t\t\t\t\twounds += W","path":"code/modules/organs/external/_external.dm","position":25,"original_position":25,"commit_id":"be3e591bc1d75e089a8cbbd4fa2ccf52781786d2","original_commit_id":"3c647bf22473a6d28972fdecb33620fba04e9e63","user":{"login":"FTangSteve","id":21090264,"avatar_url":"https://avatars0.githubusercontent.com/u/21090264?v=4","gravatar_id":"","url":"https://api.github.com/users/FTangSteve","html_url":"https://github.com/FTangSteve","followers_url":"https://api.github.com/users/FTangSteve/followers","following_url":"https://api.github.com/users/FTangSteve/following{/other_user}","gists_url":"https://api.github.com/users/FTangSteve/gists{/gist_id}","starred_url":"https://api.github.com/users/FTangSteve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FTangSteve/subscriptions","organizations_url":"https://api.github.com/users/FTangSteve/orgs","repos_url":"https://api.github.com/users/FTangSteve/repos","events_url":"https://api.github.com/users/FTangSteve/events{/privacy}","received_events_url":"https://api.github.com/users/FTangSteve/received_events","type":"User","site_admin":false},"body":"I can make it so embedded items stop wounds from worsening, that's a good idea anyway.","created_at":"2017-09-13T15:47:58Z","updated_at":"2017-09-13T15:47:58Z","html_url":"https://github.com/Baystation12/Baystation12/pull/18517#discussion_r138660618","pull_request_url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/18517","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/comments/138660618"},"html":{"href":"https://github.com/Baystation12/Baystation12/pull/18517#discussion_r138660618"},"pull_request":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/18517"}},"in_reply_to_id":138498545},"pull_request":{"url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/18517","id":139207073,"html_url":"https://github.com/Baystation12/Baystation12/pull/18517","diff_url":"https://github.com/Baystation12/Baystation12/pull/18517.diff","patch_url":"https://github.com/Baystation12/Baystation12/pull/18517.patch","issue_url":"https://api.github.com/repos/Baystation12/Baystation12/issues/18517","number":18517,"state":"open","locked":false,"title":"GAS burn, burning updated, GAS glass fix","user":{"login":"FTangSteve","id":21090264,"avatar_url":"https://avatars0.githubusercontent.com/u/21090264?v=4","gravatar_id":"","url":"https://api.github.com/users/FTangSteve","html_url":"https://github.com/FTangSteve","followers_url":"https://api.github.com/users/FTangSteve/followers","following_url":"https://api.github.com/users/FTangSteve/following{/other_user}","gists_url":"https://api.github.com/users/FTangSteve/gists{/gist_id}","starred_url":"https://api.github.com/users/FTangSteve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FTangSteve/subscriptions","organizations_url":"https://api.github.com/users/FTangSteve/orgs","repos_url":"https://api.github.com/users/FTangSteve/repos","events_url":"https://api.github.com/users/FTangSteve/events{/privacy}","received_events_url":"https://api.github.com/users/FTangSteve/received_events","type":"User","site_admin":false},"body":"<!-- \r\nDo not forget to add a changelog when you have made admin/player facing changes that can alter gameplay.\r\nExamples which require a changelog entry include:\r\n* Adding/removing objects that players may interact with, or the way they function.\r\n* Adding/removing/altering admin tools.\r\n* Changing the map.\r\n\r\nExamples were changelog entries are optional/not typically required:\r\n* Cosmetic changes such as descriptions, sound effects, etc.\r\n* Optimizations and other changes to underlying systems which do not affect gameplay.\r\n* Minor bug fixes.\r\n\r\nYou find a README and example file in .\\html\\changelogs\\ for further instructions.\r\n-->\r\nChanges how groups small wounds are handled.\r\nChanges how being on fire is handled.\r\nGAS are flammable.","created_at":"2017-09-04T20:23:12Z","updated_at":"2017-09-13T15:47:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"106d2d7e13589bc181fc8d2521bbca19dcfbd703","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/18517/commits","review_comments_url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/18517/comments","review_comment_url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Baystation12/Baystation12/issues/18517/comments","statuses_url":"https://api.github.com/repos/Baystation12/Baystation12/statuses/be3e591bc1d75e089a8cbbd4fa2ccf52781786d2","head":{"label":"FTangSteve:moreBugBugs","ref":"moreBugBugs","sha":"be3e591bc1d75e089a8cbbd4fa2ccf52781786d2","user":{"login":"FTangSteve","id":21090264,"avatar_url":"https://avatars0.githubusercontent.com/u/21090264?v=4","gravatar_id":"","url":"https://api.github.com/users/FTangSteve","html_url":"https://github.com/FTangSteve","followers_url":"https://api.github.com/users/FTangSteve/followers","following_url":"https://api.github.com/users/FTangSteve/following{/other_user}","gists_url":"https://api.github.com/users/FTangSteve/gists{/gist_id}","starred_url":"https://api.github.com/users/FTangSteve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FTangSteve/subscriptions","organizations_url":"https://api.github.com/users/FTangSteve/orgs","repos_url":"https://api.github.com/users/FTangSteve/repos","events_url":"https://api.github.com/users/FTangSteve/events{/privacy}","received_events_url":"https://api.github.com/users/FTangSteve/received_events","type":"User","site_admin":false},"repo":{"id":73750699,"name":"Baystation12","full_name":"FTangSteve/Baystation12","owner":{"login":"FTangSteve","id":21090264,"avatar_url":"https://avatars0.githubusercontent.com/u/21090264?v=4","gravatar_id":"","url":"https://api.github.com/users/FTangSteve","html_url":"https://github.com/FTangSteve","followers_url":"https://api.github.com/users/FTangSteve/followers","following_url":"https://api.github.com/users/FTangSteve/following{/other_user}","gists_url":"https://api.github.com/users/FTangSteve/gists{/gist_id}","starred_url":"https://api.github.com/users/FTangSteve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FTangSteve/subscriptions","organizations_url":"https://api.github.com/users/FTangSteve/orgs","repos_url":"https://api.github.com/users/FTangSteve/repos","events_url":"https://api.github.com/users/FTangSteve/events{/privacy}","received_events_url":"https://api.github.com/users/FTangSteve/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/FTangSteve/Baystation12","description":"The code for Baystation12's branch of SS13","fork":true,"url":"https://api.github.com/repos/FTangSteve/Baystation12","forks_url":"https://api.github.com/repos/FTangSteve/Baystation12/forks","keys_url":"https://api.github.com/repos/FTangSteve/Baystation12/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FTangSteve/Baystation12/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FTangSteve/Baystation12/teams","hooks_url":"https://api.github.com/repos/FTangSteve/Baystation12/hooks","issue_events_url":"https://api.github.com/repos/FTangSteve/Baystation12/issues/events{/number}","events_url":"https://api.github.com/repos/FTangSteve/Baystation12/events","assignees_url":"https://api.github.com/repos/FTangSteve/Baystation12/assignees{/user}","branches_url":"https://api.github.com/repos/FTangSteve/Baystation12/branches{/branch}","tags_url":"https://api.github.com/repos/FTangSteve/Baystation12/tags","blobs_url":"https://api.github.com/repos/FTangSteve/Baystation12/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FTangSteve/Baystation12/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FTangSteve/Baystation12/git/refs{/sha}","trees_url":"https://api.github.com/repos/FTangSteve/Baystation12/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FTangSteve/Baystation12/statuses/{sha}","languages_url":"https://api.github.com/repos/FTangSteve/Baystation12/languages","stargazers_url":"https://api.github.com/repos/FTangSteve/Baystation12/stargazers","contributors_url":"https://api.github.com/repos/FTangSteve/Baystation12/contributors","subscribers_url":"https://api.github.com/repos/FTangSteve/Baystation12/subscribers","subscription_url":"https://api.github.com/repos/FTangSteve/Baystation12/subscription","commits_url":"https://api.github.com/repos/FTangSteve/Baystation12/commits{/sha}","git_commits_url":"https://api.github.com/repos/FTangSteve/Baystation12/git/commits{/sha}","comments_url":"https://api.github.com/repos/FTangSteve/Baystation12/comments{/number}","issue_comment_url":"https://api.github.com/repos/FTangSteve/Baystation12/issues/comments{/number}","contents_url":"https://api.github.com/repos/FTangSteve/Baystation12/contents/{+path}","compare_url":"https://api.github.com/repos/FTangSteve/Baystation12/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FTangSteve/Baystation12/merges","archive_url":"https://api.github.com/repos/FTangSteve/Baystation12/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FTangSteve/Baystation12/downloads","issues_url":"https://api.github.com/repos/FTangSteve/Baystation12/issues{/number}","pulls_url":"https://api.github.com/repos/FTangSteve/Baystation12/pulls{/number}","milestones_url":"https://api.github.com/repos/FTangSteve/Baystation12/milestones{/number}","notifications_url":"https://api.github.com/repos/FTangSteve/Baystation12/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FTangSteve/Baystation12/labels{/name}","releases_url":"https://api.github.com/repos/FTangSteve/Baystation12/releases{/id}","deployments_url":"https://api.github.com/repos/FTangSteve/Baystation12/deployments","created_at":"2016-11-14T21:59:17Z","updated_at":"2016-11-14T21:59:30Z","pushed_at":"2017-09-13T15:16:41Z","git_url":"git://github.com/FTangSteve/Baystation12.git","ssh_url":"git@github.com:FTangSteve/Baystation12.git","clone_url":"https://github.com/FTangSteve/Baystation12.git","svn_url":"https://github.com/FTangSteve/Baystation12","homepage":"http://baystation12.net/","size":696800,"stargazers_count":0,"watchers_count":0,"language":"DM","has_issues":false,"has_projects":true,"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":"dev"}},"base":{"label":"Baystation12:dev","ref":"dev","sha":"c2e0e22b1623bf75d40919ae6d389ab5c9245789","user":{"login":"Baystation12","id":1174322,"avatar_url":"https://avatars0.githubusercontent.com/u/1174322?v=4","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://avatars0.githubusercontent.com/u/1174322?v=4","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":"2017-09-10T19:24:40Z","pushed_at":"2017-09-13T15:37:54Z","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":696486,"stargazers_count":263,"watchers_count":263,"language":"DM","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":861,"mirror_url":null,"open_issues_count":1465,"forks":861,"open_issues":1465,"watchers":263,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/18517"},"html":{"href":"https://github.com/Baystation12/Baystation12/pull/18517"},"issue":{"href":"https://api.github.com/repos/Baystation12/Baystation12/issues/18517"},"comments":{"href":"https://api.github.com/repos/Baystation12/Baystation12/issues/18517/comments"},"review_comments":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/18517/comments"},"review_comment":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/18517/commits"},"statuses":{"href":"https://api.github.com/repos/Baystation12/Baystation12/statuses/be3e591bc1d75e089a8cbbd4fa2ccf52781786d2"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"FTangSteve"}}