Files
crystall-punk-14/Content.Shared/_CP14/Temperature/CP14IgnitionModifierComponent.cs
2025-01-09 15:27:28 +03:00

21 lines
765 B
C#

namespace Content.Shared._CP14.Temperature;
/// <summary>
/// Modifies how the entity is set on fire. Given that in cp14 the ignition is done via doAfter by a separate add-on
/// </summary>
[RegisterComponent, Access(typeof(CP14SharedFireSpreadSystem))]
public sealed partial class CP14IgnitionModifierComponent : Component
{
/// <summary>
/// Allows you to slow down or speed up doAfter the burning of this entity. (Example: candles are lit quickly, they should have a high value)
/// </summary>
[DataField]
public float IgnitionTimeModifier = 1f;
/// <summary>
/// Should burning this entity warn other players? Put false if it is safe to ignite this entity.
/// </summary>
[DataField]
public bool HideCaution = false;
}