2024-08-02 13:51:54 +03:00
|
|
|
using Content.Shared._CP14.MeleeWeapon.EntitySystems;
|
2024-11-29 01:31:42 +03:00
|
|
|
using Robust.Shared.GameStates;
|
2024-04-12 21:09:54 +03:00
|
|
|
|
2024-08-02 13:51:54 +03:00
|
|
|
namespace Content.Shared._CP14.MeleeWeapon.Components;
|
2024-04-12 21:09:54 +03:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// allows the object to become blunt with use
|
|
|
|
|
/// </summary>
|
2024-12-01 20:11:59 +03:00
|
|
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
2024-04-20 11:51:04 +03:00
|
|
|
public sealed partial class CP14SharpenedComponent : Component
|
2024-04-12 21:09:54 +03:00
|
|
|
{
|
2024-11-29 01:31:42 +03:00
|
|
|
[DataField, AutoNetworkedField]
|
2024-04-12 21:09:54 +03:00
|
|
|
public float Sharpness = 1f;
|
|
|
|
|
|
|
|
|
|
[DataField]
|
2024-11-29 01:31:42 +03:00
|
|
|
public float SharpnessDamageBy1Damage = 0.001f; //1000 damage
|
2024-04-12 21:09:54 +03:00
|
|
|
}
|