Auto comp (#6416)
This commit is contained in:
@@ -16,7 +16,6 @@ namespace Content.Server.Chemistry.Components
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entMan = default!;
|
||||
|
||||
public override string Name => "FoamSolutionAreaEffect";
|
||||
public new const string SolutionName = "solutionArea";
|
||||
|
||||
[DataField("foamedMetalPrototype")] private string? _foamedMetalPrototype;
|
||||
|
||||
@@ -10,8 +10,6 @@ namespace Content.Server.Chemistry.Components
|
||||
[RegisterComponent]
|
||||
public class MeleeChemicalInjectorComponent : Component
|
||||
{
|
||||
public override string Name => "MeleeChemicalInjector";
|
||||
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
[DataField("transferAmount")]
|
||||
public FixedPoint2 TransferAmount { get; set; } = FixedPoint2.New(1);
|
||||
|
||||
@@ -10,8 +10,6 @@ namespace Content.Server.Chemistry.Components
|
||||
[RegisterComponent]
|
||||
public class ReagentTankComponent : Component
|
||||
{
|
||||
public override string Name => "ReagentTank";
|
||||
|
||||
[DataField("transferAmount")]
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
public FixedPoint2 TransferAmount { get; set; } = FixedPoint2.New(10);
|
||||
|
||||
@@ -11,8 +11,6 @@ namespace Content.Server.Chemistry.Components
|
||||
[RegisterComponent]
|
||||
public class RehydratableComponent : Component
|
||||
{
|
||||
public override string Name => "Rehydratable";
|
||||
|
||||
[ViewVariables]
|
||||
[DataField("catalyst")]
|
||||
internal string CatalystPrototype = "Water";
|
||||
|
||||
@@ -16,7 +16,6 @@ namespace Content.Server.Chemistry.Components
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entMan = default!;
|
||||
|
||||
public override string Name => "SmokeSolutionAreaEffect";
|
||||
public new const string SolutionName = "solutionArea";
|
||||
|
||||
protected override void UpdateVisuals()
|
||||
|
||||
@@ -13,8 +13,6 @@ namespace Content.Server.Chemistry.Components
|
||||
[RegisterComponent]
|
||||
public class SolutionAreaEffectInceptionComponent : Component
|
||||
{
|
||||
public override string Name => "AreaEffectInception";
|
||||
|
||||
private const float ReactionDelay = 1.5f;
|
||||
|
||||
private readonly HashSet<SolutionAreaEffectComponent> _group = new();
|
||||
|
||||
@@ -13,7 +13,6 @@ namespace Content.Server.Chemistry.Components
|
||||
[RegisterComponent]
|
||||
internal sealed class SolutionInjectOnCollideComponent : Component
|
||||
{
|
||||
public override string Name => "SolutionInjectOnCollide";
|
||||
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
[DataField("transferAmount")]
|
||||
|
||||
@@ -11,8 +11,6 @@ namespace Content.Server.Chemistry.Components.SolutionManager
|
||||
[RegisterComponent]
|
||||
public class DrainableSolutionComponent : Component
|
||||
{
|
||||
public override string Name => "DrainableSolution";
|
||||
|
||||
/// <summary>
|
||||
/// Solution name that can be drained.
|
||||
/// </summary>
|
||||
|
||||
@@ -10,8 +10,6 @@ namespace Content.Server.Chemistry.Components.SolutionManager
|
||||
[RegisterComponent]
|
||||
public class DrawableSolutionComponent : Component
|
||||
{
|
||||
public override string Name => "DrawableSolution";
|
||||
|
||||
/// <summary>
|
||||
/// Solution name that can be removed with syringes.
|
||||
/// </summary>
|
||||
|
||||
@@ -7,8 +7,6 @@ namespace Content.Server.Chemistry.Components.SolutionManager
|
||||
[RegisterComponent]
|
||||
public class ExaminableSolutionComponent: Component
|
||||
{
|
||||
public override string Name => "ExaminableSolution";
|
||||
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
[DataField("solution")]
|
||||
public string Solution { get; set; } = "default";
|
||||
|
||||
@@ -10,7 +10,6 @@ namespace Content.Server.Chemistry.Components.SolutionManager
|
||||
[RegisterComponent]
|
||||
public class InjectableSolutionComponent : Component
|
||||
{
|
||||
public override string Name => "InjectableSolution";
|
||||
|
||||
/// <summary>
|
||||
/// Solution name which can be added with syringes.
|
||||
|
||||
@@ -13,8 +13,6 @@ namespace Content.Server.Chemistry.Components.SolutionManager
|
||||
[RegisterComponent]
|
||||
public class RefillableSolutionComponent : Component
|
||||
{
|
||||
public override string Name => "RefillableSolution";
|
||||
|
||||
/// <summary>
|
||||
/// Solution name that can added to easily.
|
||||
/// </summary>
|
||||
|
||||
@@ -13,8 +13,6 @@ namespace Content.Server.Chemistry.Components.SolutionManager
|
||||
[Friend(typeof(SolutionContainerSystem))]
|
||||
public class SolutionContainerManagerComponent : Component
|
||||
{
|
||||
public override string Name => "SolutionContainerManager";
|
||||
|
||||
[ViewVariables]
|
||||
[DataField("solutions")]
|
||||
public readonly Dictionary<string, Solution> Solutions = new();
|
||||
|
||||
@@ -31,8 +31,6 @@ namespace Content.Server.Chemistry.Components
|
||||
// If it's anything else, GIVE reagent.
|
||||
// Of course, only if possible.
|
||||
|
||||
public override string Name => "SolutionTransfer";
|
||||
|
||||
/// <summary>
|
||||
/// The amount of solution to be transferred from this solution when clicking on other solutions with it.
|
||||
/// </summary>
|
||||
|
||||
@@ -13,8 +13,6 @@ namespace Content.Server.Chemistry.Components
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entMan = default!;
|
||||
|
||||
public override string Name => "TransformableContainer";
|
||||
|
||||
public SpriteSpecifier? InitialSprite;
|
||||
public string InitialName = default!;
|
||||
public string InitialDescription = default!;
|
||||
|
||||
Reference in New Issue
Block a user