using Content.Shared.Whitelist;
using Robust.Shared.Audio;
using Robust.Shared.Prototypes;
namespace Content.Server.Holiday.Christmas;
///
/// This is used for gifts with COMPLETELY random things.
///
[RegisterComponent, Access(typeof(RandomGiftSystem))]
public sealed partial class RandomGiftComponent : Component
{
///
/// The wrapper entity to spawn when unwrapping the gift.
///
[DataField(required: true)]
public EntProtoId Wrapper;
///
/// A sound to play when the items are spawned. For example, gift boxes being unwrapped.
///
[DataField(required: true)]
public SoundSpecifier? Sound;
///
/// Whether or not the gift should be limited only to actual items.
///
[DataField(required: true)]
public bool InsaneMode;
///
/// What entities are allowed to examine this gift to see its contents.
///
[DataField(required: true)]
public EntityWhitelist ContentsViewers = default!;
///
/// The currently selected entity to give out. Used so contents viewers can see inside.
///
[DataField]
public string? SelectedEntity;
}