]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Predict powercells, chargers and PowerCellDraw (#41379)
authorslarticodefast <161409025+slarticodefast@users.noreply.github.com>
Mon, 24 Nov 2025 16:52:11 +0000 (17:52 +0100)
committerGitHub <noreply@github.com>
Mon, 24 Nov 2025 16:52:11 +0000 (16:52 +0000)
commite2ff167062b5909343608ef6c1b0176f6ba2bce7
tree01d8e9ad35b285cf6330dd0355d7ce5275bfb84e
parentd209b976861be2cd4cfc34547b1857a9be10be27
Predict powercells, chargers and PowerCellDraw (#41379)

* cleanup

* fix fixtures

* prediction

* fix test

* review

* fix svalinn visuals

* fix chargers

* fix portable recharger and its unlit visuals

* fix borgs

* oomba review

* fix examination prediction
116 files changed:
Content.Client/Power/EntitySystems/ChargerSystem.cs [deleted file]
Content.Client/PowerCell/PowerCellSystem.cs [deleted file]
Content.Client/PowerCell/PowerCellVisualLayers.cs [new file with mode: 0644]
Content.Client/PowerCell/PowerCellVisualsComponent.cs [deleted file]
Content.Client/PowerCell/PowerChargerVisualizerComponent.cs
Content.Client/PowerCell/PowerChargerVisualizerSystem.cs
Content.Client/Weapons/Ranged/Systems/GunSystem.Battery.cs
Content.Client/Weapons/Ranged/Systems/GunSystem.cs
Content.Server/Access/Systems/IdCardSystem.cs
Content.Server/Administration/Systems/AdminVerbSystem.Tools.cs
Content.Server/Construction/Completions/BuildMech.cs
Content.Server/Holosign/HolosignSystem.cs
Content.Server/Kitchen/Components/MicrowaveComponent.cs
Content.Server/Light/EntitySystems/HandheldLightSystem.cs
Content.Server/Mech/Systems/MechSystem.cs
Content.Server/Medical/CrewMonitoring/CrewMonitoringConsoleSystem.cs
Content.Server/Medical/DefibrillatorSystem.cs
Content.Server/Medical/HealthAnalyzerSystem.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/Nuke/NukeSystem.cs
Content.Server/PAI/PAISystem.cs
Content.Server/Pinpointer/StationMapSystem.cs
Content.Server/Power/Components/ActiveChargerComponent.cs [deleted file]
Content.Server/Power/Components/ExaminableBatteryComponent.cs [deleted file]
Content.Server/Power/EntitySystems/BatterySystem.API.cs
Content.Server/Power/EntitySystems/BatterySystem.cs
Content.Server/Power/EntitySystems/ChargerSystem.cs [deleted file]
Content.Server/Power/EntitySystems/PowerReceiverSystem.cs
Content.Server/Power/EntitySystems/RiggableSystem.cs
Content.Server/Power/SetBatteryPercentCommand.cs
Content.Server/PowerCell/PowerCellSystem.Draw.cs [deleted file]
Content.Server/PowerCell/PowerCellSystem.cs [deleted file]
Content.Server/Radio/EntitySystems/JammerSystem.cs
Content.Server/Silicons/Borgs/BorgSystem.Transponder.cs
Content.Server/Silicons/Borgs/BorgSystem.Ui.cs
Content.Server/Silicons/Borgs/BorgSystem.cs
Content.Server/Speech/EntitySystems/DamagedSiliconAccentSystem.cs
Content.Server/Stunnable/Systems/StunbatonSystem.cs
Content.Server/Weapons/Misc/TetherGunSystem.cs
Content.Server/Weapons/Ranged/Systems/GunSystem.Battery.cs [deleted file]
Content.Server/Xenoarchaeology/Artifact/XAE/XAEChargeBatterySystem.cs
Content.Shared/Kitchen/BeingMicrowavedEvent.cs [new file with mode: 0644]
Content.Shared/Mech/EntitySystems/SharedMechSystem.cs
Content.Shared/Power/ChargeEvents.cs
Content.Shared/Power/Components/BatteryComponent.cs
Content.Shared/Power/Components/BatterySelfRechargerComponent.cs
Content.Shared/Power/Components/ChargerComponent.cs
Content.Shared/Power/Components/ExaminableBatteryComponent.cs [new file with mode: 0644]
Content.Shared/Power/Components/InsideChargerComponent.cs [new file with mode: 0644]
Content.Shared/Power/Components/PredictedBatteryComponent.cs [new file with mode: 0644]
Content.Shared/Power/Components/PredictedBatterySelfRechargerComponent.cs [new file with mode: 0644]
Content.Shared/Power/Components/PredictedBatteryVisualsComponent.cs [new file with mode: 0644]
Content.Shared/Power/EntitySystems/ChargerSystem.cs [new file with mode: 0644]
Content.Shared/Power/EntitySystems/PredictedBatterySystem.API.cs [new file with mode: 0644]
Content.Shared/Power/EntitySystems/PredictedBatterySystem.cs [new file with mode: 0644]
Content.Shared/Power/EntitySystems/SharedBatterySystem.cs
Content.Shared/Power/EntitySystems/SharedChargerSystem.cs [deleted file]
Content.Shared/Power/EntitySystems/SharedPowerReceiverSystem.cs
Content.Shared/Power/SharedPowerItemCharger.cs [deleted file]
Content.Shared/PowerCell/Components/PowerCellComponent.cs
Content.Shared/PowerCell/Components/PowerCellDrawComponent.cs [new file with mode: 0644]
Content.Shared/PowerCell/Components/PowerCellSlotComponent.cs
Content.Shared/PowerCell/PowerCellDrawComponent.cs [deleted file]
Content.Shared/PowerCell/PowerCellEvents.cs [moved from Content.Shared/PowerCell/PowerCellSlotEmptyEvent.cs with 53% similarity]
Content.Shared/PowerCell/PowerCellSystem.API.cs [new file with mode: 0644]
Content.Shared/PowerCell/PowerCellSystem.Draw.cs [new file with mode: 0644]
Content.Shared/PowerCell/PowerCellSystem.Relay.cs [new file with mode: 0644]
Content.Shared/PowerCell/PowerCellSystem.cs [new file with mode: 0644]
Content.Shared/PowerCell/SharedPowerCellSystem.cs [deleted file]
Content.Shared/PowerCell/ToggleCellDrawSystem.cs
Content.Shared/Silicons/Borgs/Components/BorgChassisComponent.cs
Content.Shared/Storage/Components/EntityStorageComponent.cs
Content.Shared/Storage/EntitySystems/SharedEntityStorageSystem.cs
Content.Shared/UserInterface/ActivatableUIRequiresPowerCellComponent.cs
Content.Shared/UserInterface/ActivatableUISystem.Power.cs
Content.Shared/Weapons/Ranged/Components/BatteryAmmoProviderComponent.cs
Content.Shared/Weapons/Ranged/Components/HitscanBatteryAmmoProviderComponent.cs [deleted file]
Content.Shared/Weapons/Ranged/Components/ProjectileBatteryAmmoProviderComponent.cs [deleted file]
Content.Shared/Weapons/Ranged/Events/UpdateClientAmmoEvent.cs [deleted file]
Content.Shared/Weapons/Ranged/Systems/BatteryWeaponFireModesSystem.cs
Content.Shared/Weapons/Ranged/Systems/SharedGunSystem.Battery.cs
Content.Shared/Weapons/Ranged/Systems/SharedGunSystem.cs
Resources/Maps/Shuttles/emergency_meta.yml
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/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/Objects/Devices/base_handheld.yml
Resources/Prototypes/Entities/Objects/Fun/spectral_locator.yml
Resources/Prototypes/Entities/Objects/Power/portable_recharger.yml
Resources/Prototypes/Entities/Objects/Power/powercells.yml
Resources/Prototypes/Entities/Objects/Specific/Medical/defib.yml
Resources/Prototypes/Entities/Objects/Specific/Medical/healthanalyzer.yml
Resources/Prototypes/Entities/Objects/Specific/Research/anomaly.yml
Resources/Prototypes/Entities/Objects/Specific/Salvage/scanner.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/LMGs/lmgs.yml
Resources/Prototypes/Entities/Objects/Weapons/Guns/Pistols/pistols.yml
Resources/Prototypes/Entities/Objects/Weapons/Guns/SMGs/smgs.yml
Resources/Prototypes/Entities/Objects/Weapons/Guns/Turrets/turrets_base.yml
Resources/Prototypes/Entities/Objects/Weapons/Guns/Turrets/turrets_energy.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/Power/chargers.yml
Resources/Prototypes/Entities/Structures/Shuttles/cannons.yml
Resources/Prototypes/tags.yml