Delta-v/Content.Shared/Overlays/ShowHealthIconsComponent.cs

23 lines
658 B
C#

using Content.Shared.Damage.Prototypes;
using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
namespace Content.Shared.Overlays;
/// <summary>
/// This component allows you to see health status icons above damageable mobs.
/// </summary>
[RegisterComponent, NetworkedComponent]
[AutoGenerateComponentState(true)]
public sealed partial class ShowHealthIconsComponent : Component
{
/// <summary>
/// Displays health status icons of the damage containers.
/// </summary>
[DataField, AutoNetworkedField] // Shitmed Change
public List<ProtoId<DamageContainerPrototype>> DamageContainers = new()
{
"Biological"
};
}