mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-30 16:17:27 +00:00
* rework
* bruh
* all fixed
* balance
* bb
* Update TileAnomalySystem.cs
* Update EntityAnomalySystem.cs
* spawn on shutdown variant
* fix entites, fix DataRecord
* fix some review
* god forgive me
* oh fuck wrong brench
* Revert "oh fuck wrong brench"
This reverts commit c81f57f7830c8e55fd47982500c57281af40b0dc.
(cherry picked from commit de9d7aed17)
26 lines
753 B
C#
26 lines
753 B
C#
using Robust.Shared.GameStates;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Shared.Anomaly.Effects.Components;
|
|
|
|
[RegisterComponent, NetworkedComponent, Access(typeof(SharedEntityAnomalySystem))]
|
|
public sealed partial class EntitySpawnAnomalyComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// All types of entity spawns with their settings
|
|
/// </summary>
|
|
[DataField]
|
|
public List<EntitySpawnSettingsEntry> Entries = new();
|
|
}
|
|
|
|
[DataRecord]
|
|
public partial record struct EntitySpawnSettingsEntry()
|
|
{
|
|
/// <summary>
|
|
/// A list of entities that are random picked to be spawned on each pulse
|
|
/// </summary>
|
|
public List<EntProtoId> Spawns { get; set; } = new();
|
|
|
|
public AnomalySpawnSettings Settings { get; set; } = new();
|
|
}
|