CatStation/Content.Shared/Weapons/Ranged/Systems
Centronias 3c15d9f312
Adds BallisticAmmoSelfRefillerComponent (#38537)
* Adds BallisticAmmoSelfRefillerComponent

And uses it to replace battery-based refilling of the Syndicate L6 and Viper modules.

# Automagic Ballistic Ammo Refilling
- Add `BallisticAmmoSelfRefillerComponent`
- Handle `EmpPulseEvent` to pause refilling behavior for EMP's duration

# Supporting Changes
- 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>
2025-12-17 22:52:32 +00:00
..
ActionGunSystem.cs
BatteryWeaponFireModesSystem.cs Predict powercells, chargers and PowerCellDraw (#41379) 2025-11-24 16:52:11 +00:00
GunSpreadModifierSystem.cs Give kammerer tighter spread so it's not a complete downgrade to the enforcer (#37616) 2025-05-19 15:45:18 -07:00
RechargeBasicEntityAmmoSystem.cs
RechargeCycleAmmoSystem.cs
SharedFlyBySoundSystem.cs
SharedGunSystem.AutoFire.cs
SharedGunSystem.Ballistic.cs Adds BallisticAmmoSelfRefillerComponent (#38537) 2025-12-17 22:52:32 +00:00
SharedGunSystem.BasicEntity.cs
SharedGunSystem.Battery.cs Predict powercells, chargers and PowerCellDraw (#41379) 2025-11-24 16:52:11 +00:00
SharedGunSystem.Cartridges.cs Predict base and damage examines of cartridge ammo. (#39401) 2025-08-06 16:29:57 +02:00
SharedGunSystem.ChamberMagazine.cs Add checks for various complex interactions (#37246) 2025-06-02 10:06:45 -07:00
SharedGunSystem.Clothing.cs Spray nozzle can suck puddles into tank directly! (#30600) 2025-05-25 23:36:16 -04:00
SharedGunSystem.Container.cs
SharedGunSystem.cs Adds BallisticAmmoSelfRefillerComponent (#38537) 2025-12-17 22:52:32 +00:00
SharedGunSystem.Interactions.cs Add checks for various complex interactions (#37246) 2025-06-02 10:06:45 -07:00
SharedGunSystem.Magazine.cs UseInHandEvent cleanup (#35231) 2025-02-18 23:27:30 +11:00
SharedGunSystem.Revolver.cs Clean up all missing EntitySystem proxy method uses (#38353) 2025-06-26 16:50:49 -07:00
SharedGunSystem.Solution.cs
UseDelayOnShootSystem.cs