using Content.Shared.CriminalRecords.Systems; using Content.Shared.Dataset; using Robust.Shared.GameStates; using Robust.Shared.Prototypes; namespace Content.Shared.CriminalRecords.Components; /// /// Lets the user hack a criminal records console, once. /// Everyone is set to wanted with a randomly picked reason. /// [RegisterComponent, NetworkedComponent, Access(typeof(SharedCriminalRecordsHackerSystem))] public sealed partial class CriminalRecordsHackerComponent : Component { /// /// How long the doafter is for hacking it. /// public TimeSpan Delay = TimeSpan.FromSeconds(20); /// /// Dataset of random reasons to use. /// [DataField] public ProtoId Reasons = "CriminalRecordsWantedReasonPlaceholders"; /// /// Announcement made after the console is hacked. /// [DataField] public LocId Announcement = "ninja-criminal-records-hack-announcement"; }