using Content.Shared.EntityTable.EntitySelectors;
using Robust.Shared.Audio;
using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
namespace Content.Shared.Delivery;
///
/// Used to mark entities that are valid for spawning deliveries on.
/// If this requires power, it needs to be powered to count as a valid spawner.
///
[RegisterComponent, NetworkedComponent]
public sealed partial class DeliverySpawnerComponent : Component
{
///
/// The entity table to select deliveries from.
///
[DataField(required: true)]
public EntityTableSelector Table = default!;
///
/// The sound to play when the spawner spawns a delivery.
///
[DataField]
public SoundSpecifier? SpawnSound = new SoundCollectionSpecifier("DeliverySpawnSounds", AudioParams.Default.WithVolume(-7));
}