SurgeryAddMarkingStepComponent.cs 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. // SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
  2. // SPDX-FileCopyrightText: 2025 deltanedas <39013340+deltanedas@users.noreply.github.com>
  3. // SPDX-FileCopyrightText: 2025 deltanedas <@deltanedas:kde.org>
  4. // SPDX-FileCopyrightText: 2025 gluesniffler <159397573+gluesniffler@users.noreply.github.com>
  5. //
  6. // SPDX-License-Identifier: AGPL-3.0-or-later
  7. using Content.Shared.Humanoid;
  8. using Robust.Shared.GameStates;
  9. using Robust.Shared.Prototypes;
  10. namespace Content.Shared._Shitmed.Medical.Surgery.Steps;
  11. [RegisterComponent, NetworkedComponent]
  12. public sealed partial class SurgeryAddMarkingStepComponent : Component
  13. {
  14. /// <summary>
  15. /// The marking category to add the marking to.
  16. /// </summary>
  17. [DataField]
  18. public HumanoidVisualLayers MarkingCategory = default!;
  19. /// <summary>
  20. /// Can be either a segment of a marking ID, or an entire ID that will be checked
  21. /// against the entity to validate that the marking is not already present.
  22. /// </summary>
  23. [DataField]
  24. public string MatchString = string.Empty;
  25. /// <summary>
  26. /// What type of organ is required for this surgery?
  27. /// </summary>
  28. [DataField]
  29. public ComponentRegistry? Organ;
  30. /// <summary>
  31. /// Component name for accent that will be applied.
  32. /// </summary>
  33. [DataField]
  34. public ComponentRegistry? Accent;
  35. }