using Content.Shared.Damage; using Robust.Shared.GameStates; using Robust.Shared.Serialization; using Robust.Shared.Utility; namespace Content.Shared.Armor; /// /// Used for clothing that reduces damage when worn. /// [RegisterComponent, NetworkedComponent, AutoGenerateComponentState] // Goobstation - remove access restrictions public sealed partial class ArmorComponent : Component { /// /// The damage reduction /// [DataField(required: true), AutoNetworkedField] public DamageModifierSet Modifiers = default!; /// /// A multiplier applied to the calculated point value /// to determine the monetary value of the armor /// [DataField, AutoNetworkedField] public float PriceMultiplier = 1; } /// /// Event raised on an armor entity to get additional examine text relating to its armor. /// /// [ByRefEvent] public record struct ArmorExamineEvent(FormattedMessage Msg);