CarpRiftsConditionComponent.cs 554 B

1234567891011121314151617
  1. using Content.Server.Objectives.Systems;
  2. namespace Content.Server.Objectives.Components;
  3. /// <summary>
  4. /// Requires that the dragon open and fully charge a certain number of rifts.
  5. /// Depends on <see cref="NumberObjective"/> to function.
  6. /// </summary>
  7. [RegisterComponent, Access(typeof(CarpRiftsConditionSystem))]
  8. public sealed partial class CarpRiftsConditionComponent : Component
  9. {
  10. /// <summary>
  11. /// The number of rifts currently charged.
  12. /// </summary>
  13. [DataField, ViewVariables(VVAccess.ReadWrite)]
  14. public int RiftsCharged;
  15. }