CatStation/Content.Server/Anomaly/Components/ExplosionAnomalyComponent.cs
deltanedas cf7fde3d62
Big prototype and datafield cleanup (#45202)
* giant protoid cleanup

* yml changes

* !

---------

Co-authored-by: deltanedas <@deltanedas:goida.zip>
2026-08-12 02:07:22 +00:00

32 lines
1 KiB
C#

using Content.Shared.Explosion;
using Robust.Shared.Prototypes;
namespace Content.Server.Anomaly.Components;
[RegisterComponent]
public sealed partial class ExplosionAnomalyComponent : Component
{
/// <summary>
/// The explosion prototype to spawn
/// </summary>
[DataField("supercriticalExplosion", required: true)]
public ProtoId<ExplosionPrototype> ExplosionPrototype = default!;
/// <summary>
/// The total amount of intensity an explosion can achieve
/// </summary>
[DataField("explosionTotalIntensity")]
public float TotalIntensity = 100f;
/// <summary>
/// How quickly does the explosion's power slope? Higher = smaller area and more concentrated damage, lower = larger area and more spread out damage
/// </summary>
[DataField("explosionDropoff")]
public float Dropoff = 10f;
/// <summary>
/// How much intensity can be applied per tile?
/// </summary>
[DataField("explosionMaxTileIntensity")]
public float MaxTileIntensity = 10f;
}