dragon refactor, objectives and use GenericAntag (#20201)

Co-authored-by: deltanedas <@deltanedas:kde.org>
This commit is contained in:
deltanedas
2023-09-30 21:18:01 +01:00
committed by GitHub
parent 007db2599b
commit 94a11f28ca
18 changed files with 455 additions and 252 deletions

View File

@@ -0,0 +1,17 @@
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;
}