From 72e99b05b62636c18edc0c25264e9ccdf0c8fad2 Mon Sep 17 00:00:00 2001 From: A-Mironov <65418470+Alexnov33X@users.noreply.github.com> Date: Wed, 3 Dec 2025 00:33:13 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=B5=D0=BB=D0=B0=D0=B5=D0=BC=20=D0=BF?= =?UTF-8?q?=D0=B8=D0=BA=D0=B0=D0=BD=D0=B8=D0=B5=20=D0=BE=D0=BF=D1=86=D0=B8?= =?UTF-8?q?=D0=BE=D0=BD=D0=B0=D0=BB=D1=8C=D0=BD=D1=8B=D0=BC=20=D0=BD=D0=B0?= =?UTF-8?q?=20=D0=BC=D0=BE=D0=BD=D0=B8=D1=82=D0=BE=D1=80=D0=B8=D0=BD=D0=B3?= =?UTF-8?q?=D0=B5=20=D1=8D=D0=BA=D0=B8=D0=BF=D0=B0=D0=B6=D0=B0=20(#144)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * stable * Доработка * Update mentor-help-ui.ftl --- .run/Content Server+Client.run.xml | 2 +- .../CrewMonitoringBoundUserInterface.cs | 2 + .../CrewMonitoring/CrewMonitoringWindow.xaml | 8 +++- .../CrewMonitoringWindow.xaml.cs | 48 +++++++++++++++++++ .../CrewMonitoringConsoleComponent.cs | 2 +- .../CrewMonitoringConsoleSystem.cs | 9 +++- .../CrewMonitoring/CrewMonitoringShared.cs | 9 +++- .../components/crew-monitoring-component.ftl | 3 ++ .../_sunrise/mentor-help/mentor-help-ui.ftl | 2 +- .../components/crew-monitoring-component.ftl | 3 ++ 10 files changed, 82 insertions(+), 6 deletions(-) diff --git a/.run/Content Server+Client.run.xml b/.run/Content Server+Client.run.xml index 191d737ccf..f982a98524 100644 --- a/.run/Content Server+Client.run.xml +++ b/.run/Content Server+Client.run.xml @@ -4,4 +4,4 @@ - + \ No newline at end of file diff --git a/Content.Client/Medical/CrewMonitoring/CrewMonitoringBoundUserInterface.cs b/Content.Client/Medical/CrewMonitoring/CrewMonitoringBoundUserInterface.cs index 550d0fcdfe..a3a03cd14e 100644 --- a/Content.Client/Medical/CrewMonitoring/CrewMonitoringBoundUserInterface.cs +++ b/Content.Client/Medical/CrewMonitoring/CrewMonitoringBoundUserInterface.cs @@ -31,6 +31,7 @@ public sealed class CrewMonitoringBoundUserInterface : BoundUserInterface _menu = this.CreateWindow(); _menu.Set(stationName, gridUid); + _menu.SetBoundUserInterface(this); } protected override void UpdateState(BoundUserInterfaceState state) @@ -42,6 +43,7 @@ public sealed class CrewMonitoringBoundUserInterface : BoundUserInterface case CrewMonitoringState st: EntMan.TryGetComponent(Owner, out var xform); _menu?.ShowSensors(st.Sensors, Owner, xform?.Coordinates); + _menu?.UpdateCorpseAlertToggle(st.CorpseAlertEnabled); break; } } diff --git a/Content.Client/Medical/CrewMonitoring/CrewMonitoringWindow.xaml b/Content.Client/Medical/CrewMonitoring/CrewMonitoringWindow.xaml index dd40749d33..fa32aff610 100644 --- a/Content.Client/Medical/CrewMonitoring/CrewMonitoringWindow.xaml +++ b/Content.Client/Medical/CrewMonitoring/CrewMonitoringWindow.xaml @@ -11,7 +11,13 @@ -