Files
wwdpublic/Content.Server/Kitchen/Components/SharpComponent.cs
gluesniffler 2a33691a1c Ports Shitmed Updates From Goob (#1387)
Lots of stuff. Also moved everything I could to the _Shitmed namespace
as I do in Goob. Will make future ports way faster

# Changelog
🆑 Mocho
- add: Added some fun organs and other thingies, check out the Goob PRs
if you want more details.
- fix: Fixed tons of issues with shitmed. Too many for the changelog in
fact.

(cherry picked from commit 3c9db94102cb25b28a83d51ac8d659fa31fe7d12)
2025-01-13 23:01:51 +03:00

29 lines
797 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>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;
}