using Content.Server.Objectives.Systems; using Content.Shared.Mind.Filters; namespace Content.Server.Objectives.Components; /// /// Sets the target for to a random person from a pool and filters. /// /// /// Don't copy paste this for a new objective, if you need a new filter just make a new filter and set it in YAML. /// [RegisterComponent, Access(typeof(PickObjectiveTargetSystem))] public sealed partial class PickRandomPersonComponent : Component { /// /// A pool to pick potential targets from. /// [DataField] public IMindPool Pool = new AliveHumansPool(); /// /// Filters to apply to . /// [DataField] public List Filters = new(); }