21 lines
679 B
C#
21 lines
679 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 sealed 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");
|
|
}
|