Refactored barsign (#5929)

* Refactored barsign

* Check barsign for signs of life.

* TryComp the sprite component

* TryGetBarSignPrototype
This commit is contained in:
wrexbe
2022-01-01 08:45:52 -08:00
committed by GitHub
parent a7cbcf11eb
commit 936c2f1d54
2 changed files with 49 additions and 67 deletions

View File

@@ -1,12 +1,4 @@
using System.Linq;
using Content.Server.Power.Components;
using Robust.Server.GameObjects;
using Robust.Shared.GameObjects;
using Robust.Shared.IoC;
using Robust.Shared.Localization;
using Robust.Shared.Log;
using Robust.Shared.Prototypes;
using Robust.Shared.Random;
using Robust.Shared.Serialization.Manager.Attributes;
using Robust.Shared.ViewVariables;
@@ -17,7 +9,8 @@ namespace Content.Server.BarSign
{
public override string Name => "BarSign";
[DataField("current")] [ViewVariables(VVAccess.ReadOnly)]
[DataField("current")]
[ViewVariables(VVAccess.ReadOnly)]
public string? CurrentSign;
}
}