Files
crystall-punk-14/Content.Server/Radiation/Components/RadiationProtectionComponent.cs

19 lines
659 B
C#
Raw Permalink Normal View History

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