6
StarHorizon_Public/Content.Server/Radiation/Components/RadiationProtectionComponent.cs
2025-11-15 12:24:44 +03:00

19 lines
659 B
C#

using Robust.Shared.Prototypes;
using Content.Shared.Damage.Prototypes;
namespace Content.Server.Radiation.Components;
/// <summary>
/// Exists for use as a status effect.
/// Adds the DamageProtectionBuffComponent to the entity and adds the specified DamageModifierSet to its list of modifiers.
/// </summary>
[RegisterComponent]
public sealed partial class RadiationProtectionComponent : Component
{
/// <summary>
/// The radiation damage modifier for entities with this component.
/// </summary>
[DataField("modifier")]
public ProtoId<DamageModifierSetPrototype> RadiationProtectionModifierSetId = "PotassiumIodide";
}