]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Unify BatteryComponent and PredictedBatteryComponent (#41867)
authorslarticodefast <161409025+slarticodefast@users.noreply.github.com>
Fri, 19 Dec 2025 18:18:12 +0000 (19:18 +0100)
committerGitHub <noreply@github.com>
Fri, 19 Dec 2025 18:18:12 +0000 (18:18 +0000)
commit3266c94eac0dea5bdfc4b8cd814ed7b0a980b580
treed0a23ad107a62c8d9c1db5e27b5fd5254912583a
parentc97ffb006e57990a520d8ab8b8c3f9eb6b7f4a45
Unify BatteryComponent and PredictedBatteryComponent (#41867)

* unify

* cleanup and merge conflicts

* floating points

---------

Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
74 files changed:
Content.Client/Silicons/Borgs/BorgMenu.xaml.cs
Content.Client/Silicons/Borgs/BorgSystem.cs
Content.IntegrationTests/Tests/Power/PowerTest.cs
Content.IntegrationTests/Tests/Power/StationPowerTests.cs
Content.Server/Administration/Systems/AdminVerbSystem.Tools.cs
Content.Server/Construction/Completions/BuildMech.cs
Content.Server/Light/EntitySystems/EmergencyLightSystem.cs
Content.Server/Light/EntitySystems/HandheldLightSystem.cs
Content.Server/Mech/Systems/MechSystem.cs
Content.Server/Ninja/Systems/BatteryDrainerSystem.cs
Content.Server/Ninja/Systems/ItemCreatorSystem.cs
Content.Server/Ninja/Systems/NinjaSuitSystem.cs
Content.Server/Ninja/Systems/SpaceNinjaSystem.cs
Content.Server/Ninja/Systems/StunProviderSystem.cs
Content.Server/Power/EntitySystems/BatteryInterfaceSystem.cs
Content.Server/Power/EntitySystems/BatterySystem.API.cs [deleted file]
Content.Server/Power/EntitySystems/BatterySystem.cs
Content.Server/Power/EntitySystems/PowerMonitoringConsoleSystem.cs
Content.Server/Power/EntitySystems/PowerNetSystem.cs
Content.Server/Power/EntitySystems/RiggableSystem.cs
Content.Server/Power/SMES/SmesSystem.cs
Content.Server/Power/SetBatteryPercentCommand.cs
Content.Server/PowerSink/PowerSinkSystem.cs
Content.Server/Radio/EntitySystems/JammerSystem.cs
Content.Server/SensorMonitoring/BatterySensorSystem.cs
Content.Server/Silicons/Borgs/BorgSystem.cs
Content.Server/Silicons/StationAi/StationAiSystem.cs
Content.Server/Speech/EntitySystems/DamagedSiliconAccentSystem.cs
Content.Server/Stunnable/Systems/StunbatonSystem.cs
Content.Server/Tesla/EntitySystem/TeslaCoilSystem.cs
Content.Server/Xenoarchaeology/Artifact/XAE/XAEChargeBatterySystem.cs
Content.Shared/Power/ChargeEvents.cs
Content.Shared/Power/Components/BatteryComponent.cs
Content.Shared/Power/Components/BatterySelfRechargerComponent.cs
Content.Shared/Power/Components/BatteryVisualsComponent.cs [moved from Content.Shared/Power/Components/PredictedBatteryVisualsComponent.cs with 75% similarity]
Content.Shared/Power/Components/ExaminableBatteryComponent.cs
Content.Shared/Power/Components/PredictedBatteryComponent.cs [deleted file]
Content.Shared/Power/Components/PredictedBatterySelfRechargerComponent.cs [deleted file]
Content.Shared/Power/EntitySystems/ChargerSystem.cs
Content.Shared/Power/EntitySystems/PredictedBatterySystem.cs [deleted file]
Content.Shared/Power/EntitySystems/SharedBatterySystem.API.cs [moved from Content.Shared/Power/EntitySystems/PredictedBatterySystem.API.cs with 79% similarity]
Content.Shared/Power/EntitySystems/SharedBatterySystem.cs
Content.Shared/PowerCell/Components/PowerCellComponent.cs
Content.Shared/PowerCell/PowerCellSystem.API.cs
Content.Shared/PowerCell/PowerCellSystem.Relay.cs
Content.Shared/PowerCell/PowerCellSystem.cs
Content.Shared/UserInterface/ActivatableUISystem.Power.cs
Content.Shared/Weapons/Ranged/Components/BatteryAmmoProviderComponent.cs
Content.Shared/Weapons/Ranged/Systems/SharedGunSystem.Battery.cs
Resources/Prototypes/Catalog/Bounties/bounties.yml
Resources/Prototypes/Entities/Clothing/Hands/gloves.yml
Resources/Prototypes/Entities/Clothing/Head/base_clothinghead.yml
Resources/Prototypes/Entities/Clothing/OuterClothing/armor.yml
Resources/Prototypes/Entities/Debugging/debug_sweps.yml
Resources/Prototypes/Entities/Mobs/NPCs/behonker.yml
Resources/Prototypes/Entities/Mobs/NPCs/lavaland.yml
Resources/Prototypes/Entities/Mobs/NPCs/living_light.yml
Resources/Prototypes/Entities/Mobs/NPCs/miscellaneous.yml
Resources/Prototypes/Entities/Mobs/Player/silicon.yml
Resources/Prototypes/Entities/Objects/Power/powercells.yml
Resources/Prototypes/Entities/Objects/Power/powersink.yml
Resources/Prototypes/Entities/Objects/Specific/Medical/healthanalyzer.yml
Resources/Prototypes/Entities/Objects/Tools/handheld_mass_scanner.yml
Resources/Prototypes/Entities/Objects/Weapons/Guns/Battery/battery_guns.yml
Resources/Prototypes/Entities/Objects/Weapons/Guns/Turrets/turrets_base.yml
Resources/Prototypes/Entities/Objects/Weapons/Guns/pneumatic_cannon.yml
Resources/Prototypes/Entities/Objects/Weapons/Melee/stunprod.yml
Resources/Prototypes/Entities/Objects/Weapons/security.yml
Resources/Prototypes/Entities/Structures/Lighting/base_lighting.yml
Resources/Prototypes/Entities/Structures/Power/Generation/Tesla/coil.yml
Resources/Prototypes/Entities/Structures/Power/apc.yml
Resources/Prototypes/Entities/Structures/Power/debug_power.yml
Resources/Prototypes/Entities/Structures/Power/smes.yml
Resources/Prototypes/Entities/Structures/Power/substation.yml