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.
///
public sealed class GetExplosionResistanceEvent : EntityEventArgs, IInventoryRelayEvent
{
///
/// A coefficient applied to overall explosive damage.
///
public float DamageCoefficient = 1;
public readonly string ExplotionPrototype;
SlotFlags IInventoryRelayEvent.TargetSlots => ~SlotFlags.POCKET;
public GetExplosionResistanceEvent(string id)
{
ExplotionPrototype = id;
}
}