2023-07-07 05:53:38 +03:00
|
|
|
using Robust.Shared.Audio;
|
|
|
|
|
|
2022-04-08 17:37:22 -06:00
|
|
|
namespace Content.Shared.Paper
|
|
|
|
|
{
|
|
|
|
|
[RegisterComponent]
|
2022-10-17 02:49:22 +11:00
|
|
|
public sealed class StampComponent : Component
|
2022-04-08 17:37:22 -06:00
|
|
|
{
|
|
|
|
|
/// <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";
|
2023-07-07 05:53:38 +03:00
|
|
|
|
|
|
|
|
[DataField("sound")]
|
2023-07-13 07:20:39 +01:00
|
|
|
public SoundSpecifier Sound = new SoundPathSpecifier("/Audio/Items/Stamp/thick_stamp_sub.ogg")
|
|
|
|
|
{
|
|
|
|
|
Params = AudioParams.Default.WithVolume(-2f).WithMaxDistance(5f)
|
|
|
|
|
};
|
2022-04-08 17:37:22 -06:00
|
|
|
}
|
|
|
|
|
}
|