Files
crystall-punk-14/Content.Shared/_CP14/Temperature/CP14DelayedIgnitionSourceComponent.cs

17 lines
507 B
C#
Raw Permalink Normal View History

using Robust.Shared.GameStates;
namespace Content.Shared._CP14.Temperature;
/// <summary>
/// Allows you to fire entities through interacting with them after a delay.
/// </summary>
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState, Access(typeof(CP14SharedFireSpreadSystem))]
public sealed partial class CP14DelayedIgnitionSourceComponent : Component
{
[DataField, AutoNetworkedField]
public bool Enabled;
[DataField]
public TimeSpan Delay = TimeSpan.FromSeconds(3f);
}