1
0

FakeMindshieldComponent.cs 831 B

12345678910111213141516171819202122
  1. using Content.Shared.StatusIcon;
  2. using Robust.Shared.GameStates;
  3. using Robust.Shared.Prototypes;
  4. namespace Content.Shared.Mindshield.Components;
  5. [RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
  6. public sealed partial class FakeMindShieldComponent : Component
  7. {
  8. /// <summary>
  9. /// The state of the Fake mindshield, if true the owning entity will display a mindshield effect on their job icon
  10. /// </summary>
  11. [DataField, AutoNetworkedField]
  12. public bool IsEnabled { get; set; } = false;
  13. /// <summary>
  14. /// The Security status icon displayed to the security officer. Should be a duplicate of the one the mindshield uses since it's spoofing that
  15. /// </summary>
  16. [DataField, AutoNetworkedField]
  17. public ProtoId<SecurityIconPrototype> MindShieldStatusIcon = "MindShieldIcon";
  18. }