using Robust.Shared.GameStates; namespace Content.Shared.ItemRecall; /// /// Component for the ItemRecall action. /// Used for marking a held item and recalling it back into your hand with second action use. /// [RegisterComponent, NetworkedComponent, AutoGenerateComponentState, Access(typeof(SharedItemRecallSystem))] public sealed partial class ItemRecallComponent : Component { /// /// The name the action should have while an entity is marked. /// [DataField] public LocId? WhileMarkedName = "item-recall-marked-name"; /// /// The description the action should have while an entity is marked. /// [DataField] public LocId? WhileMarkedDescription = "item-recall-marked-description"; /// /// The name the action starts with. /// This shouldn't be set in yaml. /// [DataField] public string? InitialName; /// /// The description the action starts with. /// This shouldn't be set in yaml. /// [DataField] public string? InitialDescription; /// /// The entity currently marked to be recalled by this action. /// [DataField, AutoNetworkedField] public EntityUid? MarkedEntity; }