mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
* giant protoid cleanup * yml changes * ! --------- Co-authored-by: deltanedas <@deltanedas:goida.zip>
32 lines
1 KiB
C#
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;
|
|
}
|