Auto comp (#6416)
This commit is contained in:
@@ -13,8 +13,6 @@ namespace Content.Server.Atmos.Components
|
||||
[RegisterComponent]
|
||||
public class AirtightComponent : Component
|
||||
{
|
||||
public override string Name => "Airtight";
|
||||
|
||||
public (GridId Grid, Vector2i Tile) LastPosition { get; set; }
|
||||
|
||||
[DataField("airBlockedDirection", customTypeSerializer: typeof(FlagSerializer<AtmosDirectionFlags>))]
|
||||
|
||||
@@ -9,6 +9,5 @@ namespace Content.Server.Atmos.Components
|
||||
[RegisterComponent]
|
||||
public class AtmosExposedComponent : Component
|
||||
{
|
||||
public override string Name => "AtmosExposed";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,8 +9,6 @@ namespace Content.Server.Atmos.Components
|
||||
[RegisterComponent]
|
||||
public class AtmosFixMarkerComponent : Component
|
||||
{
|
||||
public override string Name => "AtmosFixMarker";
|
||||
|
||||
// See FixGridAtmos for more details
|
||||
[DataField("mode")]
|
||||
public int Mode { get; set; } = 0;
|
||||
|
||||
@@ -12,8 +12,6 @@ namespace Content.Server.Atmos.Components
|
||||
[RegisterComponent]
|
||||
public class BarotraumaComponent : Component
|
||||
{
|
||||
public override string Name => "Barotrauma";
|
||||
|
||||
[DataField("damage", required: true)]
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
public DamageSpecifier Damage = default!;
|
||||
|
||||
@@ -12,6 +12,7 @@ namespace Content.Server.Atmos.Components
|
||||
/// Used in internals as breath tool.
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
[ComponentProtoName("BreathMask")]
|
||||
public class BreathToolComponent : Component
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entities = default!;
|
||||
@@ -21,8 +22,6 @@ namespace Content.Server.Atmos.Components
|
||||
/// </summary>
|
||||
[DataField("allowedSlots")]
|
||||
public SlotFlags AllowedSlots = SlotFlags.MASK;
|
||||
|
||||
public override string Name => "BreathMask";
|
||||
public bool IsFunctional;
|
||||
public EntityUid ConnectedInternalsEntity;
|
||||
|
||||
|
||||
@@ -10,8 +10,6 @@ namespace Content.Server.Atmos.Components
|
||||
[RegisterComponent]
|
||||
public class FlammableComponent : Component
|
||||
{
|
||||
public override string Name => "Flammable";
|
||||
|
||||
[ViewVariables]
|
||||
public bool Resisting = false;
|
||||
|
||||
|
||||
@@ -7,8 +7,6 @@ namespace Content.Server.Atmos.Components
|
||||
[RegisterComponent]
|
||||
public class GasMixtureHolderComponent : Component, IGasMixtureHolder
|
||||
{
|
||||
public override string Name => "GasMixtureHolder";
|
||||
|
||||
[ViewVariables] [DataField("air")] public GasMixture Air { get; set; } = new GasMixture();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -36,8 +36,6 @@ namespace Content.Server.Atmos.Components
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entMan = default!;
|
||||
|
||||
public override string Name => "GasTank";
|
||||
|
||||
private const float MaxExplosionRange = 14f;
|
||||
private const float DefaultOutputPressure = Atmospherics.OneAtmosphere;
|
||||
|
||||
|
||||
@@ -20,8 +20,6 @@ namespace Content.Server.Atmos.Components
|
||||
[RegisterComponent, Serializable]
|
||||
public class GridAtmosphereComponent : Component, IAtmosphereComponent, ISerializationHooks
|
||||
{
|
||||
public override string Name => "GridAtmosphere";
|
||||
|
||||
public virtual bool Simulated => true;
|
||||
|
||||
[ViewVariables]
|
||||
|
||||
@@ -11,9 +11,7 @@ namespace Content.Server.Atmos.Components
|
||||
[RegisterComponent]
|
||||
public class IgniteOnCollideComponent : Component
|
||||
{
|
||||
public override string Name => "IgniteOnCollide";
|
||||
|
||||
[DataField("fireStacks")]
|
||||
public float FireStacks { get; set; }
|
||||
public float FireStacks { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,8 +20,6 @@ namespace Content.Server.Atmos.Components
|
||||
[Dependency] private readonly IRobustRandom _robustRandom = default!;
|
||||
[Dependency] private readonly IEntityManager _entMan = default!;
|
||||
|
||||
public override string Name => "MovedByPressure";
|
||||
|
||||
private const float MoveForcePushRatio = 1f;
|
||||
private const float MoveForceForcePushRatio = 1f;
|
||||
private const float ProbabilityOffset = 25f;
|
||||
|
||||
@@ -7,8 +7,6 @@ namespace Content.Server.Atmos.Components
|
||||
[RegisterComponent]
|
||||
public class PressureProtectionComponent : Component
|
||||
{
|
||||
public override string Name => "PressureProtection";
|
||||
|
||||
[DataField("highPressureMultiplier")]
|
||||
public float HighPressureMultiplier { get; } = 1f;
|
||||
|
||||
|
||||
@@ -6,8 +6,6 @@ namespace Content.Server.Atmos.Components
|
||||
[ComponentReference(typeof(IAtmosphereComponent))]
|
||||
public class SpaceAtmosphereComponent : Component, IAtmosphereComponent
|
||||
{
|
||||
public override string Name => "SpaceAtmosphere";
|
||||
|
||||
public bool Simulated => false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,8 +7,6 @@ namespace Content.Server.Atmos.Components;
|
||||
[RegisterComponent]
|
||||
public class TemperatureProtectionComponent : Component
|
||||
{
|
||||
public override string Name => "TemperatureProtection";
|
||||
|
||||
/// <summary>
|
||||
/// How much to multiply temperature deltas by.
|
||||
/// </summary>
|
||||
|
||||
@@ -12,8 +12,6 @@ namespace Content.Server.Atmos.Components
|
||||
[Serializable]
|
||||
public class UnsimulatedGridAtmosphereComponent : GridAtmosphereComponent
|
||||
{
|
||||
public override string Name => "UnsimulatedGridAtmosphere";
|
||||
|
||||
public override bool Simulated => false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user