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

22 lines
669 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] // Shitmed Change
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"
};
}