Files
tbd-station-14/Content.Shared/Paper/StampComponent.cs
crazybrain23 480ac253d0 Fix stamp sound (#17955)
* Convert stamp sounds to mono

* shhh

* something something stamp sounds

* alphabetical is best betical

* the voices
2023-07-13 00:20:39 -06:00

26 lines
884 B
C#

using Robust.Shared.Audio;
namespace Content.Shared.Paper
{
[RegisterComponent]
public sealed class StampComponent : Component
{
/// <summary>
/// The loc string name that will be stamped to the piece of paper on examine.
/// </summary>
[DataField("stampedName")]
public string StampedName { get; set; } = "stamp-component-stamped-name-default";
/// <summary>
/// Tne sprite state of the stamp to display on the paper from bureacracy.rsi.
/// </summary>
[DataField("stampState")]
public string StampState { get; set; } = "paper_stamp-generic";
[DataField("sound")]
public SoundSpecifier Sound = new SoundPathSpecifier("/Audio/Items/Stamp/thick_stamp_sub.ogg")
{
Params = AudioParams.Default.WithVolume(-2f).WithMaxDistance(5f)
};
}
}