CatStation/Content.Server/Spawners/Components/SpawnOnDespawnComponent.cs
deltanedas cf7fde3d62
Big prototype and datafield cleanup (#45202)
* giant protoid cleanup

* yml changes

* !

---------

Co-authored-by: deltanedas <@deltanedas:goida.zip>
2026-08-12 02:07:22 +00:00

17 lines
509 B
C#

using Content.Server.Spawners.EntitySystems;
using Robust.Shared.Prototypes;
namespace Content.Server.Spawners.Components;
/// <summary>
/// When a <c>TimedDespawnComponent</c> despawns, another one will be spawned in its place.
/// </summary>
[RegisterComponent, Access(typeof(SpawnOnDespawnSystem))]
public sealed partial class SpawnOnDespawnComponent : Component
{
/// <summary>
/// Entity prototype to spawn.
/// </summary>
[DataField(required: true)]
public EntProtoId Prototype;
}