fish-station/Content.Shared/Weapons
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
..
Hitscan Update DamageableSystem to modern standards (#39417) 2025-10-27 19:53:04 +00:00
Marker Update DamageableSystem to modern standards (#39417) 2025-10-27 19:53:04 +00:00
Melee [HOTFIX] FIX LIGHT MELEE LOGS (#41655) 2025-12-01 03:01:04 -08:00
Misc Fix Assumption of Nullable to have value (#41220) 2025-10-31 17:17:58 +00:00
Ranged Adds BallisticAmmoSelfRefillerComponent (#38537) 2025-12-17 22:52:32 +00:00
Reflect Hitscans are now entities (#38035) 2025-10-18 05:42:08 +00:00