* 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
26 lines
736 B
C#
26 lines
736 B
C#
using Content.Shared.Damage;
|
|
using Content.Shared.FixedPoint;
|
|
using Robust.Shared.GameObjects;
|
|
using Robust.Shared.Serialization.Manager.Attributes;
|
|
using Robust.Shared.ViewVariables;
|
|
|
|
namespace Content.Server.Atmos.Components
|
|
{
|
|
/// <summary>
|
|
/// Barotrauma: injury because of changes in air pressure.
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
public class BarotraumaComponent : Component
|
|
{
|
|
public override string Name => "Barotrauma";
|
|
|
|
[DataField("damage", required: true)]
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
public DamageSpecifier Damage = default!;
|
|
|
|
[DataField("maxDamage")]
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
public FixedPoint2 MaxDamage = 200;
|
|
}
|
|
}
|