Пример #1
0
        public void OnSpawnServer(SpawnInfo info)
        {
            scanner    = null;
            cloningPod = null;
            consoleGUI = null;
            //TODO: Support persistance of this info somewhere, such as to a circuit board.
            //scan for adjacent dna scanner and cloning pod
            scanner    = MatrixManager.GetAdjacent <DNAscanner>(registerTile.WorldPositionServer, true).FirstOrDefault();
            cloningPod = MatrixManager.GetAdjacent <CloningPod>(registerTile.WorldPositionServer, true).FirstOrDefault();

            if (cloningPod)
            {
                cloningPod.console = this;
            }
        }