Files
tbd-station-14/Content.Shared/Speech/SpeechSoundsPrototype.cs
2022-05-13 17:59:03 +10:00

28 lines
1000 B
C#

using Robust.Shared.Prototypes;
using Content.Shared.Sound;
namespace Content.Shared.Speech
{
[Prototype("speechSounds")]
public sealed class SpeechSoundsPrototype : IPrototype
{
[ViewVariables]
[IdDataFieldAttribute]
public string ID { get; } = default!;
//Variation is here instead of in SharedSpeechComponent since some sets of
//sounds may require more fine tuned pitch variation than others.
[DataField("variation")]
public float Variation { get; set; } = 0.1f;
[DataField("saySound")]
public SoundSpecifier SaySound { get; set; } = new SoundPathSpecifier("/Audio/Voice/Talk/speak_2.ogg");
[DataField("askSound")]
public SoundSpecifier AskSound { get; set; } = new SoundPathSpecifier("/Audio/Voice/Talk/speak_2_ask.ogg");
[DataField("exclaimSound")]
public SoundSpecifier ExclaimSound { get; set; } = new SoundPathSpecifier("/Audio/Voice/Talk/speak_2_exclaim.ogg");
}
}