{"action":"created","comment":{"url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/comments/24134670","id":24134670,"diff_hunk":"@@ -0,0 +1,585 @@\n+#define SOLID 1\n+#define LIQUID 2\n+#define GAS 3\n+\n+#define REM REAGENTS_EFFECT_MULTIPLIER\n+\n+datum/reagent/silver_sulfadiazine\n+\tname = \"Silver Sulfadiazine\"\n+\tid = \"silver_sulfadiazine\"\n+\tdescription = \"100% chance per cycle of healing 2 points of BURN damage.\"\n+\treagent_state = LIQUID\n+\tcolor = \"#C8A5DC\" // rgb: 200, 165, 220\n+\tcustom_metabolism = 2\n+\n+datum/reagent/silver_sulfadiazine/reaction_mob(var/mob/living/M as mob, var/method=TOUCH, var/volume)\n+\tif(method == TOUCH)\n+\t\tM.adjustFireLoss(-volume)\n+\t\tM << \"<span class='notice'>You feel your burns healing!</span>\"\n+\t\tM.emote(\"scream\")\n+\tif(method == INGEST)\n+\t\tM.adjustToxLoss(0.5*volume)\n+\t\tM << \"<span class='notice'>You probably shouldn't have eaten that. Maybe you should of splashed it on, or applied a patch?</span>\"\n+\t..()\n+\treturn\n+\n+datum/reagent/silver_sulfadiazine/on_mob_life(var/mob/living/M as mob)\n+\tif(!M) M = holder.my_atom\n+\tM.adjustFireLoss(-2*REM)\n+\t..()\n+\treturn\n+\n+datum/reagent/styptic_powder\n+\tname = \"Styptic Powder\"\n+\tid = \"styptic_powder\"\n+\tdescription = \"100% chance per cycle of healing 2 points of BRUTE damage.\"\n+\treagent_state = LIQUID\n+\tcolor = \"#C8A5DC\" // rgb: 200, 165, 220\n+\tcustom_metabolism = 2\n+\n+datum/reagent/styptic_powder/reaction_mob(var/mob/living/M as mob, var/method=TOUCH, var/volume)\n+\tif(method == TOUCH)\n+\t\tM.adjustBruteLoss(-volume)\n+\t\tM << \"<span class='notice'>You feel your wounds knitting back together!</span>\"\n+\t\tM.emote(\"scream\")\n+\tif(method == INGEST)\n+\t\tM.adjustToxLoss(0.5*volume)\n+\t\tM << \"<span class='notice'>You probably shouldn't have eaten that. Maybe you should of splashed it on, or applied a patch?</span>\"\n+\t..()\n+\treturn\n+\n+datum/reagent/styptic_powder/on_mob_life(var/mob/living/M as mob)\n+\tif(!M) M = holder.my_atom\n+\tif(prob(55))\n+\t\tM.adjustBruteLoss(-8*REM)\n+\t..()\n+\treturn\n+\n+datum/reagent/salglu_solution\n+\tname = \"Saline-Glucose Solution\"\n+\tid = \"salglu_solution\"\n+\tdescription = \"33% chance per cycle of healing 3 point each of BRUTE and BURN damage.\"\n+\treagent_state = LIQUID\n+\tcolor = \"#C8A5DC\" // rgb: 200, 165, 220\n+\n+datum/reagent/salglu_solution/on_mob_life(var/mob/living/M as mob)\n+\tif(!M) M = holder.my_atom\n+\tif(prob(50))\n+\t\tM.adjustBruteLoss(-3*REM)\n+\t\tM.adjustFireLoss(-3*REM)\n+\t..()\n+\treturn\n+\n+datum/reagent/synthflesh\n+\tname = \"Synthflesh\"\n+\tid = \"synthflesh\"\n+\tdescription = \"100% chance per cycle of healing 1 point each of BRUTE and BURN damage.\"\n+\treagent_state = LIQUID\n+\tcolor = \"#C8A5DC\" // rgb: 200, 165, 220\n+\n+datum/reagent/synthflesh/reaction_mob(var/mob/living/M, var/method=TOUCH, var/volume)\n+\tif(!M) M = holder.my_atom\n+\tif(method == TOUCH)\n+\t\tM.adjustBruteLoss(-1.5*volume)","path":"code/modules/reagents/goonchem/medicine_reagents.dm","position":83,"original_position":83,"commit_id":"d3c1e134c99c8d2ac567b4db0c69609428683db4","original_commit_id":"d3c1e134c99c8d2ac567b4db0c69609428683db4","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":"You could define a separate constant for balancing touch effects, perhaps?","created_at":"2015-02-05T00:44:34Z","updated_at":"2015-02-05T00:44:34Z","html_url":"https://github.com/Baystation12/Baystation12/pull/7956#discussion_r24134670","pull_request_url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/7956","_links":{"self":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/comments/24134670"},"html":{"href":"https://github.com/Baystation12/Baystation12/pull/7956#discussion_r24134670"},"pull_request":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/7956"}}},"pull_request":{"url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/7956","id":28085553,"html_url":"https://github.com/Baystation12/Baystation12/pull/7956","diff_url":"https://github.com/Baystation12/Baystation12/pull/7956.diff","patch_url":"https://github.com/Baystation12/Baystation12/pull/7956.patch","issue_url":"https://api.github.com/repos/Baystation12/Baystation12/issues/7956","number":7956,"state":"open","locked":false,"title":"Goon Chemistry: Addiction, Overdosing, Chemical Temperatures","user":{"login":"Iamgoofball","id":4081722,"avatar_url":"https://avatars.githubusercontent.com/u/4081722?v=3","gravatar_id":"","url":"https://api.github.com/users/Iamgoofball","html_url":"https://github.com/Iamgoofball","followers_url":"https://api.github.com/users/Iamgoofball/followers","following_url":"https://api.github.com/users/Iamgoofball/following{/other_user}","gists_url":"https://api.github.com/users/Iamgoofball/gists{/gist_id}","starred_url":"https://api.github.com/users/Iamgoofball/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Iamgoofball/subscriptions","organizations_url":"https://api.github.com/users/Iamgoofball/orgs","repos_url":"https://api.github.com/users/Iamgoofball/repos","events_url":"https://api.github.com/users/Iamgoofball/events{/privacy}","received_events_url":"https://api.github.com/users/Iamgoofball/received_events","type":"User","site_admin":false},"body":">You apply the patch.\r\n>You feel your skin knitting back together!\r\n>Urist McSpaceman screams!\r\n\r\nThis pull request is a port of Goon Chemistry from /tg/station which was developed off of data from the ss13.co wiki and personal experience with goon chem.\r\n\r\nPSA: I made this code from scratch. It's not copypasted from goon files or anything.\r\n\r\n - Chemicals now tick every 3 seconds.\r\n - Adds a shitload of new chemicals\r\n - Replaces the shitty old Overdose code with fresh new modular Overdose code\r\n - Adds 4 stage modular addiction to chemicals.\r\n - Adds a Chemical Heater with a NanoUI interface.\r\n - Adds Patches\r\n - Fixes the water reaction, because water is totally 2 oxygen 1 hydrogen.\r\n - Adds a new traitor item, the Poison Kit. Comes with some bottles of toxins.\r\n\r\n\r\nCredit goes to Cogwerks for the ideas.\r\n\r\n>Why do we want this at baystation12?\r\n\r\n1. I feel these chemicals are more realistic and intriguing to use, and that baystation players will appreciate their more in depth and complex applications and uses. They do not replace any current chemicals or mixtures (with the exception of cyanide), therefore they are an optional route for chemistry to take in regards to making chemicals.\r\n\r\n2. I want to add this to all the downstreams, and instead of spending 3 hours porting this to each downstream, waiting 5-6 days for each downstream to merge the PR, then repeating again for the next downstream, I figured I'd get it added to the core thing they all base off of. It's the same concept as not copypasting code. If I need to make an adjustment or a bugfix, I can fix it here and all the downstreams will pull the fix without me having to spoonfeed each downstream the fix. It saves me time, it saves downstreams problems of bug fixes, and it keeps everyone in line and makes everyone happy.\r\n\r\n3. Chemistry really hasn't been changed as much as this since r4407. It needed a breath of fresh air and new features.\r\n\r\n4. If you don't want certain chemicals in this PR, you can just untick the reagents file for this. So if I just wanted the pyrotechnics, I could untick everything but pyro_reagents.dm. Or, if I just wanted the toxins and the drugs, I could untick everything but toxin_reagents.dm and drug_reagents.dm.","created_at":"2015-01-27T05:52:38Z","updated_at":"2015-02-05T00:44:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0d36a68f0537d545394009956bc748e8e9ad0ad5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/7956/commits","review_comments_url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/7956/comments","review_comment_url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/comments/{number}","comments_url":"https://api.github.com/repos/Baystation12/Baystation12/issues/7956/comments","statuses_url":"https://api.github.com/repos/Baystation12/Baystation12/statuses/d3c1e134c99c8d2ac567b4db0c69609428683db4","head":{"label":"Iamgoofball:chemistry","ref":"chemistry","sha":"d3c1e134c99c8d2ac567b4db0c69609428683db4","user":{"login":"Iamgoofball","id":4081722,"avatar_url":"https://avatars.githubusercontent.com/u/4081722?v=3","gravatar_id":"","url":"https://api.github.com/users/Iamgoofball","html_url":"https://github.com/Iamgoofball","followers_url":"https://api.github.com/users/Iamgoofball/followers","following_url":"https://api.github.com/users/Iamgoofball/following{/other_user}","gists_url":"https://api.github.com/users/Iamgoofball/gists{/gist_id}","starred_url":"https://api.github.com/users/Iamgoofball/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Iamgoofball/subscriptions","organizations_url":"https://api.github.com/users/Iamgoofball/orgs","repos_url":"https://api.github.com/users/Iamgoofball/repos","events_url":"https://api.github.com/users/Iamgoofball/events{/privacy}","received_events_url":"https://api.github.com/users/Iamgoofball/received_events","type":"User","site_admin":false},"repo":{"id":29892927,"name":"Baystation12","full_name":"Iamgoofball/Baystation12","owner":{"login":"Iamgoofball","id":4081722,"avatar_url":"https://avatars.githubusercontent.com/u/4081722?v=3","gravatar_id":"","url":"https://api.github.com/users/Iamgoofball","html_url":"https://github.com/Iamgoofball","followers_url":"https://api.github.com/users/Iamgoofball/followers","following_url":"https://api.github.com/users/Iamgoofball/following{/other_user}","gists_url":"https://api.github.com/users/Iamgoofball/gists{/gist_id}","starred_url":"https://api.github.com/users/Iamgoofball/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Iamgoofball/subscriptions","organizations_url":"https://api.github.com/users/Iamgoofball/orgs","repos_url":"https://api.github.com/users/Iamgoofball/repos","events_url":"https://api.github.com/users/Iamgoofball/events{/privacy}","received_events_url":"https://api.github.com/users/Iamgoofball/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Iamgoofball/Baystation12","description":"The code for Baystation12's branch of SS13","fork":true,"url":"https://api.github.com/repos/Iamgoofball/Baystation12","forks_url":"https://api.github.com/repos/Iamgoofball/Baystation12/forks","keys_url":"https://api.github.com/repos/Iamgoofball/Baystation12/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Iamgoofball/Baystation12/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Iamgoofball/Baystation12/teams","hooks_url":"https://api.github.com/repos/Iamgoofball/Baystation12/hooks","issue_events_url":"https://api.github.com/repos/Iamgoofball/Baystation12/issues/events{/number}","events_url":"https://api.github.com/repos/Iamgoofball/Baystation12/events","assignees_url":"https://api.github.com/repos/Iamgoofball/Baystation12/assignees{/user}","branches_url":"https://api.github.com/repos/Iamgoofball/Baystation12/branches{/branch}","tags_url":"https://api.github.com/repos/Iamgoofball/Baystation12/tags","blobs_url":"https://api.github.com/repos/Iamgoofball/Baystation12/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Iamgoofball/Baystation12/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Iamgoofball/Baystation12/git/refs{/sha}","trees_url":"https://api.github.com/repos/Iamgoofball/Baystation12/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Iamgoofball/Baystation12/statuses/{sha}","languages_url":"https://api.github.com/repos/Iamgoofball/Baystation12/languages","stargazers_url":"https://api.github.com/repos/Iamgoofball/Baystation12/stargazers","contributors_url":"https://api.github.com/repos/Iamgoofball/Baystation12/contributors","subscribers_url":"https://api.github.com/repos/Iamgoofball/Baystation12/subscribers","subscription_url":"https://api.github.com/repos/Iamgoofball/Baystation12/subscription","commits_url":"https://api.github.com/repos/Iamgoofball/Baystation12/commits{/sha}","git_commits_url":"https://api.github.com/repos/Iamgoofball/Baystation12/git/commits{/sha}","comments_url":"https://api.github.com/repos/Iamgoofball/Baystation12/comments{/number}","issue_comment_url":"https://api.github.com/repos/Iamgoofball/Baystation12/issues/comments/{number}","contents_url":"https://api.github.com/repos/Iamgoofball/Baystation12/contents/{+path}","compare_url":"https://api.github.com/repos/Iamgoofball/Baystation12/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Iamgoofball/Baystation12/merges","archive_url":"https://api.github.com/repos/Iamgoofball/Baystation12/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Iamgoofball/Baystation12/downloads","issues_url":"https://api.github.com/repos/Iamgoofball/Baystation12/issues{/number}","pulls_url":"https://api.github.com/repos/Iamgoofball/Baystation12/pulls{/number}","milestones_url":"https://api.github.com/repos/Iamgoofball/Baystation12/milestones{/number}","notifications_url":"https://api.github.com/repos/Iamgoofball/Baystation12/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Iamgoofball/Baystation12/labels{/name}","releases_url":"https://api.github.com/repos/Iamgoofball/Baystation12/releases{/id}","created_at":"2015-01-27T02:15:56Z","updated_at":"2015-01-27T02:16:05Z","pushed_at":"2015-01-28T05:09:24Z","git_url":"git://github.com/Iamgoofball/Baystation12.git","ssh_url":"git@github.com:Iamgoofball/Baystation12.git","clone_url":"https://github.com/Iamgoofball/Baystation12.git","svn_url":"https://github.com/Iamgoofball/Baystation12","homepage":"http://baystation12.net/","size":528939,"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":"3d0ec78be19d95415d69b670a34a57b54eb28992","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}","created_at":"2011-11-05T16:12:41Z","updated_at":"2015-02-04T17:35:59Z","pushed_at":"2015-02-04T17:53:01Z","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":1215007,"stargazers_count":176,"watchers_count":176,"language":"DM","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":671,"mirror_url":null,"open_issues_count":127,"forks":671,"open_issues":127,"watchers":176,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/7956"},"html":{"href":"https://github.com/Baystation12/Baystation12/pull/7956"},"issue":{"href":"https://api.github.com/repos/Baystation12/Baystation12/issues/7956"},"comments":{"href":"https://api.github.com/repos/Baystation12/Baystation12/issues/7956/comments"},"review_comments":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/7956/comments"},"review_comment":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/7956/commits"},"statuses":{"href":"https://api.github.com/repos/Baystation12/Baystation12/statuses/d3c1e134c99c8d2ac567b4db0c69609428683db4"}}}}