Files
ss14-wl/Content.Shared
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
..
2025-09-05 12:45:48 +03:00
2025-12-14 02:04:28 +00:00
2025-12-16 18:48:20 +00:00
2025-06-03 13:51:50 +02:00
2025-10-04 11:24:42 +00:00
2025-04-25 16:53:50 -04:00
2025-09-09 18:17:56 +02:00
2025-12-03 19:44:17 +00:00
2025-12-17 19:21:16 +00:00
2025-10-15 15:10:25 +00:00
2025-11-03 12:02:48 +00:00
2024-07-13 16:09:19 +10:00
2025-03-28 09:29:02 +11:00
2025-10-17 02:04:43 +00:00
2025-12-17 19:21:16 +00:00
2025-02-14 16:46:25 +01:00
2025-10-21 20:12:36 +00:00
2025-10-04 11:24:42 +00:00
2025-08-23 15:15:28 -07:00
2025-08-15 16:06:51 +02:00
2025-09-01 18:24:37 +03:00
2025-07-30 12:57:50 -07:00
2025-08-03 21:20:37 +02:00
2025-12-07 02:35:46 +00:00
2025-07-07 14:23:45 +02:00
2025-04-25 16:53:50 -04:00
2025-11-30 10:25:22 +00:00
2024-06-09 15:18:54 -04:00
2025-12-17 19:21:16 +00:00
2024-09-07 00:05:53 +10:00
2025-08-03 21:20:37 +02:00
2025-05-20 23:14:10 +02:00
2025-11-08 20:29:08 +00:00
2025-09-17 23:59:07 +02:00
2025-09-10 20:01:03 +03:00
2025-11-30 10:25:22 +00:00
2024-06-05 10:32:58 +03:00
2025-07-03 20:48:04 +02:00
2025-12-08 04:20:42 +00:00
2025-10-04 11:24:42 +00:00
2025-08-11 21:57:39 +03:00
2025-10-25 14:40:48 +00:00
2025-04-19 00:01:52 +02:00
2025-07-17 12:34:00 -04:00
2025-09-09 18:17:56 +02:00
2025-09-24 01:32:20 +02:00
2025-12-01 12:21:52 +00:00
2025-10-04 11:24:42 +00:00
2024-01-27 08:51:24 -05:00
2025-10-25 14:40:48 +00:00
2025-08-03 21:20:37 +02:00
2025-08-26 20:04:10 +02:00
2025-12-16 23:45:34 +00:00
2025-10-04 11:24:42 +00:00
2025-12-07 02:35:46 +00:00
2024-04-28 21:38:23 -07:00
2024-08-10 11:08:56 +10:00
2025-02-18 23:27:30 +11:00