Files
wwdpublic/Content.Server/_White/Spawners/Components/AreaSpawnerComponent.cs
Spatison 62d4ba308f [Feature] Xenomorphs Part 1 (#716)
* init commit

* xenomorph: part 1

* weed heal

* fix Rsi

* fix Yaml linter

* fix
2025-07-27 18:11:03 +03:00

29 lines
589 B
C#

using Robust.Shared.Prototypes;
namespace Content.Server._White.Spawners.Components;
[RegisterComponent]
public sealed partial class AreaSpawnerComponent : Component
{
[DataField]
public int Radius = 3;
[DataField]
public EntProtoId SpawnPrototype;
[DataField]
public TimeSpan SpawnDelay = TimeSpan.FromSeconds(3);
[DataField]
public float MinTime = 1f;
[DataField]
public float MaxTime = 5f;
[ViewVariables]
public TimeSpan SpawnAt = TimeSpan.Zero;
[ViewVariables]
public List<EntityUid> Spawneds = new List<EntityUid>();
}