using Content.Shared.Damage.Prototypes; using Content.Shared.FixedPoint; using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.Set; namespace Content.Server.HealthExaminable; [RegisterComponent, Access(typeof(HealthExaminableSystem))] public sealed class HealthExaminableComponent : Component { public List Thresholds = new() { FixedPoint2.New(10), FixedPoint2.New(25), FixedPoint2.New(50), FixedPoint2.New(75) }; [DataField("examinableTypes", required: true, customTypeSerializer:typeof(PrototypeIdHashSetSerializer))] public HashSet ExaminableTypes = default!; /// /// Health examine text is automatically generated through creating loc string IDs, in the form: /// `health-examine-[prefix]-[type]-[threshold]` /// This part determines the prefix. /// [DataField("locPrefix")] public string LocPrefix = "carbon"; }