]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Rework the HoS's Energy Shotgun (Varying energy consumption depending on fire-mode...
authorBramvanZijp <56019239+BramvanZijp@users.noreply.github.com>
Wed, 11 Dec 2024 16:21:04 +0000 (17:21 +0100)
committerGitHub <noreply@github.com>
Wed, 11 Dec 2024 16:21:04 +0000 (17:21 +0100)
commitce9fc82382a1cfbde7b05aad00da872add812b2d
tree24f1985fac78c89c0d4253ee6146bf2b582d3cb8
parent5ba868af79870542e14ee338455f1b95d77ab292
Rework the HoS's Energy Shotgun (Varying energy consumption depending on fire-mode + re-adds a toned down self recharge.) (#32104)

* Rebalance HoS's Energy Shotgun

* SLIGHTLY Up the max charge so the gun properly recharges all of its charges, which matters a lot more with the self charge cooldown system.

* Prevent recharge cooldown if 0 power is used.

* Makes the clientside HUD actually update to reflect the changes in firecost and thus max/current charges.

* Properly fix that recharging to just under full issue instead of applying a budget fix to only the eshotgun.

* Clean up the client ammo UI fix.

* Update the self recharger component to comply with maintainer request.

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
* Remove code that was made redundant by a hotfix from another PR.

* Make the recharge pause on EMP, document things where needed, clean up code as per maintainer request, add a note to make the code better when power is moved to shared.

* Fix another internal issue

* Code cleanup + fix the rapid recharge verb to remove pause.

* cleanup

---------

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
Content.Client/Weapons/Ranged/Systems/GunSystem.cs
Content.Server/Administration/Systems/AdminVerbSystem.Tools.cs
Content.Server/Power/Components/BatterySelfRechargerComponent.cs
Content.Server/Power/EntitySystems/BatterySystem.cs
Content.Shared/Weapons/Ranged/Events/UpdateClientAmmoEvent.cs [new file with mode: 0644]
Content.Shared/Weapons/Ranged/Systems/BatteryWeaponFireModesSystem.cs
Resources/Prototypes/Entities/Objects/Weapons/Guns/Battery/battery_guns.yml