mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 05:27:38 +03:00
18 lines
514 B
C#
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;
|
|
}
|