New Feature: Kitchen spike rework (#38723)

* Start

* Wow, text

* Ultra raw

* More stuff

* Wow, DOT and gibbing!!!

* More stuff

* More

* Update

* Yes

* Almost there

* Done?

* I forgot

* Update

* Update

* Update

* Update

* Update

* Update

* Update

* Update

* Update

* Beck

* Unhardcode
This commit is contained in:
Winkarst-cpu
2025-08-19 20:56:36 +03:00
committed by GitHub
parent de240e1739
commit 021adbe1e1
16 changed files with 688 additions and 388 deletions

View File

@@ -0,0 +1,26 @@
using Content.Shared.Nutrition.Components;
using Robust.Shared.GameStates;
namespace Content.Shared.Kitchen.Components;
/// <summary>
/// Applies to items that are capable of butchering entities, or
/// are otherwise sharp for some purpose.
/// </summary>
[RegisterComponent, NetworkedComponent]
[AutoGenerateComponentState]
public sealed partial class SharpComponent : Component
{
/// <summary>
/// List of the entities that are currently being butchered.
/// </summary>
// TODO just make this a tool type. Move SharpSystem to shared.
[AutoNetworkedField]
public readonly HashSet<EntityUid> Butchering = [];
/// <summary>
/// Affects butcher delay of the <see cref="ButcherableComponent"/>.
/// </summary>
[DataField, AutoNetworkedField]
public float ButcherDelayModifier = 1.0f;
}