This commit is contained in:
keslik
2025-02-25 21:14:58 +03:00
parent 95b2451b64
commit 9dc4bf983e
3 changed files with 6 additions and 6 deletions

View File

@@ -46,7 +46,7 @@ namespace Content.IntegrationTests.Tests.Preferences
"Silicon", "Silicon",
"The biggest boy around.", "The biggest boy around.",
"Human", "Human",
"Mykyta", "Nord",
21, 21,
Sex.Male, Sex.Male,
Gender.Epicene, Gender.Epicene,

View File

@@ -33,13 +33,13 @@ public abstract class SharedHumanoidAppearanceSystem : EntitySystem
public const string DefaultBodyType = "HumanNormal"; public const string DefaultBodyType = "HumanNormal";
[ValidatePrototypeId<TTSVoicePrototype>] [ValidatePrototypeId<TTSVoicePrototype>]
public const string DefaultVoice = "Mykyta"; public const string DefaultVoice = "Nord";
public static readonly Dictionary<Sex, ProtoId<TTSVoicePrototype>> DefaultSexVoice = new() public static readonly Dictionary<Sex, ProtoId<TTSVoicePrototype>> DefaultSexVoice = new()
{ {
{ Sex.Male, "Mykyta" }, { Sex.Male, "Nord" },
{ Sex.Female, "Charlotte" }, { Sex.Female, "Amina" },
{ Sex.Unsexed, "Glados" }, { Sex.Unsexed, "Alyx" },
}; };
public override void Initialize() public override void Initialize()

View File

@@ -14,5 +14,5 @@ public sealed partial class SharedTTSComponent : Component
/// Prototype of used voice for TTS. /// Prototype of used voice for TTS.
/// </summary> /// </summary>
[ViewVariables(VVAccess.ReadWrite), DataField, AutoNetworkedField] [ViewVariables(VVAccess.ReadWrite), DataField, AutoNetworkedField]
public ProtoId<TTSVoicePrototype> VoicePrototypeId { get; set; } = "Mykyta"; public ProtoId<TTSVoicePrototype> VoicePrototypeId { get; set; } = "Nord";
} }