1
0

SharpComponent.cs 960 B

1234567891011121314151617181920212223242526272829303132
  1. namespace Content.Server.Kitchen.Components;
  2. /// <summary>
  3. /// Applies to items that are capable of butchering entities, or
  4. /// are otherwise sharp for some purpose.
  5. /// </summary>
  6. [RegisterComponent]
  7. public sealed partial class SharpComponent : Component
  8. {
  9. // TODO just make this a tool type.
  10. public HashSet<EntityUid> Butchering = new();
  11. [DataField("butcherDelayModifier")]
  12. public float ButcherDelayModifier = 1.0f;
  13. /// <summary>
  14. /// Shitmed: Whether this item had <c>SurgeryToolComponent</c> before sharp was added.
  15. /// </summary>
  16. [DataField]
  17. public bool HadSurgeryTool;
  18. /// <summary>
  19. /// Shitmed: Whether this item had <c>ScalpelComponent</c> before sharp was added.
  20. /// </summary>
  21. [DataField]
  22. public bool HadScalpel;
  23. /// <summary>
  24. /// Shitmed: Whether this item had <c>BoneSawComponent</c> before sharp was added.
  25. /// </summary>
  26. [DataField]
  27. public bool HadBoneSaw;
  28. }