Files
wwdpublic/Content.Shared/Paint/PaintRemoverComponent.cs
2024-11-21 17:49:04 +07:00

18 lines
514 B
C#

using Robust.Shared.GameStates;
using Robust.Shared.Audio;
namespace Content.Shared.Paint;
/// Removes paint from an entity that was painted with spray paint
[RegisterComponent, NetworkedComponent]
[Access(typeof(PaintRemoverSystem))]
public sealed partial class PaintRemoverComponent : Component
{
/// Sound played when target is cleaned
[DataField]
public SoundSpecifier Sound = new SoundPathSpecifier("/Audio/Effects/Fluids/watersplash.ogg");
[DataField]
public float CleanDelay = 2f;
}