Files
tbd-station-14/Content.Shared/EntityEffects/Effects/Atmos/FlammableEntityEffect.cs
Leon Friedrich c83b8c2cf8 Undo effect logging changes (#40919)
* Undo effect logging changes

* remove ShouldLog
2025-10-15 06:15:05 +00:00

30 lines
1006 B
C#

using Content.Shared.Database;
using Robust.Shared.Prototypes;
namespace Content.Shared.EntityEffects.Effects.Atmos;
/// <summary>
/// See serverside system.
/// </summary>
/// <inheritdoc cref="EntityEffect"/>
public sealed partial class Flammable : EntityEffectBase<Flammable>
{
/// <summary>
/// Fire stack multiplier applied on an entity,
/// unless that entity is already on fire and <see cref="MultiplierOnExisting"/> is not null.
/// </summary>
[DataField]
public float Multiplier = 0.05f;
/// <summary>
/// Fire stack multiplier applied if the entity is already on fire. Defaults to <see cref="Multiplier"/> if null.
/// </summary>
[DataField]
public float? MultiplierOnExisting;
public override string EntityEffectGuidebookText(IPrototypeManager prototype, IEntitySystemManager entSys)
=> Loc.GetString("entity-effect-guidebook-flammable-reaction", ("chance", Probability));
public override LogImpact? Impact => LogImpact.Low;
}