using Content.Server.Objectives.Systems; namespace Content.Server.Objectives.Components; /// /// Requires that you have the same identity a target for a certain length of time before the round ends. /// Obviously the agent id will work for this, but it's assumed that you will kill the target to prevent suspicion. /// Depends on to function. /// [RegisterComponent, Access(typeof(ImpersonateConditionSystem))] public sealed partial class ImpersonateConditionComponent : Component { /// /// Name that must match your identity for greentext. /// This is stored once after the objective is assigned: /// 1. to be a tiny bit more efficient /// 2. to prevent the name possibly changing when borging or anything else and messing you up /// [DataField] public string? Name; /// /// Mind this objective got assigned to, used to continiously checkd impersonation. /// [DataField] public EntityUid? MindId; public bool Completed; }