Files
tbd-station-14/Content.Shared/Speech/SpeechSoundsPrototype.cs
Tayrtahn 86aa82f2b6 Cleanup: Remove redundant prototype name specifications (#35793)
* Remove redundant prototype name specifications

* These can stay
2025-03-19 19:30:31 +01:00

28 lines
995 B
C#

using Robust.Shared.Audio;
using Robust.Shared.Prototypes;
namespace Content.Shared.Speech
{
[Prototype]
public sealed partial class SpeechSoundsPrototype : IPrototype
{
[ViewVariables]
[IdDataField]
public string ID { get; private set; } = 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");
}
}