using Content.Shared.Inventory; using Robust.Shared.Map; using Robust.Shared.Serialization; namespace Content.Shared.Explosion; /// /// Raised directed at an entity to determine its explosion resistance, probably right before it is about to be /// damaged by one. /// [ByRefEvent] public record struct GetExplosionResistanceEvent(string ExplosionPrototype) : IInventoryRelayEvent { /// /// A coefficient applied to overall explosive damage. /// public float DamageCoefficient = 1; public readonly string ExplosionPrototype = ExplosionPrototype; SlotFlags IInventoryRelayEvent.TargetSlots => ~SlotFlags.POCKET; }