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