22 lines
585 B
C#
22 lines
585 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]
|
|
public sealed partial class ShowHealthIconsComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// Displays health status icons of the damage containers.
|
|
/// </summary>
|
|
[DataField]
|
|
public List<ProtoId<DamageContainerPrototype>> DamageContainers = new()
|
|
{
|
|
"Biological"
|
|
};
|
|
}
|