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

@@ -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>))]

View File

@@ -9,6 +9,5 @@ namespace Content.Server.Atmos.Components
[RegisterComponent]
public class AtmosExposedComponent : Component
{
public override string Name => "AtmosExposed";
}
}

View File

@@ -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;

View File

@@ -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!;

View File

@@ -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;

View File

@@ -10,8 +10,6 @@ namespace Content.Server.Atmos.Components
[RegisterComponent]
public class FlammableComponent : Component
{
public override string Name => "Flammable";
[ViewVariables]
public bool Resisting = false;

View File

@@ -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();
}
}

View File

@@ -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;

View File

@@ -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]

View File

@@ -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; }
}
}

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;
}
}

View File

@@ -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>

View File

@@ -12,8 +12,6 @@ namespace Content.Server.Atmos.Components
[Serializable]
public class UnsimulatedGridAtmosphereComponent : GridAtmosphereComponent
{
public override string Name => "UnsimulatedGridAtmosphere";
public override bool Simulated => false;
}
}