6
StarHorizon_Public/Content.Server/Objectives/Components/CarpRiftsConditionComponent.cs
2025-11-15 12:24:44 +03:00

18 lines
554 B
C#

using Content.Server.Objectives.Systems;
namespace Content.Server.Objectives.Components;
/// <summary>
/// Requires that the dragon open and fully charge a certain number of rifts.
/// Depends on <see cref="NumberObjective"/> to function.
/// </summary>
[RegisterComponent, Access(typeof(CarpRiftsConditionSystem))]
public sealed partial class CarpRiftsConditionComponent : Component
{
/// <summary>
/// The number of rifts currently charged.
/// </summary>
[DataField, ViewVariables(VVAccess.ReadWrite)]
public int RiftsCharged;
}