From 95b2451b648db83a7843c050e8ac67ced5c93800 Mon Sep 17 00:00:00 2001 From: keslik Date: Tue, 25 Feb 2025 16:49:22 +0300 Subject: [PATCH] Remove voices --- .../Tests/Preferences/ServerDbSqliteTests.cs | 2 +- .../SharedHumanoidAppearanceSystem.cs | 8 ++--- .../_White/TTS/SharedTTSComponent.cs | 2 +- Resources/Prototypes/_White/tts-voices.yml | 30 ------------------- 4 files changed, 6 insertions(+), 36 deletions(-) diff --git a/Content.IntegrationTests/Tests/Preferences/ServerDbSqliteTests.cs b/Content.IntegrationTests/Tests/Preferences/ServerDbSqliteTests.cs index 5c7783d8dd..08d1df62e7 100644 --- a/Content.IntegrationTests/Tests/Preferences/ServerDbSqliteTests.cs +++ b/Content.IntegrationTests/Tests/Preferences/ServerDbSqliteTests.cs @@ -46,7 +46,7 @@ namespace Content.IntegrationTests.Tests.Preferences "Silicon", "The biggest boy around.", "Human", - "Eugene", + "Mykyta", 21, Sex.Male, Gender.Epicene, diff --git a/Content.Shared/Humanoid/SharedHumanoidAppearanceSystem.cs b/Content.Shared/Humanoid/SharedHumanoidAppearanceSystem.cs index ad3e4079cf..86a5f3c3d0 100644 --- a/Content.Shared/Humanoid/SharedHumanoidAppearanceSystem.cs +++ b/Content.Shared/Humanoid/SharedHumanoidAppearanceSystem.cs @@ -33,13 +33,13 @@ public abstract class SharedHumanoidAppearanceSystem : EntitySystem public const string DefaultBodyType = "HumanNormal"; [ValidatePrototypeId] - public const string DefaultVoice = "Eugene"; + public const string DefaultVoice = "Mykyta"; public static readonly Dictionary> DefaultSexVoice = new() { - { Sex.Male, "Eugene" }, - { Sex.Female, "Kseniya" }, - { Sex.Unsexed, "Xenia" }, + { Sex.Male, "Mykyta" }, + { Sex.Female, "Charlotte" }, + { Sex.Unsexed, "Glados" }, }; public override void Initialize() diff --git a/Content.Shared/_White/TTS/SharedTTSComponent.cs b/Content.Shared/_White/TTS/SharedTTSComponent.cs index 1b1990777c..055c6f7de5 100644 --- a/Content.Shared/_White/TTS/SharedTTSComponent.cs +++ b/Content.Shared/_White/TTS/SharedTTSComponent.cs @@ -14,5 +14,5 @@ public sealed partial class SharedTTSComponent : Component /// Prototype of used voice for TTS. /// [ViewVariables(VVAccess.ReadWrite), DataField, AutoNetworkedField] - public ProtoId VoicePrototypeId { get; set; } = "Eugene"; + public ProtoId VoicePrototypeId { get; set; } = "Mykyta"; } diff --git a/Resources/Prototypes/_White/tts-voices.yml b/Resources/Prototypes/_White/tts-voices.yml index b12087e600..b74e61c816 100644 --- a/Resources/Prototypes/_White/tts-voices.yml +++ b/Resources/Prototypes/_White/tts-voices.yml @@ -1,33 +1,3 @@ -- type: ttsVoice - id: Aidar - name: tts-voice-name-aidar - sex: Male - speaker: aidar - -- type: ttsVoice - id: Eugene - name: tts-voice-name-eugene - sex: Male - speaker: eugene - -- type: ttsVoice - id: Baya - name: tts-voice-name-baya - sex: Female - speaker: baya - -- type: ttsVoice - id: Kseniya - name: tts-voice-name-kseniya - sex: Female - speaker: kseniya - -- type: ttsVoice - id: Xenia - name: tts-voice-name-xenia - sex: Female - speaker: xenia - - type: ttsVoice id: Charlotte name: tts-voice-name-charlotte