]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Show battery level for selected devices in Power Monitoring Console (#33854)
authorArtisticRoomba <145879011+ArtisticRoomba@users.noreply.github.com>
Thu, 19 Dec 2024 00:46:36 +0000 (16:46 -0800)
committerGitHub <noreply@github.com>
Thu, 19 Dec 2024 00:46:36 +0000 (01:46 +0100)
commit9de569d9730c0a6453caa07955a9cd9c7c030e9a
tree99efb4bfbe99bd6c9753298b1cefcc8d5fa1ebdd
parentf7bf694707c4a928bf6bfb83b1f0c2d20ebba440
Show battery level for selected devices in Power Monitoring Console (#33854)

* Use class instead of out variables

* Show battery level in power monitoring console

* Better color contrast for battery level + localized string

* Add visualization to battery percentage

* Reverts random ChatSystem.cs whitespace change

* Address review

* Show BatteryLevel stats in child view when selecting devices

---------

Co-authored-by: Crotalus <crotalus@users.noreply.github.com>
Content.Client/Power/PowerMonitoringWindow.xaml.Widgets.cs
Content.Server/Power/EntitySystems/PowerMonitoringConsoleSystem.cs
Content.Shared/Power/SharedPowerMonitoringConsoleComponent.cs
Resources/Locale/en-US/components/power-monitoring-component.ftl