2022-07-29 14:13:12 +12:00
|
|
|
using Robust.Shared.Audio;
|
2021-02-03 14:05:31 +01:00
|
|
|
|
2022-01-30 07:42:15 -07:00
|
|
|
namespace Content.Server.Extinguisher;
|
2021-02-03 14:05:31 +01:00
|
|
|
|
2022-01-30 07:42:15 -07:00
|
|
|
[RegisterComponent]
|
2022-06-07 15:26:28 +02:00
|
|
|
[Access(typeof(FireExtinguisherSystem))]
|
2022-02-16 00:23:23 -07:00
|
|
|
public sealed class FireExtinguisherComponent : Component
|
2022-01-30 07:42:15 -07:00
|
|
|
{
|
|
|
|
|
[DataField("refillSound")] public SoundSpecifier RefillSound = new SoundPathSpecifier("/Audio/Effects/refill.ogg");
|
2021-10-25 00:04:24 -07:00
|
|
|
|
2022-01-30 07:42:15 -07:00
|
|
|
[DataField("hasSafety")] public bool HasSafety = true;
|
2021-10-25 00:04:24 -07:00
|
|
|
|
2022-01-30 07:42:15 -07:00
|
|
|
[DataField("safety")] public bool Safety = true;
|
2021-10-25 00:04:24 -07:00
|
|
|
|
2022-01-30 07:42:15 -07:00
|
|
|
[DataField("safetySound")]
|
|
|
|
|
public SoundSpecifier SafetySound { get; } = new SoundPathSpecifier("/Audio/Machines/button.ogg");
|
2020-09-01 18:41:35 -05:00
|
|
|
}
|