Airlock visuals (#7261)
This commit is contained in:
22
Content.Server/AirlockPainter/AirlockPainterComponent.cs
Normal file
22
Content.Server/AirlockPainter/AirlockPainterComponent.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using Content.Server.UserInterface;
|
||||
using Content.Shared.AirlockPainter;
|
||||
using Content.Shared.Sound;
|
||||
using Robust.Server.GameObjects;
|
||||
|
||||
namespace Content.Server.AirlockPainter
|
||||
{
|
||||
[RegisterComponent]
|
||||
public sealed class AirlockPainterComponent : Component
|
||||
{
|
||||
[DataField("spraySound")]
|
||||
public SoundSpecifier SpraySound = new SoundPathSpecifier("/Audio/Effects/spray2.ogg");
|
||||
|
||||
[DataField("sprayTime")]
|
||||
public float SprayTime = 3.0f;
|
||||
|
||||
[DataField("isSpraying")]
|
||||
public bool IsSpraying = false;
|
||||
|
||||
public int Index = default!;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user