using Content.Shared._CP14.MeleeWeapon.EntitySystems;
using Content.Shared.Damage;
using Robust.Shared.Audio;
namespace Content.Shared._CP14.MeleeWeapon.Components;
///
/// component allows you to sharpen objects by restoring their damage.
///
[RegisterComponent, Access(typeof(CP14SharpeningSystem))]
public sealed partial class CP14SharpeningStoneComponent : Component
{
///
/// the amount of acuity recoverable per use
///
[DataField]
public float SharpnessHeal = 0.05f;
///
/// sound when used
///
[DataField]
public SoundSpecifier SharpeningSound =
new SoundPathSpecifier("/Audio/_CP14/Items/sharpening_stone.ogg")
{
Params = AudioParams.Default.WithVariation(0.02f),
};
///
/// the damage that the sharpening stone does to itself for use
///
[DataField]
public DamageSpecifier SelfDamage = new()
{
DamageDict = new()
{
{ "Blunt", 1 },
}
};
///
/// the damage the sharpening stone does to the target
///
[DataField]
public DamageSpecifier TargetDamage = new()
{
DamageDict = new()
{
{ "Blunt", 1 },
}
};
}