SpawnFlashComponent.cs 747 B

12345678910111213141516171819
  1. // SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
  2. // SPDX-FileCopyrightText: 2025 Piras314 <p1r4s@proton.me>
  3. // SPDX-FileCopyrightText: 2025 gluesniffler <159397573+gluesniffler@users.noreply.github.com>
  4. //
  5. // SPDX-License-Identifier: AGPL-3.0-or-later
  6. using Robust.Shared.GameStates;
  7. namespace Content.Shared._Shitmed.StatusEffects;
  8. /// <summary>
  9. /// For use as a status effect. Creates the same effect as a flash grenade.
  10. /// </summary>
  11. [RegisterComponent, NetworkedComponent]
  12. public sealed partial class SpawnFlashComponent : SpawnEntityEffectComponent
  13. {
  14. public override string EntityPrototype { get; set; } = "AdminInstantEffectFlash";
  15. public override bool AttachToParent { get; set; } = true;
  16. }