Files
tbd-station-14/Content.Server/Damage/Components/DamageOnToolInteractComponent.cs
2024-06-02 23:28:53 -04:00

20 lines
556 B
C#

using Content.Shared.Damage;
using Content.Shared.Tools;
using Robust.Shared.Prototypes;
namespace Content.Server.Damage.Components;
[RegisterComponent]
public sealed partial class DamageOnToolInteractComponent : Component
{
[DataField]
public ProtoId<ToolQualityPrototype> Tools { get; private set; }
// TODO: Remove this snowflake stuff, make damage per-tool quality perhaps?
[DataField]
public DamageSpecifier? WeldingDamage { get; private set; }
[DataField]
public DamageSpecifier? DefaultDamage { get; private set; }
}