Files
OldThink/Content.Shared/_White/_Engi/DamageableClothing/Components/DamageableClothingComponent.cs
2024-11-24 21:44:35 +03:00

27 lines
687 B
C#

using Content.Shared.Damage;
using Robust.Shared.GameStates;
namespace Content.Shared._White._Engi.DamageableClothing;
/// <summary>
/// WD.
/// This component goes on an equippable item that should take damage while in use.
/// </summary>
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
public sealed partial class DamageableClothingComponent : Component
{
/// <summary>
/// The entity that's wearing the item.
/// </summary>
[ViewVariables, AutoNetworkedField]
public EntityUid? User;
/// <summary>
/// The damage modifier to use on item.
/// </summary>
[DataField]
public DamageModifierSet DamageModifier = default!;
}