StealResearchConditionComponent.cs 631 B

123456789101112131415
  1. using Content.Server.Objectives.Systems;
  2. using Content.Shared.Ninja.Systems;
  3. namespace Content.Server.Objectives.Components;
  4. /// <summary>
  5. /// Objective condition that requires the player to be a ninja and have stolen at least a random number of technologies.
  6. /// Requires <see cref="NumberObjectiveComponent"/> to function.
  7. /// </summary>
  8. [RegisterComponent, Access(typeof(NinjaConditionsSystem), typeof(SharedSpaceNinjaSystem))]
  9. public sealed partial class StealResearchConditionComponent : Component
  10. {
  11. [DataField("downloadedNodes"), ViewVariables(VVAccess.ReadWrite)]
  12. public HashSet<string> DownloadedNodes = new();
  13. }