This commit is contained in:
wrexbe
2022-02-01 19:35:40 -08:00
committed by GitHub
parent fa8a7e609a
commit 17db0775c8
436 changed files with 20 additions and 828 deletions

View File

@@ -12,8 +12,6 @@ namespace Content.Server.Construction.Components
[RegisterComponent, Friend(typeof(AnchorableSystem))]
public class AnchorableComponent : Component
{
public override string Name => "Anchorable";
[DataField("tool", customTypeSerializer:typeof(PrototypeIdSerializer<ToolQualityPrototype>))]
public string Tool { get; private set; } = "Anchoring";

View File

@@ -7,8 +7,6 @@ namespace Content.Server.Construction.Components
[RegisterComponent]
public class ComputerBoardComponent : Component
{
public override string Name => "ComputerBoard";
[ViewVariables]
[DataField("prototype")]
public string? Prototype { get; private set; }

View File

@@ -11,8 +11,6 @@ namespace Content.Server.Construction.Components
[RegisterComponent, Friend(typeof(ConstructionSystem))]
public class ConstructionComponent : Component
{
public override string Name => "Construction";
[DataField("graph", required:true, customTypeSerializer:typeof(PrototypeIdSerializer<ConstructionGraphPrototype>))]
public string Graph { get; set; } = string.Empty;

View File

@@ -19,8 +19,6 @@ namespace Content.Server.Construction.Components
{
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
public override string Name => "MachineBoard";
[ViewVariables]
[DataField("requirements")]
public readonly Dictionary<MachinePart, int> Requirements = new();

View File

@@ -13,8 +13,6 @@ namespace Content.Server.Construction.Components
{
[Dependency] private readonly IEntityManager _entMan = default!;
public override string Name => "Machine";
[DataField("board")]
public string? BoardPrototype { get; private set; }

View File

@@ -21,8 +21,6 @@ namespace Content.Server.Construction.Components
public const string PartContainer = "machine_parts";
public const string BoardContainer = "machine_board";
public override string Name => "MachineFrame";
[ViewVariables]
public bool IsComplete
{

View File

@@ -29,9 +29,6 @@ namespace Content.Server.Construction.Components
{MachinePart.Crystal, "CrystalSubspaceStockPart"},
{MachinePart.Transmitter, "TransmitterSubspaceStockPart"}
};
public override string Name => "MachinePart";
[ViewVariables] [DataField("part")] public MachinePart PartType { get; private set; } = MachinePart.Capacitor;
[ViewVariables(VVAccess.ReadWrite)]

View File

@@ -35,8 +35,6 @@ namespace Content.Server.Construction.Components
private bool _beingWelded;
public override string Name => "WelderRefinable";
async Task<bool> IInteractUsing.InteractUsing(InteractUsingEventArgs eventArgs)
{
// check if object is welder