using Robust.Shared.GameStates; namespace Content.Shared.Spawners.Components; /// /// Put this component on something you would like to despawn after a certain amount of time /// [RegisterComponent] public sealed partial class TimedDespawnComponent : Component { /// /// How long the entity will exist before despawning /// [DataField("lifetime")] public float Lifetime = 5f; }