RadiationProtectionComponent.cs 659 B

123456789101112131415161718
  1. using Robust.Shared.Prototypes;
  2. using Content.Shared.Damage.Prototypes;
  3. namespace Content.Server.Radiation.Components;
  4. /// <summary>
  5. /// Exists for use as a status effect.
  6. /// Adds the DamageProtectionBuffComponent to the entity and adds the specified DamageModifierSet to its list of modifiers.
  7. /// </summary>
  8. [RegisterComponent]
  9. public sealed partial class RadiationProtectionComponent : Component
  10. {
  11. /// <summary>
  12. /// The radiation damage modifier for entities with this component.
  13. /// </summary>
  14. [DataField("modifier")]
  15. public ProtoId<DamageModifierSetPrototype> RadiationProtectionModifierSetId = "PotassiumIodide";
  16. }