Files
tbd-station-14/Content.Server/StationEvents/Components/AnomalySpawnRuleComponent.cs
2023-04-25 20:23:14 -04:00

16 lines
611 B
C#

using Content.Server.StationEvents.Events;
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
namespace Content.Server.StationEvents.Components;
/// <summary>
/// Used an event that spawns an anomaly somewhere random on the map.
/// </summary>
[RegisterComponent, Access(typeof(AnomalySpawnRule))]
public sealed class AnomalySpawnRuleComponent : Component
{
[DataField("anomalySpawnerPrototype", customTypeSerializer: typeof(PrototypeIdSerializer<EntityPrototype>))]
public string AnomalySpawnerPrototype = "RandomAnomalySpawner";
}