AutoTraitorComponent.cs 487 B

1234567891011121314151617
  1. using Content.Server.Traitor.Systems;
  2. using Robust.Shared.Prototypes;
  3. namespace Content.Server.Traitor.Components;
  4. /// <summary>
  5. /// Makes the entity a traitor either instantly if it has a mind or when a mind is added.
  6. /// </summary>
  7. [RegisterComponent, Access(typeof(AutoTraitorSystem))]
  8. public sealed partial class AutoTraitorComponent : Component
  9. {
  10. /// <summary>
  11. /// The traitor profile to use
  12. /// </summary>
  13. [DataField]
  14. public EntProtoId Profile = "Traitor";
  15. }