19 lines
659 B
C#
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";
|
|||
|
|
}
|