{"action":"created","comment":{"url":"https://api.github.com/repos/tgstation/tgstation/pulls/comments/99272876","pull_request_review_id":19944680,"id":99272876,"diff_hunk":"@@ -0,0 +1,115 @@\n+/*\n+April 3rd, 2014 marks the day this machine changed the face of the kitchen on NTStation13\n+God bless America.\n+insert ascii eagle on american flag background here\n+*/\n+\n+// April 3rd, 2014 marks the day this machine changed the face of the kitchen on NTStation13\n+// God bless America.\n+/obj/machinery/deepfryer\n+\tname = \"deep fryer\"\n+\tdesc = \"Deep fried <i>everything</i>.\"\n+\ticon = 'icons/obj/kitchen.dmi'\n+\ticon_state = \"fryer_off\"\n+\tdensity = 1\n+\tanchored = 1\n+\tuse_power = 1\n+\tidle_power_usage = 5\n+\tcontainer_type = OPENCONTAINER\n+\tvar/obj/item/frying = null\t//What's being fried RIGHT NOW?\n+\tvar/cook_time = 0\n+\n+/obj/item/weapon/circuitboard/machine/deep_fryer\n+\tname = \"circuit board (Deep Fryer)\"\n+\tbuild_path = /obj/machinery/deepfryer\n+\torigin_tech = \"programming=1\"\n+\treq_components = list(/obj/item/weapon/stock_parts/micro_laser = 1)\n+\n+/obj/machinery/deepfryer/New()\n+\t..()\n+\tcreate_reagents(50)\n+\treagents.add_reagent(\"nutriment\", 25)\n+\tcomponent_parts = list()\n+\tcomponent_parts += new /obj/item/weapon/circuitboard/machine/deep_fryer(null)\n+\tcomponent_parts += new /obj/item/weapon/stock_parts/micro_laser(null)\n+\tRefreshParts()\n+\n+/obj/machinery/deepfryer/examine()\n+\t..()\n+\tif(frying)\n+\t\tusr << \"You can make out [frying] in the oil.\"\n+\n+/obj/machinery/deepfryer/attackby(obj/item/I, mob/user)\n+\tif(istype(I, /obj/item/weapon/reagent_containers/food/snacks/deepfryholder))\n+\t\tuser << \"<span class='userdanger'>Your cooking skills are not up to the legendary Doublefry technique.</span>\"\n+\t\treturn\n+\telse\n+\t\tif(user.drop_item() && !frying)\n+\t\t\tuser << \"<span class='notice'>You put [I] into [src].</span>\"\n+\t\t\tfrying = I\n+\t\t\tfrying.loc = src\n+\t\t\ticon_state = \"fryer_on\"\n+\n+/obj/machinery/deepfryer/process()\n+\t..()\n+\tif (!reagents.has_reagent(\"nutriment\"))\n+\t\treagents.add_reagent(\"nutriment\", 25)\n+\tif(frying)\n+\t\tcook_time++\n+\t\tif(cook_time == 30)\n+\t\t\tplaysound(src.loc, \"sound/machines/ding.ogg\", 50, 1)\n+\t\t\tvisible_message(\"[src] dings!\")\n+\t\telse if (cook_time == 60)\n+\t\t\tvisible_message(\"[src] emits an acrid smell!\")\n+\n+\n+/obj/machinery/deepfryer/attack_hand(mob/user)\n+\tif(frying)\n+\t\tif(frying.loc == src)\n+\t\t\tuser << \"<span class='notice'>You eject [frying] from [src].</span>\"\n+\t\t\tvar/obj/item/weapon/reagent_containers/food/snacks/deepfryholder/S = new(get_turf(src))\n+\t\t\tif(istype(frying, /obj/item/weapon/reagent_containers/))\n+\t\t\t\tvar/obj/item/weapon/reagent_containers/food = frying\n+\t\t\t\tfood.reagents.trans_to(S, food.reagents.total_volume)\n+\t\t\tS.icon = frying.icon\n+\t\t\tS.overlays = frying.overlays\n+\t\t\tS.icon_state = frying.icon_state\n+\t\t\tS.desc = frying.desc\n+\t\t\tsrc.reagents.trans_to(S, 2*cook_time)\n+\t\t\tswitch(cook_time)\n+\t\t\t\tif(0 to 15)\n+\t\t\t\t\tS.color = rgb(166,103,54)\n+\t\t\t\t\tS.name = \"lightly-fried [frying.name]\"\n+\t\t\t\tif(16 to 49)\n+\t\t\t\t\tS.color = rgb(103,63,24)\n+\t\t\t\t\tS.name = \"fried [frying.name]\"\n+\t\t\t\tif(50 to 59)\n+\t\t\t\t\tS.color = rgb(63, 23, 4)\n+\t\t\t\t\tS.name = \"deep-fried [frying.name]\"\n+\t\t\t\tif(60 to INFINITY)\n+\t\t\t\t\tS.color = rgb(33,19,9)\n+\t\t\t\t\tS.name = \"the physical manifestation of the very concept of fried foods\"\n+\t\t\t\t\tS.desc = \"A heavily fried...something.  Who can tell anymore?\"\n+\t\t\tS.filling_color = S.color\n+\t\t\tif(istype(frying, /obj/item/weapon/reagent_containers/food/snacks/))\n+\t\t\t\tqdel(frying)\n+\t\t\telse\n+\t\t\t\tfrying.loc = S","path":"code/modules/food_and_drinks/kitchen_machinery/deep_fryer.dm","position":97,"original_position":97,"commit_id":"ba77abcaff33d1c4443705f2391a007e03a465a5","original_commit_id":"ba77abcaff33d1c4443705f2391a007e03a465a5","user":{"login":"Fox-McCloud","id":5785200,"avatar_url":"https://avatars.githubusercontent.com/u/5785200?v=3","gravatar_id":"","url":"https://api.github.com/users/Fox-McCloud","html_url":"https://github.com/Fox-McCloud","followers_url":"https://api.github.com/users/Fox-McCloud/followers","following_url":"https://api.github.com/users/Fox-McCloud/following{/other_user}","gists_url":"https://api.github.com/users/Fox-McCloud/gists{/gist_id}","starred_url":"https://api.github.com/users/Fox-McCloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fox-McCloud/subscriptions","organizations_url":"https://api.github.com/users/Fox-McCloud/orgs","repos_url":"https://api.github.com/users/Fox-McCloud/repos","events_url":"https://api.github.com/users/Fox-McCloud/events{/privacy}","received_events_url":"https://api.github.com/users/Fox-McCloud/received_events","type":"User","site_admin":false},"body":"`frying.forceMove(S)`\r\n\r\nAlso, why does it put the object being deepfried in the deepfried holder? It's never going to get interacted with; seems that it would be better to deleted.\r\n\r\nThe only reason I can think that this is a thing is if you could somehow deepfry mobs; then they could yell and scream while being unable to do anything about it.","created_at":"2017-02-03T03:52:59Z","updated_at":"2017-02-03T03:58:05Z","html_url":"https://github.com/tgstation/tgstation/pull/23618#discussion_r99272876","pull_request_url":"https://api.github.com/repos/tgstation/tgstation/pulls/23618","_links":{"self":{"href":"https://api.github.com/repos/tgstation/tgstation/pulls/comments/99272876"},"html":{"href":"https://github.com/tgstation/tgstation/pull/23618#discussion_r99272876"},"pull_request":{"href":"https://api.github.com/repos/tgstation/tgstation/pulls/23618"}}},"pull_request":{"url":"https://api.github.com/repos/tgstation/tgstation/pulls/23618","id":104264516,"html_url":"https://github.com/tgstation/tgstation/pull/23618","diff_url":"https://github.com/tgstation/tgstation/pull/23618.diff","patch_url":"https://github.com/tgstation/tgstation/pull/23618.patch","issue_url":"https://api.github.com/repos/tgstation/tgstation/issues/23618","number":23618,"state":"open","locked":false,"title":"Deepfrying : MAKE SPACE STATION 13 GREAT AGAIN","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":"# dict. trim occured on meta\r\n![dreamseeker_2017-02-01_18-23-39](https://cloud.githubusercontent.com/assets/4081722/22534842/dceb0b3c-e8ab-11e6-9c60-565bc79fd406.png)\r\n# Q&A\r\n\r\n","created_at":"2017-02-02T02:27:24Z","updated_at":"2017-02-03T03:58:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"572ee03761a957860fc4dcae93021c5e7333ffac","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/tgstation/tgstation/pulls/23618/commits","review_comments_url":"https://api.github.com/repos/tgstation/tgstation/pulls/23618/comments","review_comment_url":"https://api.github.com/repos/tgstation/tgstation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tgstation/tgstation/issues/23618/comments","statuses_url":"https://api.github.com/repos/tgstation/tgstation/statuses/ba77abcaff33d1c4443705f2391a007e03a465a5","head":{"label":"Iamgoofball:dab","ref":"dab","sha":"ba77abcaff33d1c4443705f2391a007e03a465a5","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":53018346,"name":"-tg-station","full_name":"Iamgoofball/-tg-station","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/-tg-station","description":"the /tg/station branch of SS13","fork":true,"url":"https://api.github.com/repos/Iamgoofball/-tg-station","forks_url":"https://api.github.com/repos/Iamgoofball/-tg-station/forks","keys_url":"https://api.github.com/repos/Iamgoofball/-tg-station/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Iamgoofball/-tg-station/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Iamgoofball/-tg-station/teams","hooks_url":"https://api.github.com/repos/Iamgoofball/-tg-station/hooks","issue_events_url":"https://api.github.com/repos/Iamgoofball/-tg-station/issues/events{/number}","events_url":"https://api.github.com/repos/Iamgoofball/-tg-station/events","assignees_url":"https://api.github.com/repos/Iamgoofball/-tg-station/assignees{/user}","branches_url":"https://api.github.com/repos/Iamgoofball/-tg-station/branches{/branch}","tags_url":"https://api.github.com/repos/Iamgoofball/-tg-station/tags","blobs_url":"https://api.github.com/repos/Iamgoofball/-tg-station/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Iamgoofball/-tg-station/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Iamgoofball/-tg-station/git/refs{/sha}","trees_url":"https://api.github.com/repos/Iamgoofball/-tg-station/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Iamgoofball/-tg-station/statuses/{sha}","languages_url":"https://api.github.com/repos/Iamgoofball/-tg-station/languages","stargazers_url":"https://api.github.com/repos/Iamgoofball/-tg-station/stargazers","contributors_url":"https://api.github.com/repos/Iamgoofball/-tg-station/contributors","subscribers_url":"https://api.github.com/repos/Iamgoofball/-tg-station/subscribers","subscription_url":"https://api.github.com/repos/Iamgoofball/-tg-station/subscription","commits_url":"https://api.github.com/repos/Iamgoofball/-tg-station/commits{/sha}","git_commits_url":"https://api.github.com/repos/Iamgoofball/-tg-station/git/commits{/sha}","comments_url":"https://api.github.com/repos/Iamgoofball/-tg-station/comments{/number}","issue_comment_url":"https://api.github.com/repos/Iamgoofball/-tg-station/issues/comments{/number}","contents_url":"https://api.github.com/repos/Iamgoofball/-tg-station/contents/{+path}","compare_url":"https://api.github.com/repos/Iamgoofball/-tg-station/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Iamgoofball/-tg-station/merges","archive_url":"https://api.github.com/repos/Iamgoofball/-tg-station/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Iamgoofball/-tg-station/downloads","issues_url":"https://api.github.com/repos/Iamgoofball/-tg-station/issues{/number}","pulls_url":"https://api.github.com/repos/Iamgoofball/-tg-station/pulls{/number}","milestones_url":"https://api.github.com/repos/Iamgoofball/-tg-station/milestones{/number}","notifications_url":"https://api.github.com/repos/Iamgoofball/-tg-station/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Iamgoofball/-tg-station/labels{/name}","releases_url":"https://api.github.com/repos/Iamgoofball/-tg-station/releases{/id}","deployments_url":"https://api.github.com/repos/Iamgoofball/-tg-station/deployments","created_at":"2016-03-03T03:43:22Z","updated_at":"2016-07-25T03:37:10Z","pushed_at":"2017-02-02T22:50:05Z","git_url":"git://github.com/Iamgoofball/-tg-station.git","ssh_url":"git@github.com:Iamgoofball/-tg-station.git","clone_url":"https://github.com/Iamgoofball/-tg-station.git","svn_url":"https://github.com/Iamgoofball/-tg-station","homepage":"http://www.tgstation13.org/","size":1380180,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"base":{"label":"tgstation:master","ref":"master","sha":"15419d92e587810450cd3cea1b2c493fa9bd79e1","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":"tgstation","full_name":"tgstation/tgstation","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/tgstation","description":"the /tg/station branch of SS13","fork":false,"url":"https://api.github.com/repos/tgstation/tgstation","forks_url":"https://api.github.com/repos/tgstation/tgstation/forks","keys_url":"https://api.github.com/repos/tgstation/tgstation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tgstation/tgstation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tgstation/tgstation/teams","hooks_url":"https://api.github.com/repos/tgstation/tgstation/hooks","issue_events_url":"https://api.github.com/repos/tgstation/tgstation/issues/events{/number}","events_url":"https://api.github.com/repos/tgstation/tgstation/events","assignees_url":"https://api.github.com/repos/tgstation/tgstation/assignees{/user}","branches_url":"https://api.github.com/repos/tgstation/tgstation/branches{/branch}","tags_url":"https://api.github.com/repos/tgstation/tgstation/tags","blobs_url":"https://api.github.com/repos/tgstation/tgstation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tgstation/tgstation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tgstation/tgstation/git/refs{/sha}","trees_url":"https://api.github.com/repos/tgstation/tgstation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tgstation/tgstation/statuses/{sha}","languages_url":"https://api.github.com/repos/tgstation/tgstation/languages","stargazers_url":"https://api.github.com/repos/tgstation/tgstation/stargazers","contributors_url":"https://api.github.com/repos/tgstation/tgstation/contributors","subscribers_url":"https://api.github.com/repos/tgstation/tgstation/subscribers","subscription_url":"https://api.github.com/repos/tgstation/tgstation/subscription","commits_url":"https://api.github.com/repos/tgstation/tgstation/commits{/sha}","git_commits_url":"https://api.github.com/repos/tgstation/tgstation/git/commits{/sha}","comments_url":"https://api.github.com/repos/tgstation/tgstation/comments{/number}","issue_comment_url":"https://api.github.com/repos/tgstation/tgstation/issues/comments{/number}","contents_url":"https://api.github.com/repos/tgstation/tgstation/contents/{+path}","compare_url":"https://api.github.com/repos/tgstation/tgstation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tgstation/tgstation/merges","archive_url":"https://api.github.com/repos/tgstation/tgstation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tgstation/tgstation/downloads","issues_url":"https://api.github.com/repos/tgstation/tgstation/issues{/number}","pulls_url":"https://api.github.com/repos/tgstation/tgstation/pulls{/number}","milestones_url":"https://api.github.com/repos/tgstation/tgstation/milestones{/number}","notifications_url":"https://api.github.com/repos/tgstation/tgstation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tgstation/tgstation/labels{/name}","releases_url":"https://api.github.com/repos/tgstation/tgstation/releases{/id}","deployments_url":"https://api.github.com/repos/tgstation/tgstation/deployments","created_at":"2012-01-21T17:32:47Z","updated_at":"2017-02-02T13:58:05Z","pushed_at":"2017-02-03T03:54:39Z","git_url":"git://github.com/tgstation/tgstation.git","ssh_url":"git@github.com:tgstation/tgstation.git","clone_url":"https://github.com/tgstation/tgstation.git","svn_url":"https://github.com/tgstation/tgstation","homepage":"http://www.tgstation13.org/","size":752849,"stargazers_count":350,"watchers_count":350,"language":"DM","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1265,"mirror_url":null,"open_issues_count":690,"forks":1265,"open_issues":690,"watchers":350,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tgstation/tgstation/pulls/23618"},"html":{"href":"https://github.com/tgstation/tgstation/pull/23618"},"issue":{"href":"https://api.github.com/repos/tgstation/tgstation/issues/23618"},"comments":{"href":"https://api.github.com/repos/tgstation/tgstation/issues/23618/comments"},"review_comments":{"href":"https://api.github.com/repos/tgstation/tgstation/pulls/23618/comments"},"review_comment":{"href":"https://api.github.com/repos/tgstation/tgstation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tgstation/tgstation/pulls/23618/commits"},"statuses":{"href":"https://api.github.com/repos/tgstation/tgstation/statuses/ba77abcaff33d1c4443705f2391a007e03a465a5"}}}}
{"actor":{"display_login":"Fox-McCloud"}}