Files
tbd-station-14/Content.Shared/Clothing/Components/FireProtectionComponent.cs
deltanedas cd92046966 make fire not burn through hardsuits (#27161)
* add FireProtection system and event

* minor optimisation + make flammable use fire protection event

* add fire protection values to some things, nerf firesuit heat resistance

* bruh

* unrevert laser nerfs, make elite hardsuit fully fireproof

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>
2024-05-09 00:12:48 -07:00

18 lines
516 B
C#

using Content.Shared.Clothing.EntitySystems;
namespace Content.Shared.Clothing.Components;
/// <summary>
/// Makes this clothing reduce fire damage when worn.
/// </summary>
[RegisterComponent, Access(typeof(FireProtectionSystem))]
public sealed partial class FireProtectionComponent : Component
{
/// <summary>
/// Percentage to reduce fire damage by, subtracted not multiplicative.
/// 0.25 means 25% less fire damage.
/// </summary>
[DataField(required: true)]
public float Reduction;
}