mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
18 lines
669 B
C#
18 lines
669 B
C#
using Content.Shared.Dataset;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Server.Damage.Components;
|
|
|
|
/// <summary>
|
|
/// This component shows entity damage severity when it is examined by player.
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
public sealed partial class ExaminableDamageComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// ID of the <see cref="LocalizedDatasetPrototype"/> containing messages to display a different damage levels.
|
|
/// The first message will be used at 0 damage with the others equally distributed across the range from undamaged to fully damaged.
|
|
/// </summary>
|
|
[DataField]
|
|
public ProtoId<LocalizedDatasetPrototype>? Messages;
|
|
}
|