2023-09-10 03:51:51 +01:00
|
|
|
using Content.Server.Traitor.Systems;
|
2024-11-22 22:21:34 +03:00
|
|
|
using Robust.Shared.Prototypes;
|
2023-09-10 03:51:51 +01:00
|
|
|
|
|
|
|
|
namespace Content.Server.Traitor.Components;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Makes the entity a traitor either instantly if it has a mind or when a mind is added.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[RegisterComponent, Access(typeof(AutoTraitorSystem))]
|
|
|
|
|
public sealed partial class AutoTraitorComponent : Component
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2024-11-22 22:21:34 +03:00
|
|
|
/// The traitor profile to use
|
2023-09-10 03:51:51 +01:00
|
|
|
/// </summary>
|
2024-11-22 22:21:34 +03:00
|
|
|
[DataField]
|
|
|
|
|
public EntProtoId Profile = "Traitor"; // WD EDIT AHEAD OF WIZDEN UPSTREAM
|
2023-09-10 03:51:51 +01:00
|
|
|
}
|