replace
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
@@ -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()
|
||||||
|
|||||||
@@ -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";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user