mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 18:31:17 +03:00
* giant protoid cleanup * yml changes * ! --------- Co-authored-by: deltanedas <@deltanedas:goida.zip>
17 lines
509 B
C#
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;
|
|
}
|