{"action":"created","comment":{"url":"https://api.github.com/repos/tgstation/-tg-station/pulls/comments/56754973","id":56754973,"diff_hunk":"@@ -318,4 +320,83 @@\n \t\tadjustOxyLoss(5)\r\n \t\tadjustBruteLoss(1)\r\n \r\n+/*\r\n+Alcohol Poisoning Chart\r\n+Note that all higher effects of alcohol poisoning will inherit effects for smaller amounts (i.e. light poisoning inherts from slight poisoning)\r\n+In addition, severe effects won't always trigger unless the drink is poisonously strong\r\n+All effects don't start immediately, but rather get worse over time; the rate is affected by the imbiber's alcohol tolerance\r\n+\r\n+0: Non-alcoholic\r\n+1-10: Barely classifiable as alcohol - occassional slurring\r\n+11-20: Slight alcohol content - slurring\r\n+21-30: Below average - imbiber begins to look slightly drunk\r\n+31-40: Just below average - no unique effects\r\n+41-50: Average - mild disorientation, imbiber begins to look drunk\r\n+51-60: Just above average - disorientation, vomiting, imbiber begins to look heavily drunk\r\n+61-70: Above average - small chance of blurry vision, imbiber begins to look smashed\r\n+71-80: High alcohol content - blurry vision, imbiber completely shitfaced\r\n+81-90: Extremely high alcohol content - heavy toxin damage, passing out\r\n+91-100: Dangerously toxic - swift death\r\n+*/\r\n+\r\n+/mob/living/carbon/human/proc/handle_alcohol()\r\n+\tif(sleeping)\r\n+\t\tmodify_drunkenness(-1.5) //Sleeping helps you recover from alcohol poisoning\r\n+\telse\r\n+\t\tmodify_drunkenness(-0.2) //Becoming sober takes much longer than becoming drunk\r\n+\r\n+\tif(!drunkenness)\r\n+\t\treturn 0\r\n+\r\n+\tif(drunkenness >= 6)\r\n+\t\tif(prob(25))\r\n+\t\t\tslurring += 2\r\n+\t\tjitteriness = max(jitteriness - 3, 0)\r","path":"code/modules/mob/living/carbon/human/life.dm","position":44,"original_position":44,"commit_id":"703f790d9f244f483590906911d54a3752d730bd","original_commit_id":"c461128a5611137389d81ced1c7e4e1171195e87","user":{"login":"phil235","id":3476142,"avatar_url":"https://avatars.githubusercontent.com/u/3476142?v=3","gravatar_id":"","url":"https://api.github.com/users/phil235","html_url":"https://github.com/phil235","followers_url":"https://api.github.com/users/phil235/followers","following_url":"https://api.github.com/users/phil235/following{/other_user}","gists_url":"https://api.github.com/users/phil235/gists{/gist_id}","starred_url":"https://api.github.com/users/phil235/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phil235/subscriptions","organizations_url":"https://api.github.com/users/phil235/orgs","repos_url":"https://api.github.com/users/phil235/repos","events_url":"https://api.github.com/users/phil235/events{/privacy}","received_events_url":"https://api.github.com/users/phil235/received_events","type":"User","site_admin":false},"body":"So we need to be tipsy to get the jitteriness reduction effect? tbh I don't know whether this is more or less realistic than the old effect :shrug:","created_at":"2016-03-19T20:52:58Z","updated_at":"2016-03-19T20:52:58Z","html_url":"https://github.com/tgstation/-tg-station/pull/16147#discussion_r56754973","pull_request_url":"https://api.github.com/repos/tgstation/-tg-station/pulls/16147","_links":{"self":{"href":"https://api.github.com/repos/tgstation/-tg-station/pulls/comments/56754973"},"html":{"href":"https://github.com/tgstation/-tg-station/pull/16147#discussion_r56754973"},"pull_request":{"href":"https://api.github.com/repos/tgstation/-tg-station/pulls/16147"}}},"pull_request":{"url":"https://api.github.com/repos/tgstation/-tg-station/pulls/16147","id":63158788,"html_url":"https://github.com/tgstation/-tg-station/pull/16147","diff_url":"https://github.com/tgstation/-tg-station/pull/16147.diff","patch_url":"https://github.com/tgstation/-tg-station/pull/16147.patch","issue_url":"https://api.github.com/repos/tgstation/-tg-station/issues/16147","number":16147,"state":"open","locked":false,"title":"Alcohol Refactor (Merge-Ready)","user":{"login":"Xhuis","id":15898043,"avatar_url":"https://avatars.githubusercontent.com/u/15898043?v=3","gravatar_id":"","url":"https://api.github.com/users/Xhuis","html_url":"https://github.com/Xhuis","followers_url":"https://api.github.com/users/Xhuis/followers","following_url":"https://api.github.com/users/Xhuis/following{/other_user}","gists_url":"https://api.github.com/users/Xhuis/gists{/gist_id}","starred_url":"https://api.github.com/users/Xhuis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xhuis/subscriptions","organizations_url":"https://api.github.com/users/Xhuis/orgs","repos_url":"https://api.github.com/users/Xhuis/repos","events_url":"https://api.github.com/users/Xhuis/events{/privacy}","received_events_url":"https://api.github.com/users/Xhuis/received_events","type":"User","site_admin":false},"body":":cl: Xhuis\r\nexperiment: Alcohol has received multiple tweaks.\r\ntweak: Drunkenness will now be displayed on examine as long as the target's face is not hidden, ranging from a slight flush to being a completely drunken wreck. This also helps to measure alcohol poisoning, although the appearance will remain for thirty seconds after the alcohol leaves the imbiber's bloodstream.\r\ntweak: Alcohol poisoning now has different effects. It begins with standard things such as confusion, dizziness, and slurring, but eventually escalates to constant vomiting, blacking out, and toxin damage.\r\ntweak: Drinks now have a wide variety of alcoholism. Grog is barely a drink whatsoever, for instance, but Manly Dorf will completely floor you with too much consumption. Note that drinks based off of whiskey and vodka are the hardest, whereas beer and wine are the softest.\r\ntweak: The speed of alcohol poisoning has been slightly reduced.\r\nrscadd: Some drinks have received unique effects. Experiment!\r\nrscadd: A new base alcohol joins the lineup! Absinthe has been added, and is very strong.\r\nrscadd: Whiskey Sour, made with Whiskey, Lemon Juice, and Sugar, simply expands the existing whiskey-based lineup.\r\nrscadd: Fetching Fizz, made with Nuka-Cola and Iron, will pull all nearby ores in the direction of the imbiber.\r\nrscadd: Hearty Punch, made with Brave Bull, Syndicate Bomb, and Absinthe, will provide extreme healing in critical condition.\r\nrscadd: Bacchus' Blessing, made with four of the most powerful alcohols on the station, is over three times stronger than any other alcohol on the station. Consume in small amounts or risk death.\r\n/:cl:\r\n\r\nOn the backend, boozepwr has been changed to cause more severe effects with a higher number (as it should have been in the first place!) and now has more diverse effects depending on different factors - primarily, the strongness of the drink and how long it's been in the imbiber's bloodstream.\r\n\r\n__To-Do__\r\n- [x] More drinks (from #16134)\r\n- [x] Unique effects for certain drinks\r\n\r\n### And no, I'm not back! I did this because I was bored and needed the practice.","created_at":"2016-03-17T00:50:29Z","updated_at":"2016-03-19T20:52:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a73193efbc3e06298e82cc561ecb3c416a9c3271","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tgstation/-tg-station/pulls/16147/commits","review_comments_url":"https://api.github.com/repos/tgstation/-tg-station/pulls/16147/comments","review_comment_url":"https://api.github.com/repos/tgstation/-tg-station/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tgstation/-tg-station/issues/16147/comments","statuses_url":"https://api.github.com/repos/tgstation/-tg-station/statuses/703f790d9f244f483590906911d54a3752d730bd","head":{"label":"Xhuis:bacchus_approves","ref":"bacchus_approves","sha":"703f790d9f244f483590906911d54a3752d730bd","user":{"login":"Xhuis","id":15898043,"avatar_url":"https://avatars.githubusercontent.com/u/15898043?v=3","gravatar_id":"","url":"https://api.github.com/users/Xhuis","html_url":"https://github.com/Xhuis","followers_url":"https://api.github.com/users/Xhuis/followers","following_url":"https://api.github.com/users/Xhuis/following{/other_user}","gists_url":"https://api.github.com/users/Xhuis/gists{/gist_id}","starred_url":"https://api.github.com/users/Xhuis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xhuis/subscriptions","organizations_url":"https://api.github.com/users/Xhuis/orgs","repos_url":"https://api.github.com/users/Xhuis/repos","events_url":"https://api.github.com/users/Xhuis/events{/privacy}","received_events_url":"https://api.github.com/users/Xhuis/received_events","type":"User","site_admin":false},"repo":{"id":46378360,"name":"-tg-station","full_name":"Xhuis/-tg-station","owner":{"login":"Xhuis","id":15898043,"avatar_url":"https://avatars.githubusercontent.com/u/15898043?v=3","gravatar_id":"","url":"https://api.github.com/users/Xhuis","html_url":"https://github.com/Xhuis","followers_url":"https://api.github.com/users/Xhuis/followers","following_url":"https://api.github.com/users/Xhuis/following{/other_user}","gists_url":"https://api.github.com/users/Xhuis/gists{/gist_id}","starred_url":"https://api.github.com/users/Xhuis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xhuis/subscriptions","organizations_url":"https://api.github.com/users/Xhuis/orgs","repos_url":"https://api.github.com/users/Xhuis/repos","events_url":"https://api.github.com/users/Xhuis/events{/privacy}","received_events_url":"https://api.github.com/users/Xhuis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Xhuis/-tg-station","description":"the /tg/station branch of SS13","fork":true,"url":"https://api.github.com/repos/Xhuis/-tg-station","forks_url":"https://api.github.com/repos/Xhuis/-tg-station/forks","keys_url":"https://api.github.com/repos/Xhuis/-tg-station/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Xhuis/-tg-station/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Xhuis/-tg-station/teams","hooks_url":"https://api.github.com/repos/Xhuis/-tg-station/hooks","issue_events_url":"https://api.github.com/repos/Xhuis/-tg-station/issues/events{/number}","events_url":"https://api.github.com/repos/Xhuis/-tg-station/events","assignees_url":"https://api.github.com/repos/Xhuis/-tg-station/assignees{/user}","branches_url":"https://api.github.com/repos/Xhuis/-tg-station/branches{/branch}","tags_url":"https://api.github.com/repos/Xhuis/-tg-station/tags","blobs_url":"https://api.github.com/repos/Xhuis/-tg-station/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Xhuis/-tg-station/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Xhuis/-tg-station/git/refs{/sha}","trees_url":"https://api.github.com/repos/Xhuis/-tg-station/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Xhuis/-tg-station/statuses/{sha}","languages_url":"https://api.github.com/repos/Xhuis/-tg-station/languages","stargazers_url":"https://api.github.com/repos/Xhuis/-tg-station/stargazers","contributors_url":"https://api.github.com/repos/Xhuis/-tg-station/contributors","subscribers_url":"https://api.github.com/repos/Xhuis/-tg-station/subscribers","subscription_url":"https://api.github.com/repos/Xhuis/-tg-station/subscription","commits_url":"https://api.github.com/repos/Xhuis/-tg-station/commits{/sha}","git_commits_url":"https://api.github.com/repos/Xhuis/-tg-station/git/commits{/sha}","comments_url":"https://api.github.com/repos/Xhuis/-tg-station/comments{/number}","issue_comment_url":"https://api.github.com/repos/Xhuis/-tg-station/issues/comments{/number}","contents_url":"https://api.github.com/repos/Xhuis/-tg-station/contents/{+path}","compare_url":"https://api.github.com/repos/Xhuis/-tg-station/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Xhuis/-tg-station/merges","archive_url":"https://api.github.com/repos/Xhuis/-tg-station/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Xhuis/-tg-station/downloads","issues_url":"https://api.github.com/repos/Xhuis/-tg-station/issues{/number}","pulls_url":"https://api.github.com/repos/Xhuis/-tg-station/pulls{/number}","milestones_url":"https://api.github.com/repos/Xhuis/-tg-station/milestones{/number}","notifications_url":"https://api.github.com/repos/Xhuis/-tg-station/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Xhuis/-tg-station/labels{/name}","releases_url":"https://api.github.com/repos/Xhuis/-tg-station/releases{/id}","deployments_url":"https://api.github.com/repos/Xhuis/-tg-station/deployments","created_at":"2015-11-17T22:04:37Z","updated_at":"2016-03-10T22:19:11Z","pushed_at":"2016-03-19T20:15:33Z","git_url":"git://github.com/Xhuis/-tg-station.git","ssh_url":"git@github.com:Xhuis/-tg-station.git","clone_url":"https://github.com/Xhuis/-tg-station.git","svn_url":"https://github.com/Xhuis/-tg-station","homepage":"http://www.tgstation13.org/","size":590085,"stargazers_count":0,"watchers_count":0,"language":"DM","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":"tgstation:master","ref":"master","sha":"399ddb50f916ec8d09caf29a657fe221176606a8","user":{"login":"tgstation","id":1363778,"avatar_url":"https://avatars.githubusercontent.com/u/1363778?v=3","gravatar_id":"","url":"https://api.github.com/users/tgstation","html_url":"https://github.com/tgstation","followers_url":"https://api.github.com/users/tgstation/followers","following_url":"https://api.github.com/users/tgstation/following{/other_user}","gists_url":"https://api.github.com/users/tgstation/gists{/gist_id}","starred_url":"https://api.github.com/users/tgstation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgstation/subscriptions","organizations_url":"https://api.github.com/users/tgstation/orgs","repos_url":"https://api.github.com/users/tgstation/repos","events_url":"https://api.github.com/users/tgstation/events{/privacy}","received_events_url":"https://api.github.com/users/tgstation/received_events","type":"Organization","site_admin":false},"repo":{"id":3234987,"name":"-tg-station","full_name":"tgstation/-tg-station","owner":{"login":"tgstation","id":1363778,"avatar_url":"https://avatars.githubusercontent.com/u/1363778?v=3","gravatar_id":"","url":"https://api.github.com/users/tgstation","html_url":"https://github.com/tgstation","followers_url":"https://api.github.com/users/tgstation/followers","following_url":"https://api.github.com/users/tgstation/following{/other_user}","gists_url":"https://api.github.com/users/tgstation/gists{/gist_id}","starred_url":"https://api.github.com/users/tgstation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgstation/subscriptions","organizations_url":"https://api.github.com/users/tgstation/orgs","repos_url":"https://api.github.com/users/tgstation/repos","events_url":"https://api.github.com/users/tgstation/events{/privacy}","received_events_url":"https://api.github.com/users/tgstation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tgstation/-tg-station","description":"the /tg/station branch of SS13","fork":false,"url":"https://api.github.com/repos/tgstation/-tg-station","forks_url":"https://api.github.com/repos/tgstation/-tg-station/forks","keys_url":"https://api.github.com/repos/tgstation/-tg-station/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tgstation/-tg-station/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tgstation/-tg-station/teams","hooks_url":"https://api.github.com/repos/tgstation/-tg-station/hooks","issue_events_url":"https://api.github.com/repos/tgstation/-tg-station/issues/events{/number}","events_url":"https://api.github.com/repos/tgstation/-tg-station/events","assignees_url":"https://api.github.com/repos/tgstation/-tg-station/assignees{/user}","branches_url":"https://api.github.com/repos/tgstation/-tg-station/branches{/branch}","tags_url":"https://api.github.com/repos/tgstation/-tg-station/tags","blobs_url":"https://api.github.com/repos/tgstation/-tg-station/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tgstation/-tg-station/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tgstation/-tg-station/git/refs{/sha}","trees_url":"https://api.github.com/repos/tgstation/-tg-station/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tgstation/-tg-station/statuses/{sha}","languages_url":"https://api.github.com/repos/tgstation/-tg-station/languages","stargazers_url":"https://api.github.com/repos/tgstation/-tg-station/stargazers","contributors_url":"https://api.github.com/repos/tgstation/-tg-station/contributors","subscribers_url":"https://api.github.com/repos/tgstation/-tg-station/subscribers","subscription_url":"https://api.github.com/repos/tgstation/-tg-station/subscription","commits_url":"https://api.github.com/repos/tgstation/-tg-station/commits{/sha}","git_commits_url":"https://api.github.com/repos/tgstation/-tg-station/git/commits{/sha}","comments_url":"https://api.github.com/repos/tgstation/-tg-station/comments{/number}","issue_comment_url":"https://api.github.com/repos/tgstation/-tg-station/issues/comments{/number}","contents_url":"https://api.github.com/repos/tgstation/-tg-station/contents/{+path}","compare_url":"https://api.github.com/repos/tgstation/-tg-station/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tgstation/-tg-station/merges","archive_url":"https://api.github.com/repos/tgstation/-tg-station/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tgstation/-tg-station/downloads","issues_url":"https://api.github.com/repos/tgstation/-tg-station/issues{/number}","pulls_url":"https://api.github.com/repos/tgstation/-tg-station/pulls{/number}","milestones_url":"https://api.github.com/repos/tgstation/-tg-station/milestones{/number}","notifications_url":"https://api.github.com/repos/tgstation/-tg-station/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tgstation/-tg-station/labels{/name}","releases_url":"https://api.github.com/repos/tgstation/-tg-station/releases{/id}","deployments_url":"https://api.github.com/repos/tgstation/-tg-station/deployments","created_at":"2012-01-21T17:32:47Z","updated_at":"2016-03-19T04:18:18Z","pushed_at":"2016-03-19T20:36:26Z","git_url":"git://github.com/tgstation/-tg-station.git","ssh_url":"git@github.com:tgstation/-tg-station.git","clone_url":"https://github.com/tgstation/-tg-station.git","svn_url":"https://github.com/tgstation/-tg-station","homepage":"http://www.tgstation13.org/","size":786249,"stargazers_count":282,"watchers_count":282,"language":"DM","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":986,"mirror_url":null,"open_issues_count":854,"forks":986,"open_issues":854,"watchers":282,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tgstation/-tg-station/pulls/16147"},"html":{"href":"https://github.com/tgstation/-tg-station/pull/16147"},"issue":{"href":"https://api.github.com/repos/tgstation/-tg-station/issues/16147"},"comments":{"href":"https://api.github.com/repos/tgstation/-tg-station/issues/16147/comments"},"review_comments":{"href":"https://api.github.com/repos/tgstation/-tg-station/pulls/16147/comments"},"review_comment":{"href":"https://api.github.com/repos/tgstation/-tg-station/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tgstation/-tg-station/pulls/16147/commits"},"statuses":{"href":"https://api.github.com/repos/tgstation/-tg-station/statuses/703f790d9f244f483590906911d54a3752d730bd"}}}}