2022-07-29 14:13:12 +12:00
|
|
|
using Robust.Shared.Audio;
|
2022-05-08 08:23:08 -05:00
|
|
|
using Robust.Shared.Prototypes;
|
|
|
|
|
|
|
|
|
|
namespace Content.Shared.Speech
|
|
|
|
|
{
|
|
|
|
|
[Prototype("speechSounds")]
|
2023-11-01 19:56:23 -07:00
|
|
|
public sealed partial class SpeechSoundsPrototype : IPrototype
|
2022-05-08 08:23:08 -05:00
|
|
|
{
|
|
|
|
|
[ViewVariables]
|
2023-01-19 03:56:45 +01:00
|
|
|
[IdDataField]
|
2023-08-22 18:14:33 -07:00
|
|
|
public string ID { get; private set; } = default!;
|
2022-05-08 08:23:08 -05:00
|
|
|
|
2022-05-08 23:55:23 -05:00
|
|
|
//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;
|
|
|
|
|
|
2022-05-08 08:23:08 -05:00
|
|
|
[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");
|
|
|
|
|
}
|
|
|
|
|
}
|