using Content.Shared.Roles; namespace Content.Server.Roles; /// /// Stores the ninja's objectives on the mind so if they die the rest of the greentext persists. /// [RegisterComponent] public sealed partial class NinjaRoleComponent : AntagonistRoleComponent { /// /// Number of doors that have been doorjacked, used for objective /// [DataField("doorsJacked")] public int DoorsJacked; /// /// Research nodes that have been downloaded, used for objective /// [DataField("downloadedNodes")] public HashSet DownloadedNodes = new(); /// /// Warp point that the spider charge has to target /// [DataField("spiderChargeTarget")] public EntityUid? SpiderChargeTarget; /// /// Whether the spider charge has been detonated on the target, used for objective /// [DataField("spiderChargeDetonated")] public bool SpiderChargeDetonated; /// /// Whether the comms console has been hacked, used for objective /// [DataField("calledInThreat")] public bool CalledInThreat; }