Files
tbd-station-14/Content.Server/Objectives/Components/MultipleTraitorsRequirementComponent.cs
deltanedas f7711edbe3 Objectives ecs rework (#19967)
Co-authored-by: deltanedas <@deltanedas:kde.org>
2023-09-16 16:18:10 +10:00

17 lines
558 B
C#

using Content.Server.Objectives.Systems;
namespace Content.Server.Objectives.Components;
/// <summary>
/// Requires that there are a certain number of other traitors alive for this objective to be given.
/// </summary>
[RegisterComponent, Access(typeof(MultipleTraitorsRequirementSystem))]
public sealed partial class MultipleTraitorsRequirementComponent : Component
{
/// <summary>
/// Number of traitors, excluding yourself, that have to exist.
/// </summary>
[DataField, ViewVariables(VVAccess.ReadWrite)]
public int Traitors = 2;
}