{"action":"created","comment":{"url":"https://api.github.com/repos/Aurorastation/Aurora.3/pulls/comments/151880815","pull_request_review_id":77658027,"id":151880815,"diff_hunk":"@@ -0,0 +1,154 @@\n+/obj/item/alien_embryo\n+\tname = \"alien embryo\"\n+\tdesc = \"All slimy and yuck.\"\n+\ticon = 'icons/mob/alien.dmi'\n+\ticon_state = \"larva0_dead\"\n+\tvar/mob/living/affected_mob\n+\tvar/stage = 0\n+\tvar/infected = FALSE\n+\n+/obj/item/alien_embryo/New()\n+\tif(istype(loc, /mob/living))\n+\t\taffected_mob = loc\n+\t\tSTART_PROCESSING(SSprocessing, src)\n+\t\tAddInfectionImages(affected_mob)\n+\telse\n+\t\tqdel(src)\n+\n+/obj/item/alien_embryo/Destroy()\n+\tif(affected_mob)\n+\t\taffected_mob.status_flags &= ~(XENO_HOST)\n+\t\tRemoveInfectionImages(affected_mob)\n+\t..()\n+\n+/obj/item/alien_embryo/process()\n+\tif(!affected_mob)\treturn\n+\tif(loc != affected_mob)\n+\t\taffected_mob.status_flags &= ~(XENO_HOST)\n+\t\tSTOP_PROCESSING(SSprocessing, src)\n+\t\tRemoveInfectionImages(affected_mob)\n+\t\taffected_mob = null\n+\t\treturn\n+\n+\tif(stage < 5 && prob(3))\n+\t\tstage++\n+\t\tspawn(0)\n+\t\t\tRefreshInfectionImage(affected_mob)\n+\n+\tswitch(stage)\n+\t\tif(2, 3)\n+\t\t\tif(prob(1))\n+\t\t\t\taffected_mob.emote(\"sneeze\")\n+\t\t\tif(prob(1))\n+\t\t\t\taffected_mob.emote(\"cough\")\n+\t\t\tif(prob(1))\n+\t\t\t\taffected_mob  << \"<span class='danger'>Your throat feels sore.</span>\"\n+\t\t\tif(prob(1))\n+\t\t\t\taffected_mob  << \"<span class='danger'>Mucous runs down the back of your throat.</span>\"\n+\t\tif(4)\n+\t\t\tif(prob(1))\n+\t\t\t\taffected_mob.emote(\"sneeze\")\n+\t\t\tif(prob(1))\n+\t\t\t\taffected_mob.emote(\"cough\")\n+\t\t\tif(prob(2))\n+\t\t\t\taffected_mob  << \"<span class='danger'>Your muscles ache.</span>\"\n+\t\t\t\tif(prob(20))\n+\t\t\t\t\taffected_mob.take_organ_damage(1)\n+\t\t\tif(prob(2))\n+\t\t\t\taffected_mob  << \"<span class='danger'>Your stomach hurts.</span>\"\n+\t\t\t\tif(prob(20))\n+\t\t\t\t\taffected_mob.adjustToxLoss(1)\n+\t\t\t\t\taffected_mob.updatehealth()\n+\t\tif(5)\n+\t\t\taffected_mob  << \"<span class='danger'>You feel something tearing its way out of your stomach!</span>\"\n+\t\t\taffected_mob.adjustToxLoss(10)\n+\t\t\taffected_mob.updatehealth()\n+\t\t\tif(prob(50))\n+\t\t\t\tAttemptGrow()\n+\n+/obj/item/alien_embryo/proc/AttemptGrow(var/gib_on_success = 1)\n+\tvar/list/candidates = get_alien_candidates()\n+\tvar/picked = null\n+\n+\t// To stop clientless larva, we will check that our host has a client\n+\t// if we find no ghosts to become the alien. If the host has a client\n+\t// he will become the alien but if he doesn't then we will set the stage\n+\t// to 2, so we don't do a process heavy check everytime.\n+\n+\tif(candidates.len)\n+\t\tpicked = pick(candidates)\n+\telse if(affected_mob.client)\n+\t\tpicked = affected_mob.key\n+\telse\n+\t\tstage = 4 // Let's try again later.\n+\t\treturn\n+\n+\tif(affected_mob.lying)\n+\t\taffected_mob.overlays += image('icons/mob/alien.dmi', loc = affected_mob, icon_state = \"burst_lie\")\n+\telse\n+\t\taffected_mob.overlays += image('icons/mob/alien.dmi', loc = affected_mob, icon_state = \"burst_stand\")\n+\tspawn(6)","path":"code/modules/mob/living/carbon/human/species/xenomorphs/alien_embryo.dm","position":90,"original_position":90,"commit_id":"47bef2143bda7cf140c13b38e9c65eb4c5f45086","original_commit_id":"47bef2143bda7cf140c13b38e9c65eb4c5f45086","user":{"login":"Lohikar","id":7097800,"avatar_url":"https://avatars1.githubusercontent.com/u/7097800?v=4","gravatar_id":"","url":"https://api.github.com/users/Lohikar","html_url":"https://github.com/Lohikar","followers_url":"https://api.github.com/users/Lohikar/followers","following_url":"https://api.github.com/users/Lohikar/following{/other_user}","gists_url":"https://api.github.com/users/Lohikar/gists{/gist_id}","starred_url":"https://api.github.com/users/Lohikar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lohikar/subscriptions","organizations_url":"https://api.github.com/users/Lohikar/orgs","repos_url":"https://api.github.com/users/Lohikar/repos","events_url":"https://api.github.com/users/Lohikar/events{/privacy}","received_events_url":"https://api.github.com/users/Lohikar/received_events","type":"User","site_admin":false},"body":"_hiss_","created_at":"2017-11-19T22:38:14Z","updated_at":"2017-11-19T22:40:26Z","html_url":"https://github.com/Aurorastation/Aurora.3/pull/3883#discussion_r151880815","pull_request_url":"https://api.github.com/repos/Aurorastation/Aurora.3/pulls/3883","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/Aurorastation/Aurora.3/pulls/comments/151880815"},"html":{"href":"https://github.com/Aurorastation/Aurora.3/pull/3883#discussion_r151880815"},"pull_request":{"href":"https://api.github.com/repos/Aurorastation/Aurora.3/pulls/3883"}}},"pull_request":{"url":"https://api.github.com/repos/Aurorastation/Aurora.3/pulls/3883","id":153519649,"html_url":"https://github.com/Aurorastation/Aurora.3/pull/3883","diff_url":"https://github.com/Aurorastation/Aurora.3/pull/3883.diff","patch_url":"https://github.com/Aurorastation/Aurora.3/pull/3883.patch","issue_url":"https://api.github.com/repos/Aurorastation/Aurora.3/issues/3883","number":3883,"state":"open","locked":false,"title":"Return of the facehuggers","user":{"login":"Alberyk","id":11579997,"avatar_url":"https://avatars2.githubusercontent.com/u/11579997?v=4","gravatar_id":"","url":"https://api.github.com/users/Alberyk","html_url":"https://github.com/Alberyk","followers_url":"https://api.github.com/users/Alberyk/followers","following_url":"https://api.github.com/users/Alberyk/following{/other_user}","gists_url":"https://api.github.com/users/Alberyk/gists{/gist_id}","starred_url":"https://api.github.com/users/Alberyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alberyk/subscriptions","organizations_url":"https://api.github.com/users/Alberyk/orgs","repos_url":"https://api.github.com/users/Alberyk/repos","events_url":"https://api.github.com/users/Alberyk/events{/privacy}","received_events_url":"https://api.github.com/users/Alberyk/received_events","type":"User","site_admin":false},"body":"This pr re-adds facehuggers, taken away by the cold hands of the baymerge, and all the alien infection jazz, besides fixing some issues with it.","created_at":"2017-11-19T22:35:43Z","updated_at":"2017-11-19T22:40:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0c4315c436a712c1b50a3169b5f9c83db8bef17d","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/Aurorastation/Aurora.3/pulls/3883/commits","review_comments_url":"https://api.github.com/repos/Aurorastation/Aurora.3/pulls/3883/comments","review_comment_url":"https://api.github.com/repos/Aurorastation/Aurora.3/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Aurorastation/Aurora.3/issues/3883/comments","statuses_url":"https://api.github.com/repos/Aurorastation/Aurora.3/statuses/47bef2143bda7cf140c13b38e9c65eb4c5f45086","head":{"label":"Alberyk:XX121","ref":"XX121","sha":"47bef2143bda7cf140c13b38e9c65eb4c5f45086","user":{"login":"Alberyk","id":11579997,"avatar_url":"https://avatars2.githubusercontent.com/u/11579997?v=4","gravatar_id":"","url":"https://api.github.com/users/Alberyk","html_url":"https://github.com/Alberyk","followers_url":"https://api.github.com/users/Alberyk/followers","following_url":"https://api.github.com/users/Alberyk/following{/other_user}","gists_url":"https://api.github.com/users/Alberyk/gists{/gist_id}","starred_url":"https://api.github.com/users/Alberyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alberyk/subscriptions","organizations_url":"https://api.github.com/users/Alberyk/orgs","repos_url":"https://api.github.com/users/Alberyk/repos","events_url":"https://api.github.com/users/Alberyk/events{/privacy}","received_events_url":"https://api.github.com/users/Alberyk/received_events","type":"User","site_admin":false},"repo":{"id":98129467,"name":"Aurora.3","full_name":"Alberyk/Aurora.3","owner":{"login":"Alberyk","id":11579997,"avatar_url":"https://avatars2.githubusercontent.com/u/11579997?v=4","gravatar_id":"","url":"https://api.github.com/users/Alberyk","html_url":"https://github.com/Alberyk","followers_url":"https://api.github.com/users/Alberyk/followers","following_url":"https://api.github.com/users/Alberyk/following{/other_user}","gists_url":"https://api.github.com/users/Alberyk/gists{/gist_id}","starred_url":"https://api.github.com/users/Alberyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alberyk/subscriptions","organizations_url":"https://api.github.com/users/Alberyk/orgs","repos_url":"https://api.github.com/users/Alberyk/repos","events_url":"https://api.github.com/users/Alberyk/events{/privacy}","received_events_url":"https://api.github.com/users/Alberyk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Alberyk/Aurora.3","description":"The code for Aurorastation's new base, forked from Baystation12.","fork":true,"url":"https://api.github.com/repos/Alberyk/Aurora.3","forks_url":"https://api.github.com/repos/Alberyk/Aurora.3/forks","keys_url":"https://api.github.com/repos/Alberyk/Aurora.3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Alberyk/Aurora.3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Alberyk/Aurora.3/teams","hooks_url":"https://api.github.com/repos/Alberyk/Aurora.3/hooks","issue_events_url":"https://api.github.com/repos/Alberyk/Aurora.3/issues/events{/number}","events_url":"https://api.github.com/repos/Alberyk/Aurora.3/events","assignees_url":"https://api.github.com/repos/Alberyk/Aurora.3/assignees{/user}","branches_url":"https://api.github.com/repos/Alberyk/Aurora.3/branches{/branch}","tags_url":"https://api.github.com/repos/Alberyk/Aurora.3/tags","blobs_url":"https://api.github.com/repos/Alberyk/Aurora.3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Alberyk/Aurora.3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Alberyk/Aurora.3/git/refs{/sha}","trees_url":"https://api.github.com/repos/Alberyk/Aurora.3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Alberyk/Aurora.3/statuses/{sha}","languages_url":"https://api.github.com/repos/Alberyk/Aurora.3/languages","stargazers_url":"https://api.github.com/repos/Alberyk/Aurora.3/stargazers","contributors_url":"https://api.github.com/repos/Alberyk/Aurora.3/contributors","subscribers_url":"https://api.github.com/repos/Alberyk/Aurora.3/subscribers","subscription_url":"https://api.github.com/repos/Alberyk/Aurora.3/subscription","commits_url":"https://api.github.com/repos/Alberyk/Aurora.3/commits{/sha}","git_commits_url":"https://api.github.com/repos/Alberyk/Aurora.3/git/commits{/sha}","comments_url":"https://api.github.com/repos/Alberyk/Aurora.3/comments{/number}","issue_comment_url":"https://api.github.com/repos/Alberyk/Aurora.3/issues/comments{/number}","contents_url":"https://api.github.com/repos/Alberyk/Aurora.3/contents/{+path}","compare_url":"https://api.github.com/repos/Alberyk/Aurora.3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Alberyk/Aurora.3/merges","archive_url":"https://api.github.com/repos/Alberyk/Aurora.3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Alberyk/Aurora.3/downloads","issues_url":"https://api.github.com/repos/Alberyk/Aurora.3/issues{/number}","pulls_url":"https://api.github.com/repos/Alberyk/Aurora.3/pulls{/number}","milestones_url":"https://api.github.com/repos/Alberyk/Aurora.3/milestones{/number}","notifications_url":"https://api.github.com/repos/Alberyk/Aurora.3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Alberyk/Aurora.3/labels{/name}","releases_url":"https://api.github.com/repos/Alberyk/Aurora.3/releases{/id}","deployments_url":"https://api.github.com/repos/Alberyk/Aurora.3/deployments","created_at":"2017-07-23T22:34:14Z","updated_at":"2017-07-23T22:34:27Z","pushed_at":"2017-11-19T22:36:58Z","git_url":"git://github.com/Alberyk/Aurora.3.git","ssh_url":"git@github.com:Alberyk/Aurora.3.git","clone_url":"https://github.com/Alberyk/Aurora.3.git","svn_url":"https://github.com/Alberyk/Aurora.3","homepage":"http://aurorastation.org/","size":668770,"stargazers_count":0,"watchers_count":0,"language":"DM","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Aurorastation:development","ref":"development","sha":"3ebcdee95f04741fd31093358b853d8558191abb","user":{"login":"Aurorastation","id":6915762,"avatar_url":"https://avatars2.githubusercontent.com/u/6915762?v=4","gravatar_id":"","url":"https://api.github.com/users/Aurorastation","html_url":"https://github.com/Aurorastation","followers_url":"https://api.github.com/users/Aurorastation/followers","following_url":"https://api.github.com/users/Aurorastation/following{/other_user}","gists_url":"https://api.github.com/users/Aurorastation/gists{/gist_id}","starred_url":"https://api.github.com/users/Aurorastation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aurorastation/subscriptions","organizations_url":"https://api.github.com/users/Aurorastation/orgs","repos_url":"https://api.github.com/users/Aurorastation/repos","events_url":"https://api.github.com/users/Aurorastation/events{/privacy}","received_events_url":"https://api.github.com/users/Aurorastation/received_events","type":"Organization","site_admin":false},"repo":{"id":42579199,"name":"Aurora.3","full_name":"Aurorastation/Aurora.3","owner":{"login":"Aurorastation","id":6915762,"avatar_url":"https://avatars2.githubusercontent.com/u/6915762?v=4","gravatar_id":"","url":"https://api.github.com/users/Aurorastation","html_url":"https://github.com/Aurorastation","followers_url":"https://api.github.com/users/Aurorastation/followers","following_url":"https://api.github.com/users/Aurorastation/following{/other_user}","gists_url":"https://api.github.com/users/Aurorastation/gists{/gist_id}","starred_url":"https://api.github.com/users/Aurorastation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aurorastation/subscriptions","organizations_url":"https://api.github.com/users/Aurorastation/orgs","repos_url":"https://api.github.com/users/Aurorastation/repos","events_url":"https://api.github.com/users/Aurorastation/events{/privacy}","received_events_url":"https://api.github.com/users/Aurorastation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Aurorastation/Aurora.3","description":"The code for Aurorastation's new base, forked from Baystation12.","fork":false,"url":"https://api.github.com/repos/Aurorastation/Aurora.3","forks_url":"https://api.github.com/repos/Aurorastation/Aurora.3/forks","keys_url":"https://api.github.com/repos/Aurorastation/Aurora.3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Aurorastation/Aurora.3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Aurorastation/Aurora.3/teams","hooks_url":"https://api.github.com/repos/Aurorastation/Aurora.3/hooks","issue_events_url":"https://api.github.com/repos/Aurorastation/Aurora.3/issues/events{/number}","events_url":"https://api.github.com/repos/Aurorastation/Aurora.3/events","assignees_url":"https://api.github.com/repos/Aurorastation/Aurora.3/assignees{/user}","branches_url":"https://api.github.com/repos/Aurorastation/Aurora.3/branches{/branch}","tags_url":"https://api.github.com/repos/Aurorastation/Aurora.3/tags","blobs_url":"https://api.github.com/repos/Aurorastation/Aurora.3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Aurorastation/Aurora.3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Aurorastation/Aurora.3/git/refs{/sha}","trees_url":"https://api.github.com/repos/Aurorastation/Aurora.3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Aurorastation/Aurora.3/statuses/{sha}","languages_url":"https://api.github.com/repos/Aurorastation/Aurora.3/languages","stargazers_url":"https://api.github.com/repos/Aurorastation/Aurora.3/stargazers","contributors_url":"https://api.github.com/repos/Aurorastation/Aurora.3/contributors","subscribers_url":"https://api.github.com/repos/Aurorastation/Aurora.3/subscribers","subscription_url":"https://api.github.com/repos/Aurorastation/Aurora.3/subscription","commits_url":"https://api.github.com/repos/Aurorastation/Aurora.3/commits{/sha}","git_commits_url":"https://api.github.com/repos/Aurorastation/Aurora.3/git/commits{/sha}","comments_url":"https://api.github.com/repos/Aurorastation/Aurora.3/comments{/number}","issue_comment_url":"https://api.github.com/repos/Aurorastation/Aurora.3/issues/comments{/number}","contents_url":"https://api.github.com/repos/Aurorastation/Aurora.3/contents/{+path}","compare_url":"https://api.github.com/repos/Aurorastation/Aurora.3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Aurorastation/Aurora.3/merges","archive_url":"https://api.github.com/repos/Aurorastation/Aurora.3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Aurorastation/Aurora.3/downloads","issues_url":"https://api.github.com/repos/Aurorastation/Aurora.3/issues{/number}","pulls_url":"https://api.github.com/repos/Aurorastation/Aurora.3/pulls{/number}","milestones_url":"https://api.github.com/repos/Aurorastation/Aurora.3/milestones{/number}","notifications_url":"https://api.github.com/repos/Aurorastation/Aurora.3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Aurorastation/Aurora.3/labels{/name}","releases_url":"https://api.github.com/repos/Aurorastation/Aurora.3/releases{/id}","deployments_url":"https://api.github.com/repos/Aurorastation/Aurora.3/deployments","created_at":"2015-09-16T09:56:37Z","updated_at":"2017-11-18T22:00:30Z","pushed_at":"2017-11-19T22:37:52Z","git_url":"git://github.com/Aurorastation/Aurora.3.git","ssh_url":"git@github.com:Aurorastation/Aurora.3.git","clone_url":"https://github.com/Aurorastation/Aurora.3.git","svn_url":"https://github.com/Aurorastation/Aurora.3","homepage":"http://aurorastation.org/","size":667776,"stargazers_count":26,"watchers_count":26,"language":"DM","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":91,"mirror_url":null,"archived":false,"open_issues_count":461,"forks":91,"open_issues":461,"watchers":26,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Aurorastation/Aurora.3/pulls/3883"},"html":{"href":"https://github.com/Aurorastation/Aurora.3/pull/3883"},"issue":{"href":"https://api.github.com/repos/Aurorastation/Aurora.3/issues/3883"},"comments":{"href":"https://api.github.com/repos/Aurorastation/Aurora.3/issues/3883/comments"},"review_comments":{"href":"https://api.github.com/repos/Aurorastation/Aurora.3/pulls/3883/comments"},"review_comment":{"href":"https://api.github.com/repos/Aurorastation/Aurora.3/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Aurorastation/Aurora.3/pulls/3883/commits"},"statuses":{"href":"https://api.github.com/repos/Aurorastation/Aurora.3/statuses/47bef2143bda7cf140c13b38e9c65eb4c5f45086"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"Lohikar"}}