Severely nerf fires and severely buff fire protection (#5396)
* Make fires do less damage * Severely nerf fires and severely buff temperature protection * fuck it, i'll nerf it so hard and we can buff it later if we decide * new scaling func * fix * unused * reviews + balance metabolism heat + reduce atmos air temp transfer efficiency * little more balance * just a wee bit more * slight adjustment
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Content.Shared.Damage;
|
||||
using Content.Shared.FixedPoint;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.Serialization.Manager.Attributes;
|
||||
using Robust.Shared.ViewVariables;
|
||||
@@ -19,6 +20,6 @@ namespace Content.Server.Atmos.Components
|
||||
|
||||
[DataField("maxDamage")]
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
public int MaxDamage = 200;
|
||||
public FixedPoint2 MaxDamage = 200;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,9 +31,5 @@ namespace Content.Server.Atmos.Components
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
[DataField("canResistFire")]
|
||||
public bool CanResistFire { get; private set; } = false;
|
||||
|
||||
[DataField("damage", required: true)]
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
public DamageSpecifier Damage = default!;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
using Content.Shared.FixedPoint;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.Serialization.Manager.Attributes;
|
||||
|
||||
namespace Content.Server.Atmos.Components;
|
||||
|
||||
[RegisterComponent]
|
||||
public class TemperatureProtectionComponent : Component
|
||||
{
|
||||
public override string Name => "TemperatureProtection";
|
||||
|
||||
/// <summary>
|
||||
/// How much to multiply temperature deltas by.
|
||||
/// </summary>
|
||||
[DataField("coefficient")]
|
||||
public float Coefficient = 1.0f;
|
||||
}
|
||||
Reference in New Issue
Block a user