namespace Content.Server.Xenoarchaeology.XenoArtifacts.Triggers.Components; /// /// Will try to activate artifact periodically. /// Doesn't used for random artifacts, can be spawned by admins. /// [RegisterComponent] public sealed partial class ArtifactTimerTriggerComponent : Component { /// /// Time between artifact activation attempts. /// [DataField("rate")] [ViewVariables(VVAccess.ReadWrite)] public TimeSpan ActivationRate = TimeSpan.FromSeconds(5.0f); /// /// Last time when artifact was activated. /// public TimeSpan LastActivation; }