Refactored barsign (#5929)
* Refactored barsign * Check barsign for signs of life. * TryComp the sprite component * TryGetBarSignPrototype
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user