feat: Add ClothingSterility stub component
Some checks failed
CRLF Check / CRLF Check (pull_request) Successful in 48s
RGA schema validator / YAML RGA schema validator (pull_request) Successful in 45s
RSI Validator / Validate RSIs (pull_request) Successful in 31s
Map file schema validator / YAML map schema validator (pull_request) Successful in 3m52s
Build & Test Debug / build (ubuntu-latest) (pull_request) Failing after 10m13s
Build & Test Debug / Build & Test Debug (pull_request) Has been skipped
Check Merge Conflicts / check-conflicts (pull_request_target) Successful in 7s
Labels: PR / labeler (pull_request_target) Successful in 31s
Labels: Size / size-label (pull_request_target) Successful in 5s
YAML Linter / YAML Linter (pull_request) Failing after 4m58s
Build & Test Map Renderer / build (ubuntu-latest) (pull_request) Successful in 14m42s
Build & Test Map Renderer / Build & Test Debug (pull_request) Successful in 0s
Test Packaging / Test Packaging (pull_request) Successful in 29m3s

TODO: Port full Surgery sterility system from wega if surgery infection
mechanics are desired. Currently this is a stub component to allow
clothing prototypes to load.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2025-12-19 10:05:34 +01:00
parent ddbeb27313
commit fd0253ede4

View File

@@ -0,0 +1,15 @@
// TODO: Port full Surgery sterility system from wega if surgery infection mechanics are desired.
// Currently this is a stub component to allow clothing prototypes to load.
// The full system is in ss14-wega: Content.Server/_Wega/Surgery/SurgerySystem.Sterility.cs
namespace Content.Shared.Surgery.Components;
/// <summary>
/// Clothing component that provides a sterility modifier for surgery.
/// </summary>
[RegisterComponent]
public sealed partial class ClothingSterilityComponent : Component
{
[DataField("modifier")]
public float Modifier = 1f;
}