Auto comp (#6416)
This commit is contained in:
@@ -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";
|
||||
|
||||
|
||||
@@ -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; }
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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; }
|
||||
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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)]
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user