using Content.Server.Objectives.Systems; namespace Content.Server.Objectives.Components; /// /// Objective has a target number of something. /// When the objective is assigned it randomly picks this target from a minimum to a maximum. /// [RegisterComponent, Access(typeof(NumberObjectiveSystem))] public sealed partial class NumberObjectiveComponent : Component { /// /// Number to use in the objective condition. /// [DataField, ViewVariables(VVAccess.ReadWrite)] public int Target; /// /// Minimum number for target to roll. /// [DataField(required: true)] public int Min; /// /// Maximum number for target to roll. /// [DataField(required: true)] public int Max; /// /// Optional title locale id, passed "count" with . /// [DataField, ViewVariables(VVAccess.ReadWrite)] public string? Title; /// /// Optional description locale id, passed "count" with . /// [DataField, ViewVariables(VVAccess.ReadWrite)] public string? Description; }