Rock and Meat anom rework (try 2) (#24449)
* 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.
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
using Content.Shared.Maps;
|
||||
using Robust.Shared.GameStates;
|
||||
using Robust.Shared.Prototypes;
|
||||
|
||||
namespace Content.Shared.Anomaly.Effects.Components;
|
||||
|
||||
[RegisterComponent, NetworkedComponent, Access(typeof(SharedTileAnomalySystem))]
|
||||
public sealed partial class TileSpawnAnomalyComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// All types of floors spawns with their settings
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public List<TileSpawnSettingsEntry> Entries = new();
|
||||
}
|
||||
|
||||
[DataRecord]
|
||||
public partial record struct TileSpawnSettingsEntry()
|
||||
{
|
||||
/// <summary>
|
||||
/// The tile that is spawned by the anomaly's effect
|
||||
/// </summary>
|
||||
public ProtoId<ContentTileDefinition> Floor { get; set; } = default!;
|
||||
|
||||
public AnomalySpawnSettings Settings { get; set; } = new();
|
||||
}
|
||||
Reference in New Issue
Block a user