{"action":"created","comment":{"url":"https://api.github.com/repos/tgstation/tgstation/pulls/comments/90441582","pull_request_review_id":10958957,"id":90441582,"diff_hunk":"@@ -0,0 +1,131 @@\n+/*\n+/mob/living/silicon/pai/proc/fold_out()\n+\tif (!canholo)\n+\t\tsrc << \"\\red Your master has not enabled your external holographic emitters! Ask nicely!\"\n+\t\treturn\n+\n+\tif(src.loc != card)\n+\t\tsrc << \"\\red You are already in your holographic form!\"\n+\t\treturn\n+\n+\tif(world.time <= last_special)\n+\t\tsrc << \"\\red You must wait before altering your holographic emitters again!\"\n+\t\treturn\n+\n+\tlast_special = world.time + 200\n+\n+\tcanmove = 1\n+\tdensity = 1\n+\n+\t//I'm not sure how much of this is necessary, but I would rather avoid issues.\n+\tif(istype(card.loc,/mob))\n+\t\tvar/mob/holder = card.loc\n+\t\tholder.unEquip(card)\n+\telse if(istype(card.loc,/obj/item/device/pda))\n+\t\tvar/obj/item/device/pda/holder = card.loc\n+\t\tholder.pai = null\n+\n+\tsrc.client.perspective = EYE_PERSPECTIVE\n+\tsrc.client.eye = src\n+\tvar/turf/T = get_turf(card.loc)\n+\tcard.loc = T\n+\tsrc.loc = T\n+\tsrc.forceMove(T)\n+\n+\tcard.forceMove(src)\n+\tcard.screen_loc = null\n+\n+\tsrc.SetLuminosity(2)\n+\tweather_immunities = list() //remove ash immunity in holoform\n+\n+\ticon_state = \"[chassis]\"\n+\tif(istype(T)) T.visible_message(\"With a faint hum, <b>[src]</b> levitates briefly on the spot before adopting its holographic form in a flash of green light.\")\n+\n+/mob/living/silicon/pai/proc/close_up(var/force = 0)\n+\n+\tif (health < 5 && !force)\n+\t\tsrc << \"<span class='warning'><b>Your holographic emitters are too damaged to function!</b></span>\"\n+\t\treturn\n+\n+\tlast_special = world.time + 200\n+\tresting = 0\n+\tif(src.loc == card)\n+\t\treturn\n+\n+\tvar/turf/T = get_turf(src)\n+\tif(istype(T)) T.visible_message(\"<b>[src]</b>'s holographic field distorts and collapses, leaving the central card-unit core behind.\")\n+\n+\tif (src.client) //god damnit this is going to be irritating to handle for dc'd pais that stay in holoform\n+\t\tsrc.stop_pulling()\n+\t\tsrc.client.perspective = EYE_PERSPECTIVE\n+\t\tsrc.client.eye = card\n+\n+\t//This seems redundant but not including the forced loc setting messes the behavior up.\n+\tcard.loc = T\n+\tcard.forceMove(T)\n+\tsrc.loc = card\n+\tsrc.forceMove(card)\n+\tcanmove = 0\n+\tdensity = 0\n+\tweather_immunities = list(\"ash\")\n+\tsrc.SetLuminosity(0)\n+\ticon_state = \"[chassis]\"\n+\n+/mob/living/silicon/pai/verb/fold_up()\n+\tset category = \"pAI Commands\"\n+\tset name = \"Return to Card Form\"\n+\n+\tif(stat || sleeping || paralysis || weakened)\n+\t\treturn\n+\n+\tif(src.loc == card)\n+\t\tsrc << \"\\red You are already in your card form!\"\n+\t\treturn\n+\n+\tif(world.time <= last_special)\n+\t\tsrc << \"\\red You must wait before returning to your card form!\"","path":"code/modules/mob/living/silicon/pai/pai_shell.dm","position":86,"original_position":86,"commit_id":"850cd4fea41f56ed98ad59f0b4a9d3d834380b33","original_commit_id":"850cd4fea41f56ed98ad59f0b4a9d3d834380b33","user":{"login":"Chnkr","id":9084344,"avatar_url":"https://avatars.githubusercontent.com/u/9084344?v=3","gravatar_id":"","url":"https://api.github.com/users/Chnkr","html_url":"https://github.com/Chnkr","followers_url":"https://api.github.com/users/Chnkr/followers","following_url":"https://api.github.com/users/Chnkr/following{/other_user}","gists_url":"https://api.github.com/users/Chnkr/gists{/gist_id}","starred_url":"https://api.github.com/users/Chnkr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chnkr/subscriptions","organizations_url":"https://api.github.com/users/Chnkr/orgs","repos_url":"https://api.github.com/users/Chnkr/repos","events_url":"https://api.github.com/users/Chnkr/events{/privacy}","received_events_url":"https://api.github.com/users/Chnkr/received_events","type":"User","site_admin":false},"body":"No color macros.","created_at":"2016-12-01T13:00:50Z","updated_at":"2016-12-01T13:00:50Z","html_url":"https://github.com/tgstation/tgstation/pull/21871#discussion_r90441582","pull_request_url":"https://api.github.com/repos/tgstation/tgstation/pulls/21871","_links":{"self":{"href":"https://api.github.com/repos/tgstation/tgstation/pulls/comments/90441582"},"html":{"href":"https://github.com/tgstation/tgstation/pull/21871#discussion_r90441582"},"pull_request":{"href":"https://api.github.com/repos/tgstation/tgstation/pulls/21871"}}},"pull_request":{"url":"https://api.github.com/repos/tgstation/tgstation/pulls/21871","id":96034204,"html_url":"https://github.com/tgstation/tgstation/pull/21871","diff_url":"https://github.com/tgstation/tgstation/pull/21871.diff","patch_url":"https://github.com/tgstation/tgstation/pull/21871.patch","issue_url":"https://api.github.com/repos/tgstation/tgstation/issues/21871","number":21871,"state":"open","locked":false,"title":"[WIP]YOG pAIS PART 1 - MOBILE CHASSIS","user":{"login":"kevinz000","id":2003111,"avatar_url":"https://avatars.githubusercontent.com/u/2003111?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinz000","html_url":"https://github.com/kevinz000","followers_url":"https://api.github.com/users/kevinz000/followers","following_url":"https://api.github.com/users/kevinz000/following{/other_user}","gists_url":"https://api.github.com/users/kevinz000/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinz000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinz000/subscriptions","organizations_url":"https://api.github.com/users/kevinz000/orgs","repos_url":"https://api.github.com/users/kevinz000/repos","events_url":"https://api.github.com/users/kevinz000/events{/privacy}","received_events_url":"https://api.github.com/users/kevinz000/received_events","type":"User","site_admin":false},"body":"Gives pAIs a holographic chassis form that will allow it to move around.\r\nIt can not interact with ANYTHING like regular mobs in this form, and has no innate access.\r\nBeing attacked will damage its holochassis health, which automatically regenerates. When it runs out, it collapses back into card form.\r\nProjectiles will pierce through and do full damage to its holochassis. As in, it can't block shots.\r\nIt can not attack anything or anyone.\r\nPAI defense reworked.\r\n:cl: Mekhi Anderson\r\nrscadd: Nanotrasen has incorporated the latest in mobile holochassis emitters into PAI designs. PAIs can now turn into holochassis mode, which allows them to walk around with pre-set holographic images.\r\n\\:cl:\r\n","created_at":"2016-12-01T06:39:58Z","updated_at":"2016-12-01T13:01:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4b4e174dd81f9591252c20d890633b79863a6a3b","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/tgstation/tgstation/pulls/21871/commits","review_comments_url":"https://api.github.com/repos/tgstation/tgstation/pulls/21871/comments","review_comment_url":"https://api.github.com/repos/tgstation/tgstation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tgstation/tgstation/issues/21871/comments","statuses_url":"https://api.github.com/repos/tgstation/tgstation/statuses/850cd4fea41f56ed98ad59f0b4a9d3d834380b33","head":{"label":"kevinz000:Personal-AI-Rework","ref":"Personal-AI-Rework","sha":"850cd4fea41f56ed98ad59f0b4a9d3d834380b33","user":{"login":"kevinz000","id":2003111,"avatar_url":"https://avatars.githubusercontent.com/u/2003111?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinz000","html_url":"https://github.com/kevinz000","followers_url":"https://api.github.com/users/kevinz000/followers","following_url":"https://api.github.com/users/kevinz000/following{/other_user}","gists_url":"https://api.github.com/users/kevinz000/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinz000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinz000/subscriptions","organizations_url":"https://api.github.com/users/kevinz000/orgs","repos_url":"https://api.github.com/users/kevinz000/repos","events_url":"https://api.github.com/users/kevinz000/events{/privacy}","received_events_url":"https://api.github.com/users/kevinz000/received_events","type":"User","site_admin":false},"repo":{"id":56410265,"name":"-tg-station","full_name":"kevinz000/-tg-station","owner":{"login":"kevinz000","id":2003111,"avatar_url":"https://avatars.githubusercontent.com/u/2003111?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinz000","html_url":"https://github.com/kevinz000","followers_url":"https://api.github.com/users/kevinz000/followers","following_url":"https://api.github.com/users/kevinz000/following{/other_user}","gists_url":"https://api.github.com/users/kevinz000/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinz000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinz000/subscriptions","organizations_url":"https://api.github.com/users/kevinz000/orgs","repos_url":"https://api.github.com/users/kevinz000/repos","events_url":"https://api.github.com/users/kevinz000/events{/privacy}","received_events_url":"https://api.github.com/users/kevinz000/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kevinz000/-tg-station","description":"the /tg/station branch of SS13","fork":true,"url":"https://api.github.com/repos/kevinz000/-tg-station","forks_url":"https://api.github.com/repos/kevinz000/-tg-station/forks","keys_url":"https://api.github.com/repos/kevinz000/-tg-station/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kevinz000/-tg-station/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kevinz000/-tg-station/teams","hooks_url":"https://api.github.com/repos/kevinz000/-tg-station/hooks","issue_events_url":"https://api.github.com/repos/kevinz000/-tg-station/issues/events{/number}","events_url":"https://api.github.com/repos/kevinz000/-tg-station/events","assignees_url":"https://api.github.com/repos/kevinz000/-tg-station/assignees{/user}","branches_url":"https://api.github.com/repos/kevinz000/-tg-station/branches{/branch}","tags_url":"https://api.github.com/repos/kevinz000/-tg-station/tags","blobs_url":"https://api.github.com/repos/kevinz000/-tg-station/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kevinz000/-tg-station/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kevinz000/-tg-station/git/refs{/sha}","trees_url":"https://api.github.com/repos/kevinz000/-tg-station/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kevinz000/-tg-station/statuses/{sha}","languages_url":"https://api.github.com/repos/kevinz000/-tg-station/languages","stargazers_url":"https://api.github.com/repos/kevinz000/-tg-station/stargazers","contributors_url":"https://api.github.com/repos/kevinz000/-tg-station/contributors","subscribers_url":"https://api.github.com/repos/kevinz000/-tg-station/subscribers","subscription_url":"https://api.github.com/repos/kevinz000/-tg-station/subscription","commits_url":"https://api.github.com/repos/kevinz000/-tg-station/commits{/sha}","git_commits_url":"https://api.github.com/repos/kevinz000/-tg-station/git/commits{/sha}","comments_url":"https://api.github.com/repos/kevinz000/-tg-station/comments{/number}","issue_comment_url":"https://api.github.com/repos/kevinz000/-tg-station/issues/comments{/number}","contents_url":"https://api.github.com/repos/kevinz000/-tg-station/contents/{+path}","compare_url":"https://api.github.com/repos/kevinz000/-tg-station/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kevinz000/-tg-station/merges","archive_url":"https://api.github.com/repos/kevinz000/-tg-station/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kevinz000/-tg-station/downloads","issues_url":"https://api.github.com/repos/kevinz000/-tg-station/issues{/number}","pulls_url":"https://api.github.com/repos/kevinz000/-tg-station/pulls{/number}","milestones_url":"https://api.github.com/repos/kevinz000/-tg-station/milestones{/number}","notifications_url":"https://api.github.com/repos/kevinz000/-tg-station/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kevinz000/-tg-station/labels{/name}","releases_url":"https://api.github.com/repos/kevinz000/-tg-station/releases{/id}","deployments_url":"https://api.github.com/repos/kevinz000/-tg-station/deployments","created_at":"2016-04-16T23:29:34Z","updated_at":"2016-04-16T23:29:44Z","pushed_at":"2016-12-01T11:17:57Z","git_url":"git://github.com/kevinz000/-tg-station.git","ssh_url":"git@github.com:kevinz000/-tg-station.git","clone_url":"https://github.com/kevinz000/-tg-station.git","svn_url":"https://github.com/kevinz000/-tg-station","homepage":"http://www.tgstation13.org/","size":716232,"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":"955c32c718de291c06fd8b3dfa4c5c40b4f5d5e4","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":"2016-11-28T04:18:51Z","pushed_at":"2016-12-01T11:57: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":1631515,"stargazers_count":333,"watchers_count":333,"language":"DM","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1190,"mirror_url":null,"open_issues_count":916,"forks":1190,"open_issues":916,"watchers":333,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tgstation/tgstation/pulls/21871"},"html":{"href":"https://github.com/tgstation/tgstation/pull/21871"},"issue":{"href":"https://api.github.com/repos/tgstation/tgstation/issues/21871"},"comments":{"href":"https://api.github.com/repos/tgstation/tgstation/issues/21871/comments"},"review_comments":{"href":"https://api.github.com/repos/tgstation/tgstation/pulls/21871/comments"},"review_comment":{"href":"https://api.github.com/repos/tgstation/tgstation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tgstation/tgstation/pulls/21871/commits"},"statuses":{"href":"https://api.github.com/repos/tgstation/tgstation/statuses/850cd4fea41f56ed98ad59f0b4a9d3d834380b33"}}}}
{"actor":{"display_login":"Chnkr"}}