Delta-v/Content.Shared/Weapons
Centronias d50706dd5e Adds BallisticAmmoSelfRefillerComponent (#38537)
* Adds BallisticAmmoSelfRefillerComponent

And uses it to replace battery-based refilling of the Syndicate L6 and Viper modules.
- Add `BallisticAmmoSelfRefillerComponent`
- Handle `EmpPulseEvent` to pause refilling behavior for EMP's duration
- Change `Content.Server.Weapons.Ranged.Systems.Update` override in `GunSystem.AutoFire.cs` to `UpdateAutoFire`
- Add `Content.Server.Weapons.Ranged.Systems.Update` to `GunSystem.cs` so that it can call `UpdateAutoFire` and `UpdateBallistic`
- Add public methods to GunSystem for use by refilling implementation
  - PauseSelfRefill
  - IsFullBallistic (same as #299)
  - CanInsertBallistic (same as #299)
  - TryBallisticInsert (same as #299)

* _timing -> Timing

* unspawned count stuff

* imagine building the code before pushing

* - apply to c20r ROW
- make predicted/shared

* revert server system import only changes

* oop

* o great and wise Slarti

* Scar comments

* field deltas + correct serializer

* review

---------

Co-authored-by: ScarKy0 <scarky0@onet.eu>
2026-04-04 16:57:18 +02:00
..
Hitscan Update DamageableSystem to modern standards (#39417) 2025-12-29 11:39:33 -06:00
Marker Update DamageableSystem to modern standards (#39417) 2025-12-29 11:39:33 -06:00
Melee [HOTFIX] FIX LIGHT MELEE LOGS (#41655) 2026-01-26 19:25:32 +01:00
Misc fix NetEntity datafield in JointVisualsComponent (#39987) 2025-12-29 11:39:21 -06:00
Ranged Adds BallisticAmmoSelfRefillerComponent (#38537) 2026-04-04 16:57:18 +02:00
Reflect Hitscans are now entities (#38035) 2025-12-29 11:39:27 -06:00