{"action":"created","issue":{"url":"https://api.github.com/repos/tgstation/tgstation/issues/25184","repository_url":"https://api.github.com/repos/tgstation/tgstation","labels_url":"https://api.github.com/repos/tgstation/tgstation/issues/25184/labels{/name}","comments_url":"https://api.github.com/repos/tgstation/tgstation/issues/25184/comments","events_url":"https://api.github.com/repos/tgstation/tgstation/issues/25184/events","html_url":"https://github.com/tgstation/tgstation/pull/25184","id":214863662,"number":25184,"title":"[WIP] Revival of \"Allows AIs to deploy to borgs\" by Shadowlight213","user":{"login":"GunHog","id":4955510,"avatar_url":"https://avatars1.githubusercontent.com/u/4955510?v=3","gravatar_id":"","url":"https://api.github.com/users/GunHog","html_url":"https://github.com/GunHog","followers_url":"https://api.github.com/users/GunHog/followers","following_url":"https://api.github.com/users/GunHog/following{/other_user}","gists_url":"https://api.github.com/users/GunHog/gists{/gist_id}","starred_url":"https://api.github.com/users/GunHog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GunHog/subscriptions","organizations_url":"https://api.github.com/users/GunHog/orgs","repos_url":"https://api.github.com/users/GunHog/repos","events_url":"https://api.github.com/users/GunHog/events{/privacy}","received_events_url":"https://api.github.com/users/GunHog/received_events","type":"User","site_admin":false},"labels":[{"id":149581322,"url":"https://api.github.com/repos/tgstation/tgstation/labels/Feature","name":"Feature","color":"009800","default":false},{"id":255847001,"url":"https://api.github.com/repos/tgstation/tgstation/labels/Work%20In%20Progress","name":"Work In Progress","color":"e11d21","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":31,"created_at":"2017-03-16T23:02:35Z","updated_at":"2017-03-17T21:14:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/tgstation/tgstation/pulls/25184","html_url":"https://github.com/tgstation/tgstation/pull/25184","diff_url":"https://github.com/tgstation/tgstation/pull/25184.diff","patch_url":"https://github.com/tgstation/tgstation/pull/25184.patch"},"body":"This PR is a continuation of https://github.com/tgstation/tgstation/pull/23571 by @Shadowlight213 \r\n\r\n:cl: Gun Hog and Shadowlight213\r\nadd: The AI may now deploy to cyborgs prepared as AI shells. The module to do this may be research in the exosuit fabricator. Simply slot the module into a completed cyborg frame as with an MMI, or into a playerless (with no ckey) cyborg.\r\nadd: AI shells and AIs controlling a shell can be determined through the Diagnostic HUD.\r\n/:cl:\r\n\r\nSome PR notes:\r\n- This code is a modification of the PR mentioned above. The concept remains the same.\r\n- The code needs adapting to make better use of RR's Soullink system.\r\n- A diagnostic HUD entry has been added to track remote AI control of a shell for both mobs involved.\r\n- AI Shells are created using the B.O.R.I.S. module, as so named by three commentators on the previous PR.\r\n- The B.O.R.I.S. module can turn cyborgs without a player key into a shell, or it can spawn a new cyborg shell by using the item on a completed cyborg frame.\r\n- The AI has a count of all AI Shells on the map. This does not account for shells taken by other AIs, however.\r\n- Damage, power failure, and EMP events force the AI back to its core.\r\n- The AI must choose a shell from a list of all available AI shells the first time it uses the feature.\r\n- The AI player gets action buttons for returning to its core from the shell, and returning to the last shell it used.\r\n- Whenever the AI transfers to a shell or back to its core, its lawset will be displayed, in the event that they have changed.\r\n\r\n**Code not final. Some edge cases not yet tested**\r\n\r\n**I require input on the following design decisions:**\r\n- Shells that are emagged or have manually provided lawsets with lawsync disabled will have a different lawset than the AI controlling it. This means that an AI will need to follow possibly different laws while playing as a cyborg. _Is this okay?_\r\n- Clockwork Cult conversion of an AI shell also converts the AI player at its core (carried over from the first PR). \r\n\r\nSince Shadowlight's PR was so well received, I thought I could continue it after he took a break from coding. \r\n\r\n![screenshot 2017-03-16 16 00 05](https://cloud.githubusercontent.com/assets/4955510/24022033/16d519ea-0a72-11e7-9c2a-6c42475c5706.png)\r\n"},"comment":{"url":"https://api.github.com/repos/tgstation/tgstation/issues/comments/287472916","html_url":"https://github.com/tgstation/tgstation/pull/25184#issuecomment-287472916","issue_url":"https://api.github.com/repos/tgstation/tgstation/issues/25184","id":287472916,"user":{"login":"Shadowlight213","id":9410002,"avatar_url":"https://avatars0.githubusercontent.com/u/9410002?v=3","gravatar_id":"","url":"https://api.github.com/users/Shadowlight213","html_url":"https://github.com/Shadowlight213","followers_url":"https://api.github.com/users/Shadowlight213/followers","following_url":"https://api.github.com/users/Shadowlight213/following{/other_user}","gists_url":"https://api.github.com/users/Shadowlight213/gists{/gist_id}","starred_url":"https://api.github.com/users/Shadowlight213/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shadowlight213/subscriptions","organizations_url":"https://api.github.com/users/Shadowlight213/orgs","repos_url":"https://api.github.com/users/Shadowlight213/repos","events_url":"https://api.github.com/users/Shadowlight213/events{/privacy}","received_events_url":"https://api.github.com/users/Shadowlight213/received_events","type":"User","site_admin":false},"created_at":"2017-03-17T21:14:28Z","updated_at":"2017-03-17T21:14:28Z","body":"Emagging an ai in a occupied shell could maybe give the emagger temporary camera invisibility like the ling power maybe? Emag temporarily scrambles the user's camera signature or something.\r\nIt's the only thing I can think of that isn't outweighed by the AI being tipped off about the emagger.\r\nFor CC, converting an AI shell could make the entire cult invisible to the AI."}}
{"actor":{"display_login":"Shadowlight213"}}