diff --git a/Content.Client/Body/Systems/BodySystem.cs b/Content.Client/Body/Systems/BodySystem.cs index d26721ba247..bab785525b0 100644 --- a/Content.Client/Body/Systems/BodySystem.cs +++ b/Content.Client/Body/Systems/BodySystem.cs @@ -1,76 +1,7 @@ using Content.Shared.Body.Systems; -// Shitmed Change Start -using Content.Shared._Shitmed.Body.Part; -using Content.Shared.Humanoid; -using Content.Shared.Humanoid.Markings; -using Robust.Client.GameObjects; -using Robust.Shared.Utility; -using Content.Shared.Body.Components; -// Shitmed Change End namespace Content.Client.Body.Systems; public sealed class BodySystem : SharedBodySystem { - // Shitmed Change Start - [Dependency] private readonly MarkingManager _markingManager = default!; - - private void ApplyMarkingToPart(MarkingPrototype markingPrototype, - IReadOnlyList? colors, - bool visible, - SpriteComponent sprite) - { - for (var j = 0; j < markingPrototype.Sprites.Count; j++) - { - var markingSprite = markingPrototype.Sprites[j]; - - if (markingSprite is not SpriteSpecifier.Rsi rsi) - continue; - - var layerId = $"{markingPrototype.ID}-{rsi.RsiState}"; - - if (!sprite.LayerMapTryGet(layerId, out _)) - { - var layer = sprite.AddLayer(markingSprite, j + 1); - sprite.LayerMapSet(layerId, layer); - sprite.LayerSetSprite(layerId, rsi); - } - - sprite.LayerSetVisible(layerId, visible); - - if (!visible) - continue; - - // Okay so if the marking prototype is modified but we load old marking data this may no longer be valid - // and we need to check the index is correct. So if that happens just default to white? - if (colors != null && j < colors.Count) - sprite.LayerSetColor(layerId, colors[j]); - else - sprite.LayerSetColor(layerId, Color.White); - } - } - - protected override void ApplyPartMarkings(EntityUid target, BodyPartAppearanceComponent component) - { - if (!TryComp(target, out SpriteComponent? sprite)) - return; - - if (component.Color != null) - sprite.Color = component.Color.Value; - - foreach (var (visualLayer, markingList) in component.Markings) - foreach (var marking in markingList) - { - if (!_markingManager.TryGetMarking(marking, out var markingPrototype)) - continue; - - ApplyMarkingToPart(markingPrototype, marking.MarkingColors, marking.Visible, sprite); - } - } - - protected override void RemoveBodyMarkings(EntityUid target, BodyPartAppearanceComponent partAppearance, HumanoidAppearanceComponent bodyAppearance) - { - return; - } - // Shitmed Change End } diff --git a/Content.Client/Hands/Systems/HandsSystem.cs b/Content.Client/Hands/Systems/HandsSystem.cs index 936ac14af68..26133135851 100644 --- a/Content.Client/Hands/Systems/HandsSystem.cs +++ b/Content.Client/Hands/Systems/HandsSystem.cs @@ -1,11 +1,9 @@ using System.Diagnostics.CodeAnalysis; using System.Linq; -using Content.Shared._Shitmed.Body.Events; // Shitmed Change using Content.Client.DisplacementMap; using Content.Client.Examine; using Content.Client.Strip; using Content.Client.Verbs.UI; -using Content.Shared.Body.Part; // Shitmed Change using Content.Shared.Hands; using Content.Shared.Hands.Components; using Content.Shared.Hands.EntitySystems; @@ -51,8 +49,6 @@ namespace Content.Client.Hands.Systems SubscribeLocalEvent(OnHandsShutdown); SubscribeLocalEvent(HandleComponentState); SubscribeLocalEvent(OnVisualsChanged); - SubscribeLocalEvent(HandleBodyPartRemoved); // Shitmed Change - SubscribeLocalEvent(HandleBodyPartDisabled); // Shitmed Change OnHandSetActive += OnHandActivated; } @@ -206,35 +202,6 @@ namespace Content.Client.Hands.Systems #region visuals - // Shitmed Change Start - private void HideLayers(EntityUid uid, HandsComponent component, Entity part, SpriteComponent? sprite = null) - { - if (part.Comp.PartType != BodyPartType.Hand || !Resolve(uid, ref sprite, logMissing: false)) - return; - - var location = part.Comp.Symmetry switch - { - BodyPartSymmetry.None => HandLocation.Middle, - BodyPartSymmetry.Left => HandLocation.Left, - BodyPartSymmetry.Right => HandLocation.Right, - _ => throw new ArgumentOutOfRangeException(nameof(part.Comp.Symmetry)) - }; - - if (component.RevealedLayers.TryGetValue(location, out var revealedLayers)) - { - foreach (var key in revealedLayers) - sprite.RemoveLayer(key); - - revealedLayers.Clear(); - } - } - - private void HandleBodyPartRemoved(EntityUid uid, HandsComponent component, ref BodyPartRemovedEvent args) => HideLayers(uid, component, args.Part); - - private void HandleBodyPartDisabled(EntityUid uid, HandsComponent component, ref BodyPartDisabledEvent args) => HideLayers(uid, component, args.Part); - - // Shitmed Change End - protected override void HandleEntityInserted(EntityUid uid, HandsComponent hands, EntInsertedIntoContainerMessage args) { base.HandleEntityInserted(uid, hands, args); diff --git a/Content.Client/HealthAnalyzer/UI/HealthAnalyzerBoundUserInterface.cs b/Content.Client/HealthAnalyzer/UI/HealthAnalyzerBoundUserInterface.cs index 98e42ef8867..cfc54f98bc6 100644 --- a/Content.Client/HealthAnalyzer/UI/HealthAnalyzerBoundUserInterface.cs +++ b/Content.Client/HealthAnalyzer/UI/HealthAnalyzerBoundUserInterface.cs @@ -1,7 +1,6 @@ using Content.Shared.MedicalScanner; -using Content.Shared._Shitmed.Targeting; // Shitmed Change -using Content.Shared._DV.MedicalRecords; // DeltaV - Medical Records -using JetBrains.Annotations; +using Content.Shared._DV.MedicalRecords; +using JetBrains.Annotations; // DeltaV - Medical Records using Robust.Client.UserInterface; namespace Content.Client.HealthAnalyzer.UI @@ -21,13 +20,11 @@ namespace Content.Client.HealthAnalyzer.UI base.Open(); _window = this.CreateWindow(); - _window.HealthAnalyzer.OnBodyPartSelected += SendBodyPartMessage; // Shitmed Change _window.HealthAnalyzer.OnTriageStatusChanged += SendTriageStatusMessage; // DeltaV - Medical Records _window.HealthAnalyzer.OnClaimPatient += SendTriageClaimMessage; // DeltaV - Medical Records _window.Title = EntMan.GetComponent(Owner).EntityName; } - protected override void ReceiveMessage(BoundUserInterfaceMessage message) { if (_window == null) @@ -39,22 +36,6 @@ namespace Content.Client.HealthAnalyzer.UI _window.Populate(cast); } - // Shitmed Change Start - private void SendBodyPartMessage(TargetBodyPart? part, EntityUid target) => SendMessage(new HealthAnalyzerPartMessage(EntMan.GetNetEntity(target), part ?? null)); - protected override void Dispose(bool disposing) - { - base.Dispose(disposing); - if (!disposing) - return; - - if (_window != null) - _window.HealthAnalyzer.OnBodyPartSelected -= SendBodyPartMessage; - - _window?.Dispose(); - } - - // Shitmed Change End - // Begin DeltaV - Medical Records private void SendTriageStatusMessage(TriageStatus status) => SendMessage(new HealthAnalyzerTriageStatusMessage(status)); diff --git a/Content.Client/HealthAnalyzer/UI/HealthAnalyzerControl.xaml b/Content.Client/HealthAnalyzer/UI/HealthAnalyzerControl.xaml index 2df80d0f409..3a72912ce0f 100644 --- a/Content.Client/HealthAnalyzer/UI/HealthAnalyzerControl.xaml +++ b/Content.Client/HealthAnalyzer/UI/HealthAnalyzerControl.xaml @@ -6,160 +6,12 @@ Name="NoPatientDataText" Text="{Loc health-analyzer-window-no-patient-data-text}" /> - - - - \ No newline at end of file diff --git a/Content.Client/_Shitmed/Choice/UI/ChoiceControl.xaml.cs b/Content.Client/_Shitmed/Choice/UI/ChoiceControl.xaml.cs deleted file mode 100644 index ac2a8385ac0..00000000000 --- a/Content.Client/_Shitmed/Choice/UI/ChoiceControl.xaml.cs +++ /dev/null @@ -1,26 +0,0 @@ -using Robust.Client.AutoGenerated; -using Robust.Client.Graphics; -using Robust.Client.UserInterface; -using Robust.Client.UserInterface.XAML; -using Robust.Shared.Utility; - -namespace Content.Client._Shitmed.Choice.UI; - -[GenerateTypedNameReferences] -[Virtual] -public partial class ChoiceControl : Control -{ - public ChoiceControl() => RobustXamlLoader.Load(this); - - public void Set(string name, Texture? texture) - { - NameLabel.SetMessage(name); - Texture.Texture = texture; - } - - public void Set(FormattedMessage msg, Texture? texture) - { - NameLabel.SetMessage(msg); - Texture.Texture = texture; - } -} diff --git a/Content.Client/_Shitmed/Medical/Surgery/SurgeryBui.cs b/Content.Client/_Shitmed/Medical/Surgery/SurgeryBui.cs deleted file mode 100644 index 935b7268061..00000000000 --- a/Content.Client/_Shitmed/Medical/Surgery/SurgeryBui.cs +++ /dev/null @@ -1,473 +0,0 @@ -using Content.Client._Shitmed.Choice.UI; -using Content.Client.Administration.UI.CustomControls; -using Content.Shared._Shitmed.Medical.Surgery; -using Content.Shared._Shitmed.Medical.Surgery.Steps.Parts; // DeltaV - New UI -using Content.Shared.Body.Components; -using Content.Shared.Body.Part; -using Content.Shared.Humanoid; -using JetBrains.Annotations; -using Robust.Client.GameObjects; -using Robust.Client.Player; -using Robust.Client.UserInterface.Controls; // DeltaV - New UI -using Robust.Shared.Prototypes; -using Robust.Shared.Utility; - -namespace Content.Client._Shitmed.Medical.Surgery; - -[UsedImplicitly] -public sealed class SurgeryBui : BoundUserInterface -{ - [Dependency] private readonly IEntityManager _entities = default!; - [Dependency] private readonly IPlayerManager _player = default!; - - private readonly SurgerySystem _system; - [ViewVariables] - private SurgeryWindow? _window; - private EntityUid? _part; - private bool _isBody; - private (EntityUid Ent, EntProtoId Proto)? _surgery; - private readonly List _previousSurgeries = new(); - private (EntityUid Ent, TextureButton)? _previousPart; // DeltaV - New UI - public SurgeryBui(EntityUid owner, Enum uiKey) : base(owner, uiKey) => _system = _entities.System(); - - protected override void ReceiveMessage(BoundUserInterfaceMessage message) - { - if (_window is null - || message is not SurgeryBuiRefreshMessage) - return; - - RefreshUI(); - } - - protected override void UpdateState(BoundUserInterfaceState state) - { - if (state is not SurgeryBuiState s) - return; - - Update(s); - } - - protected override void Dispose(bool disposing) - { - base.Dispose(disposing); - if (disposing) - _window?.Dispose(); - } - - private void Update(SurgeryBuiState state) - { - if (_window == null) - { - _window = new SurgeryWindow(); - _window.OnClose += Close; - _window.Title = Loc.GetString("surgery-ui-window-title"); - - _window.PartsButton.OnPressed += _ => - { - _part = null; - _isBody = false; - _surgery = null; - _previousSurgeries.Clear(); - DeactivateOtherParts(); // DeltaV - New UI - View(ViewType.Parts); - }; - - _window.SurgeriesButton.OnPressed += _ => - { - _surgery = null; - _previousSurgeries.Clear(); - - if (!_entities.TryGetNetEntity(_part, out var netPart) - || State is not SurgeryBuiState s - || !s.Choices.TryGetValue(netPart.Value, out var surgeries)) - return; - - OnPartPressed(netPart.Value, surgeries); - }; - - _window.StepsButton.OnPressed += _ => - { - if (!_entities.TryGetNetEntity(_part, out var netPart) - || _previousSurgeries.Count == 0) - return; - - var last = _previousSurgeries[^1]; - _previousSurgeries.RemoveAt(_previousSurgeries.Count - 1); - - if (_system.GetSingleton(last) is not { } previousId - || !_entities.TryGetComponent(previousId, out SurgeryComponent? previous)) - return; - - OnSurgeryPressed((previousId, previous), netPart.Value, last); - }; - } - - _window.Surgeries.RemoveAllChildren(); - _window.Steps.RemoveAllChildren(); - _window.Parts.RemoveAllChildren(); - View(ViewType.Parts); - - var oldSurgery = _surgery; - var oldPart = _part; - _part = null; - _surgery = null; - - var options = new List<(NetEntity netEntity, EntityUid entity, string Name, BodyPartType? PartType)>(); - foreach (var choice in state.Choices.Keys) - if (_entities.TryGetEntity(choice, out var ent)) - { - if (_entities.TryGetComponent(ent, out BodyPartComponent? part)) - options.Add((choice, ent.Value, _entities.GetComponent(ent.Value).EntityName, part.PartType)); - else if (_entities.TryGetComponent(ent, out BodyComponent? body)) - options.Add((choice, ent.Value, _entities.GetComponent(ent.Value).EntityName, null)); - } - - options.Sort((a, b) => - { - int GetScore(BodyPartType? partType) - { - return partType switch - { - BodyPartType.Head => 1, - BodyPartType.Torso => 2, - BodyPartType.Arm => 3, - BodyPartType.Hand => 4, - BodyPartType.Leg => 5, - BodyPartType.Foot => 6, - // BodyPartType.Tail => 7, No tails yet! - BodyPartType.Other => 8, - _ => 9 - }; - } - - return GetScore(a.PartType) - GetScore(b.PartType); - }); - - // DeltaV Start - New UI - foreach (var textureButton in _window.Buttons) - { - textureButton.Visible = false; - textureButton.StyleIdentifier = "SurgeryTextureButton"; - } - // DeltaV End - New UI - - foreach (var (netEntity, entity, partName, bodyPartType) in options) // DeltaV - New UI - { - //var netPart = _entities.GetNetEntity(part.Owner); - var surgeries = state.Choices[netEntity]; - - // Delta Start - New UI - var button = GetBodyPartTextureButton(entity, bodyPartType); - if (button != null) - { - button.Visible = true; - button.OnPressed += _ => OnPartPressed(netEntity, surgeries); - if (_entities.HasComponent(entity)) - button.StyleIdentifier = "OpenIncision"; - } - else - { - var partButton = new ChoiceControl(); - - partButton.Set(partName, null); - partButton.Button.OnPressed += _ => OnPartPressed(netEntity, surgeries); - _window.Parts.AddChild(partButton); - } - // Delta End - New UI - - foreach (var surgeryId in surgeries) - { - if (_system.GetSingleton(surgeryId) is not { } surgery || - !_entities.TryGetComponent(surgery, out SurgeryComponent? surgeryComp)) - continue; - - if (oldPart == entity && oldSurgery?.Proto == surgeryId) - OnSurgeryPressed((surgery, surgeryComp), netEntity, surgeryId); - } - - if (oldPart == entity && oldSurgery == null) - OnPartPressed(netEntity, surgeries); - } - - - if (!_window.IsOpen) - _window.OpenCentered(); - } - - private void AddStep(EntProtoId stepId, NetEntity netPart, EntProtoId surgeryId) - { - if (_window == null - || _system.GetSingleton(stepId) is not { } step) - return; - - var stepName = new FormattedMessage(); - stepName.AddText(_entities.GetComponent(step).EntityName); - var stepButton = new SurgeryStepButton { Step = step }; - stepButton.Button.OnPressed += _ => SendMessage(new SurgeryStepChosenBuiMsg(netPart, surgeryId, stepId, _isBody)); - - _window.Steps.AddChild(stepButton); - } - - private void OnSurgeryPressed(Entity surgery, NetEntity netPart, EntProtoId surgeryId) - { - if (_window == null) - return; - - _part = _entities.GetEntity(netPart); - _isBody = _entities.HasComponent(_part); - _surgery = (surgery, surgeryId); - - _window.Steps.RemoveAllChildren(); - - // This apparently does not consider if theres multiple surgery requirements in one surgery. Maybe thats fine. - if (surgery.Comp.Requirement is { } requirementId && _system.GetSingleton(requirementId) is { } requirement) - { - var label = new ChoiceControl(); - label.Button.OnPressed += _ => - { - _previousSurgeries.Add(surgeryId); - - if (_entities.TryGetComponent(requirement, out SurgeryComponent? requirementComp)) - OnSurgeryPressed((requirement, requirementComp), netPart, requirementId); - }; - - var msg = new FormattedMessage(); - var surgeryName = _entities.GetComponent(requirement).EntityName; - msg.AddMarkup($"[bold]{Loc.GetString("surgery-ui-window-require")}: {surgeryName}[/bold]"); - label.Set(msg, null); - - _window.Steps.AddChild(label); - _window.Steps.AddChild(new HSeparator { Margin = new Thickness(0, 0, 0, 1) }); - } - foreach (var stepId in surgery.Comp.Steps) - AddStep(stepId, netPart, surgeryId); - - View(ViewType.Steps); - RefreshUI(); - } - - private void OnPartPressed(NetEntity netPart, List surgeryIds) - { - if (_window == null) - return; - - _part = _entities.GetEntity(netPart); - _isBody = _entities.HasComponent(_part); - // DeltaV Start - New UI - var bodyPart = _entities.GetComponent(_part.Value); - var body = bodyPart.Body!.Value; - - if (_previousPart != null) - { - (var previousEnt, var previousButton) = _previousPart.Value; - if (!_entities.HasComponent(previousEnt)) - previousButton.StyleIdentifier = "SurgeryTextureButton"; - } - - var button = GetBodyPartTextureButton(_part.Value, bodyPart.PartType); - if (button != null && button.Pressed) - { - _previousPart = (_part.Value, button); - DeactivateOtherParts(button); - } - else if (button != null && !button.Pressed) - { - _part = null; - _isBody = false; - _surgery = null; - _previousSurgeries.Clear(); - View(ViewType.Parts); - - return; - } - // DeltaV End - New UI - - _window.Surgeries.RemoveAllChildren(); - - var surgeries = new List<(Entity Ent, EntProtoId Id, string Name)>(); - foreach (var surgeryId in surgeryIds) - { - if (_system.GetSingleton(surgeryId) is not { } surgery || - !_entities.TryGetComponent(surgery, out SurgeryComponent? surgeryComp)) - { - continue; - } - - // Begin DeltaV Additions - only show surgeries with completed requirements - if (surgeryComp.Requirement is { } reqId && _system.GetSingleton(reqId) is { } reqUid) - { - if (!_entities.TryGetComponent(reqUid, out var reqComp) || - !_system.PreviousStepsComplete(body, _part.Value, (reqUid, reqComp), string.Empty)) // step is unused as this is only for checking the requirement - { - // don't show any surgeries whose requirement isn't complete - continue; - } - } - // End DeltaV Additions - - var name = _entities.GetComponent(surgery).EntityName; - surgeries.Add(((surgery, surgeryComp), surgeryId, name)); - } - - surgeries.Sort((a, b) => - { - var priority = a.Ent.Comp.Priority.CompareTo(b.Ent.Comp.Priority); - if (priority != 0) - return priority; - - return string.Compare(a.Name, b.Name, StringComparison.Ordinal); - }); - - foreach (var surgery in surgeries) - { - var surgeryButton = new ChoiceControl(); - surgeryButton.Set(surgery.Name, null); - - surgeryButton.Button.OnPressed += _ => OnSurgeryPressed(surgery.Ent, netPart, surgery.Id); - _window.Surgeries.AddChild(surgeryButton); - } - - RefreshUI(); - View(ViewType.Surgeries); - } - - // DeltaV Start - New UI - private TextureButton? GetBodyPartTextureButton(EntityUid entity, BodyPartType? partType) - { - if (_window == null - || !_entities.TryGetComponent(entity, out BodyPartComponent? bodyPart)) - return null; - - var isLeftPart = bodyPart.Symmetry.HasFlag(BodyPartSymmetry.Left); - - switch (partType) - { - case BodyPartType.Torso: - var isHumanoid = _entities.HasComponent(bodyPart.Body); - return isHumanoid ? _window.ChestButton : _window.CarpButton; - case BodyPartType.Head: - return _window.HeadButton; - case BodyPartType.Arm: - return isLeftPart ? _window.LArmButton : _window.RArmButton; - case BodyPartType.Hand: - return isLeftPart ? _window.LHandButton : _window.RHandButton; - case BodyPartType.Leg: - return isLeftPart ? _window.LLegButton : _window.RLegButton; - case BodyPartType.Foot: - return isLeftPart ? _window.LFootButton : _window.RFootButton; - case BodyPartType.Tail: - case BodyPartType.Other: - case null: - return null; - default: - throw new ArgumentOutOfRangeException(nameof(partType), partType, null); - } - } - - /// - /// Deactivates all other buttons that are currently active. - /// - /// The button that should be the only active button. - private void DeactivateOtherParts(TextureButton? activatedButton = null) - { - if (_window == null) - return; - - foreach (var button in _window.Buttons) - { - if (activatedButton == button) - continue; - - button.Pressed = false; - } - } - // DeltaV End - New UI - - private void RefreshUI() - { - if (_window == null - || !_window.IsOpen - || _part == null - || !_entities.HasComponent(_surgery?.Ent) - || !_entities.TryGetComponent(_player.LocalEntity ?? EntityUid.Invalid, out SurgeryTargetComponent? surgeryComp) - || !surgeryComp.CanOperate) - return; - - var next = _system.GetNextStep(Owner, _part.Value, _surgery.Value.Ent); - var i = 0; - foreach (var child in _window.Steps.Children) - { - if (child is not SurgeryStepButton stepButton) - continue; - - var status = StepStatus.Incomplete; - if (next == null) - status = StepStatus.Complete; - else if (next.Value.Surgery.Owner != _surgery.Value.Ent) - status = StepStatus.Incomplete; - else if (next.Value.Step == i) - status = StepStatus.Next; - else if (i < next.Value.Step) - status = StepStatus.Complete; - - stepButton.Button.Disabled = status != StepStatus.Next; - - var stepName = new FormattedMessage(); - stepName.AddText(_entities.GetComponent(stepButton.Step).EntityName); - - if (status == StepStatus.Complete) - stepButton.Button.Modulate = Color.Green; - else - { - stepButton.Button.Modulate = Color.White; - if (_player.LocalEntity is { } player - && status == StepStatus.Next - && !_system.CanPerformStep(player, Owner, _part.Value, stepButton.Step, false, out var popup, out var reason, out _)) - stepButton.ToolTip = popup; - } - - var texture = _entities.GetComponentOrNull(stepButton.Step)?.Icon?.Default; - stepButton.Set(stepName, texture); - i++; - } - } - - private void View(ViewType type) - { - if (_window == null) - return; - - _window.PartsButton.Parent!.Margin = new Thickness(0, 0, 0, 10); - - _window.Parts.Visible = type == ViewType.Parts; - _window.PartsButton.Disabled = type == ViewType.Parts; - - _window.Surgeries.Visible = type == ViewType.Surgeries; - _window.SurgeriesButton.Disabled = type != ViewType.Steps; - - _window.Steps.Visible = type == ViewType.Steps; - _window.StepsButton.Disabled = type != ViewType.Steps || _previousSurgeries.Count == 0; - - if (_entities.TryGetComponent(_part, out MetaDataComponent? partMeta) && - _entities.TryGetComponent(_surgery?.Ent, out MetaDataComponent? surgeryMeta)) - _window.Title = $"Surgery - {partMeta.EntityName}, {surgeryMeta.EntityName}"; - else if (partMeta != null) - _window.Title = $"Surgery - {partMeta.EntityName}"; - else - _window.Title = "Surgery"; - } - - private enum ViewType - { - Parts, - Surgeries, - Steps - } - - private enum StepStatus - { - Next, - Complete, - Incomplete - } -} diff --git a/Content.Client/_Shitmed/Medical/Surgery/SurgeryStepButton.xaml b/Content.Client/_Shitmed/Medical/Surgery/SurgeryStepButton.xaml deleted file mode 100644 index d6360125d76..00000000000 --- a/Content.Client/_Shitmed/Medical/Surgery/SurgeryStepButton.xaml +++ /dev/null @@ -1,4 +0,0 @@ - - diff --git a/Content.Client/_Shitmed/Medical/Surgery/SurgeryStepButton.xaml.cs b/Content.Client/_Shitmed/Medical/Surgery/SurgeryStepButton.xaml.cs deleted file mode 100644 index 78e25688500..00000000000 --- a/Content.Client/_Shitmed/Medical/Surgery/SurgeryStepButton.xaml.cs +++ /dev/null @@ -1,16 +0,0 @@ -using Content.Client._Shitmed.Choice.UI; -using Robust.Client.AutoGenerated; -using Robust.Client.UserInterface.XAML; - -namespace Content.Client._Shitmed.Medical.Surgery; - -[GenerateTypedNameReferences] -public sealed partial class SurgeryStepButton : ChoiceControl -{ - public EntityUid Step { get; set; } - - public SurgeryStepButton() - { - RobustXamlLoader.Load(this); - } -} diff --git a/Content.Client/_Shitmed/Medical/Surgery/SurgerySystem.cs b/Content.Client/_Shitmed/Medical/Surgery/SurgerySystem.cs deleted file mode 100644 index 2ea5724cb8a..00000000000 --- a/Content.Client/_Shitmed/Medical/Surgery/SurgerySystem.cs +++ /dev/null @@ -1,11 +0,0 @@ -using Content.Shared._Shitmed.Medical.Surgery; - -namespace Content.Client._Shitmed.Medical.Surgery; - -public sealed class SurgerySystem : SharedSurgerySystem -{ - public override void Initialize() - { - base.Initialize(); - } -} diff --git a/Content.Client/_Shitmed/Medical/Surgery/SurgeryWindow.xaml b/Content.Client/_Shitmed/Medical/Surgery/SurgeryWindow.xaml deleted file mode 100644 index 33424a449de..00000000000 --- a/Content.Client/_Shitmed/Medical/Surgery/SurgeryWindow.xaml +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - -