using Content.Server.Objectives.Systems;
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
namespace Content.Server.Objectives.Components;
///
/// Requires that you steal a certain item.
///
[RegisterComponent, Access(typeof(StealConditionSystem))]
public sealed partial class StealConditionComponent : Component
{
///
/// The id of the item to steal.
///
///
/// Works by prototype id not tags or anything so it has to be the exact item.
///
[DataField(required: true, customTypeSerializer: typeof(PrototypeIdSerializer)), ViewVariables(VVAccess.ReadWrite)]
public string Prototype = string.Empty;
///
/// Help newer players by saying e.g. "steal the chief engineer's advanced magboots"
/// instead of "steal advanced magboots. Should be a loc string.
///
[DataField("owner"), ViewVariables(VVAccess.ReadWrite)]
public string? OwnerText;
}