using Content.Server.StationEvents.Events;
using Robust.Shared.Prototypes;
namespace Content.Server._DV.StationEvents.Components;
///
/// Spawns a random amount of entities at a random tile on a station using TryGetRandomTile.
///
[RegisterComponent, Access(typeof(RandomSpawnRule))]
public sealed partial class RandomMultipleSpawnRuleComponent : Component
{
///
/// The entity to be spawned.
///
[DataField(required: true)]
public EntProtoId Prototype = string.Empty;
///
/// The minimum amount of entities to be spawned.
///
[DataField]
public int MinAmount = 1;
///
/// The maximum amount of entities to be spawned.
///
[DataField]
public int MaxAmount = 1;
}