tgstation/-tg-station — pull request #3233 by Alek2ander (2014-03-29 20:21:22+00:00)
Title: pAI remote computer control

Added new pAI ability: Remote Control.
Costs 60 memory.
Allows the pAI to remotely interact with one computer, after the owner creates a connection.
Connection is created by the owner by using the pAI on the computer, provided that (a) the pAI is active and in pairing mode, which can be activated by the pAI in the interface (b) the computer is working and powered on (c) the owner has an ID with access required to use the computer.
The connection is severed if the computer breaks, loses power, is deconstructed, if another pAI gets paired with it, or if the paired pAI leaves the z-level.
The pAI gets access to the interface with the least of human or AI rights (e.g. AI rights on comms console - cannot recall shuttle, but human rights on holodeck console - cannot override safeties)
The pAI cannot be paired with consoles with no interface (Upload, Shuttle Console), Telecrystal Consoles (because those are useless without an uplink in) or retro computers.