namespace Content.Server.Xenoarchaeology.XenoArtifacts.Effects.Components; /// /// Harmless artifact that broadcast "thoughts" to players nearby. /// Thoughts are shown as popups and unique for each player. /// [RegisterComponent] public sealed partial class TelepathicArtifactComponent : Component { /// /// Loc string ids of telepathic messages. /// Will be randomly picked and shown to player. /// [DataField("messages")] [ViewVariables(VVAccess.ReadWrite)] public List Messages = default!; /// /// Loc string ids of telepathic messages (spooky version). /// Will be randomly picked and shown to player. /// [DataField("drastic")] [ViewVariables(VVAccess.ReadWrite)] public List? DrasticMessages; /// /// Probability to pick drastic version of message. /// [DataField("drasticProb")] [ViewVariables(VVAccess.ReadWrite)] public float DrasticMessageProb = 0.2f; /// /// Radius in which player can receive artifacts messages. /// [DataField("range")] [ViewVariables(VVAccess.ReadWrite)] public float Range = 10f; }