Airlock visuals (#7261)

This commit is contained in:
Joosep Jääger
2022-04-16 05:31:12 +00:00
committed by GitHub
parent 636dc9c26a
commit 0cdb34741e
23 changed files with 528 additions and 6 deletions

View 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!;
}
}