DoorjackConditionComponent.cs 598 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 doorjacked at least a random number of airlocks.
  6. /// Requires <see cref="NumberObjectiveComponent"/> to function.
  7. /// </summary>
  8. [RegisterComponent, Access(typeof(NinjaConditionsSystem), typeof(SharedSpaceNinjaSystem))]
  9. public sealed partial class DoorjackConditionComponent : Component
  10. {
  11. [DataField("doorsJacked"), ViewVariables(VVAccess.ReadWrite)]
  12. public int DoorsJacked;
  13. }