Files
tbd-station-14/Content.Server/Extinguisher/FireExtinguisherComponent.cs
2022-02-02 14:35:40 +11:00

21 lines
672 B
C#

using Content.Shared.Sound;
using Robust.Shared.Analyzers;
using Robust.Shared.GameObjects;
using Robust.Shared.Serialization.Manager.Attributes;
namespace Content.Server.Extinguisher;
[RegisterComponent]
[Friend(typeof(FireExtinguisherSystem))]
public class FireExtinguisherComponent : Component
{
[DataField("refillSound")] public SoundSpecifier RefillSound = new SoundPathSpecifier("/Audio/Effects/refill.ogg");
[DataField("hasSafety")] public bool HasSafety = true;
[DataField("safety")] public bool Safety = true;
[DataField("safetySound")]
public SoundSpecifier SafetySound { get; } = new SoundPathSpecifier("/Audio/Machines/button.ogg");
}