From 0031beca4b63e7f3107c97299fc74fdac6c6c3e4 Mon Sep 17 00:00:00 2001 From: slarticodefast <161409025+slarticodefast@users.noreply.github.com> Date: Mon, 8 Dec 2025 11:35:11 +0100 Subject: [PATCH] Reapply "Trip APCs when they exceed a power limit (#41377)" (#41789) Revert "Merge stable into master" --- Content.Client/Power/APC/UI/ApcMenu.xaml | 2 +- Content.Client/Power/APC/UI/ApcMenu.xaml.cs | 9 ++- .../Tests/Power/StationPowerTests.cs | 70 +++++++++++++++---- .../Power/Components/ApcComponent.cs | 28 +++++++- .../Power/EntitySystems/ApcSystem.cs | 34 ++++++++- Content.Shared/APC/SharedApc.cs | 12 +++- Resources/Locale/en-US/ui/power-apc.ftl | 3 +- .../Syndicate_Gadgets/singularity_beacon.yml | 2 +- 8 files changed, 135 insertions(+), 25 deletions(-) diff --git a/Content.Client/Power/APC/UI/ApcMenu.xaml b/Content.Client/Power/APC/UI/ApcMenu.xaml index 4c14dcc0ad..682aea55d2 100644 --- a/Content.Client/Power/APC/UI/ApcMenu.xaml +++ b/Content.Client/Power/APC/UI/ApcMenu.xaml @@ -19,7 +19,7 @@