Files
Delta-v/Content.Server/Objectives/Components/PickRandomPersonComponent.cs
T
slarticodefast 37914e3fb7 Cleanup Objective files, add PickSpecificPersonComponent (#35802)
* cleanup objectives

* remove unrelated access restriction

* review
2025-03-23 15:45:28 +00:00

15 lines
420 B
C#

namespace Content.Server.Objectives.Components;
/// <summary>
/// Sets the target for <see cref="TargetObjectiveComponent"/> to a random person.
/// </summary>
[RegisterComponent]
public sealed partial class PickRandomPersonComponent : Component
{
/// <summary>
/// DeltaV: If true a target must have a job with SetPreference set to true.
/// </summary>
[DataField]
public bool OnlyChoosableJobs;
}