using Robust.Shared.GameStates; using Robust.Shared.Utility; namespace Content.Shared.Prayer; /// /// Allows an entity to be prayed on in the context menu /// [RegisterComponent, NetworkedComponent] public sealed partial class PrayableComponent : Component { /// /// If bible users are only allowed to use this prayable entity /// [DataField("bibleUserOnly")] [ViewVariables(VVAccess.ReadWrite)] public bool BibleUserOnly; /// /// Message given to user to notify them a message was sent /// [DataField("sentMessage")] [ViewVariables(VVAccess.ReadWrite)] public string SentMessage = "prayer-popup-notify-pray-sent"; /// /// Prefix used in the notification to admins /// [DataField("notificationPrefix")] [ViewVariables(VVAccess.ReadWrite)] public string NotificationPrefix = "prayer-chat-notify-pray"; /// /// Used in window title and context menu /// [DataField("verb")] [ViewVariables(VVAccess.ReadOnly)] public string Verb = "prayer-verbs-pray"; /// /// Context menu image /// [DataField("verbImage")] [ViewVariables(VVAccess.ReadOnly)] public SpriteSpecifier? VerbImage = new SpriteSpecifier.Texture(new ("/Textures/Interface/pray.svg.png")); }