using Content.Server.Destructible.Thresholds;
namespace Content.Server.Destructible
{
///
/// When attached to an , allows it to take damage
/// and triggers thresholds when reached.
///
[RegisterComponent]
public sealed partial class DestructibleComponent : Component
{
///
/// A list of damage thresholds for the entity;
/// includes their triggers and resultant behaviors
///
[DataField]
public List Thresholds = new();
///
/// Specifies whether the entity has passed a damage threshold that causes it to break
///
[DataField]
public bool IsBroken = false;
}
}