| 12345678910111213141516 |
- using Content.Server.Destructible.Thresholds;
- namespace Content.Server.Destructible
- {
- /// <summary>
- /// When attached to an <see cref="Robust.Shared.GameObjects.EntityUid"/>, allows it to take damage
- /// and triggers thresholds when reached.
- /// </summary>
- [RegisterComponent]
- public sealed partial class DestructibleComponent : Component
- {
- [DataField("thresholds")]
- public List<DamageThreshold> Thresholds = new();
- }
- }
|