mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-29 23:57:29 +00:00
* fix most sharp things not being usable in surgeries (#1381) Co-authored-by: deltanedas <@deltanedas:kde.org> * somewhat untroll harpy body parts --------- Co-authored-by: deltanedas <@deltanedas:kde.org>
34 lines
961 B
C#
34 lines
961 B
C#
namespace Content.Server.Kitchen.Components;
|
|
|
|
/// <summary>
|
|
/// Applies to items that are capable of butchering entities, or
|
|
/// are otherwise sharp for some purpose.
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
public sealed partial class SharpComponent : Component
|
|
{
|
|
// TODO just make this a tool type.
|
|
public HashSet<EntityUid> Butchering = new();
|
|
|
|
[DataField("butcherDelayModifier")]
|
|
public float ButcherDelayModifier = 1.0f;
|
|
|
|
/// <summary>
|
|
/// Shitmed: Whether this item had <c>SurgeryToolComponent</c> before sharp was added.
|
|
/// </summary>
|
|
[DataField]
|
|
public bool HadSurgeryTool;
|
|
|
|
/// <summary>
|
|
/// Shitmed: Whether this item had <c>ScalpelComponent</c> before sharp was added.
|
|
/// </summary>
|
|
[DataField]
|
|
public bool HadScalpel;
|
|
|
|
/// <summary>
|
|
/// Shitmed: Whether this item had <c>BoneSawComponent</c> before sharp was added.
|
|
/// </summary>
|
|
[DataField]
|
|
public bool HadBoneSaw;
|
|
}
|