Beispiel #1
0
        private void TryAddAiToCore(HandApply interaction, AiVessel cardScript)
        {
            if (linkedPlayer != null)
            {
                Chat.AddExamineMsgFromServer(interaction.Performer, "There is already an Ai inside this intelicard.");
                return;
            }

            SetLinkedPlayer(cardScript.LinkedPlayer);
            linkedPlayer.ServerSetNewVessel(gameObject);
            linkedPlayer.ServerSetPermissions(true, true);
            cardScript.SetLinkedPlayer(null);
        }