From f855cb2b0065083447128778c31c2a93bcd70a6a Mon Sep 17 00:00:00 2001 From: Pieter-Jan Briers Date: Sat, 27 Jan 2024 03:53:43 +0100 Subject: [PATCH] Make PACMANs a little better (#24604) * PACMAN generators show network load/supply. This gives more feedback to players that their PACMAN is properly connected and what the network status is (i.e. you don't have enough generators). * Buff JRPACMAN to 8 kW. Shifted all power values up by +3 kW. They're frequently too weak to power even single rooms so they deserve a buff. * Change unit format helpers number format. Always displays one digit of precision. This avoids jumping around when a value is changing live. --- .../Power/Generator/GeneratorWindow.xaml | 9 ++++++-- .../Power/Generator/GeneratorWindow.xaml.cs | 16 +++++++++++++ .../Generator/PortableGeneratorSystem.cs | 23 +++++++++++++++---- .../Power/NodeGroups/BasePowerNet.cs | 2 ++ .../Power/NodeGroups/IBasePowerNet.cs | 10 ++++++++ .../SharedPortableGeneratorComponent.cs | 8 ++++++- Resources/Locale/en-US/_lib.ftl | 6 ++--- .../en-US/power/components/generator.ftl | 3 +++ .../Power/Generation/portable_generator.yml | 12 +++++----- 9 files changed, 72 insertions(+), 17 deletions(-) diff --git a/Content.Client/Power/Generator/GeneratorWindow.xaml b/Content.Client/Power/Generator/GeneratorWindow.xaml index bae63a09ed..85127a9644 100644 --- a/Content.Client/Power/Generator/GeneratorWindow.xaml +++ b/Content.Client/Power/Generator/GeneratorWindow.xaml @@ -1,8 +1,8 @@  @@ -32,6 +32,11 @@