StartIonStormedComponent.cs 504 B

1234567891011121314151617
  1. using Content.Shared.Roles;
  2. using Robust.Shared.Prototypes;
  3. namespace Content.Shared.Silicons.Laws.Components;
  4. /// <summary>
  5. /// Applies law altering ion storms on a specific entity IonStormAmount times when the entity is spawned.
  6. /// </summary>
  7. [RegisterComponent]
  8. public sealed partial class StartIonStormedComponent : Component
  9. {
  10. /// <summary>
  11. /// Amount of times that the ion storm will be run on the entity on spawn.
  12. /// </summary>
  13. [DataField]
  14. public int IonStormAmount = 1;
  15. }