SpaceNinjaComponent.cs 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. using Content.Shared.Alert;
  2. using Content.Shared.Ninja.Systems;
  3. using Robust.Shared.GameStates;
  4. using Robust.Shared.Prototypes;
  5. namespace Content.Shared.Ninja.Components;
  6. /// <summary>
  7. /// Component placed on a mob to make it a space ninja, able to use suit and glove powers.
  8. /// Contains ids of all ninja equipment.
  9. /// </summary>
  10. [RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
  11. [Access(typeof(SharedSpaceNinjaSystem))]
  12. public sealed partial class SpaceNinjaComponent : Component
  13. {
  14. /// <summary>
  15. /// Currently worn suit
  16. /// </summary>
  17. [DataField, AutoNetworkedField]
  18. public EntityUid? Suit;
  19. /// <summary>
  20. /// Currently worn gloves, if enabled.
  21. /// </summary>
  22. [DataField, AutoNetworkedField]
  23. public EntityUid? Gloves;
  24. /// <summary>
  25. /// Bound katana, set once picked up and never removed
  26. /// </summary>
  27. [DataField, AutoNetworkedField]
  28. public EntityUid? Katana;
  29. /// <summary>
  30. /// Objective to complete after calling in a threat.
  31. /// </summary>
  32. [DataField]
  33. public EntProtoId TerrorObjective = "TerrorObjective";
  34. /// <summary>
  35. /// Objective to complete after setting everyone to arrest.
  36. /// </summary>
  37. [DataField]
  38. public EntProtoId MassArrestObjective = "MassArrestObjective";
  39. /// <summary>
  40. /// Objective to complete after the spider charge detonates.
  41. /// </summary>
  42. [DataField]
  43. public EntProtoId SpiderChargeObjective = "SpiderChargeObjective";
  44. /// <summary>
  45. /// Alert to show for suit power.
  46. /// </summary>
  47. [DataField]
  48. public ProtoId<AlertPrototype> SuitPowerAlert = "SuitPower";
  49. }