Files
wwdpublic/Content.Shared/_Shitmed/Surgery/Steps/SurgeryRemoveMarkingStepComponent.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

30 lines
879 B
C#

using Robust.Shared.Prototypes;
using Content.Shared.Humanoid;
using Robust.Shared.GameStates;
namespace Content.Shared._Shitmed.Medical.Surgery.Steps;
[RegisterComponent, NetworkedComponent]
public sealed partial class SurgeryRemoveMarkingStepComponent : Component
{
/// <summary>
/// The category the marking belongs to.
/// </summary>
[DataField]
public HumanoidVisualLayers MarkingCategory = default!;
/// <summary>
/// Can be either a segment of a marking ID, or an entire ID that will be checked
/// against the entity to validate that the marking is present.
/// </summary>
[DataField]
public String MatchString = "";
/// <summary>
/// Will this step spawn an item as a result of removing the markings? If so, which?
/// </summary>
[DataField]
public EntProtoId? ItemSpawn = default!;
}