fish-station/Content.Shared/Damage/Systems
Hannah Giovanna Dawson cdbe92d37d
Update DamageableSystem to modern standards (#39417)
* Update DamageableSystem to modern standards

* DamageContainerId -> DamageContainerID with lint flag

* Replace strings with protoids

* Make CVar subscription declarations all consistently whitespaced

* ChangeDamage -> TryChangeDamage, cope with C# jank

* Revert event signature changes

* Restore a comment

* Re-add two queries

* Init the queries

* Use appearanceQuery in DamageChanged

* Use damageableQuery in TryChangeDamage

* Use damageableQuery in SetDamageModifierSetId

* Final cleanup, fix sandboxing

* Rectify ExplosionSystem:::ProcessEntity's call to TryChangeDamage

* Re-organize DamageableSystem

* first big fuck you breaking change.

* THATS A LOT OF DAMAGE!!!

* Fix test fails

* test fixes 2

* push it

---------

Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
2025-10-27 19:53:04 +00:00
..
DamageableSystem.API.cs Update DamageableSystem to modern standards (#39417) 2025-10-27 19:53:04 +00:00
DamageableSystem.BenchmarkHelpers.cs Update DamageableSystem to modern standards (#39417) 2025-10-27 19:53:04 +00:00
DamageableSystem.cs Update DamageableSystem to modern standards (#39417) 2025-10-27 19:53:04 +00:00
DamageableSystem.Events.cs Update DamageableSystem to modern standards (#39417) 2025-10-27 19:53:04 +00:00
DamageContactsSystem.cs Damaged by contact fix (#31921) 2024-09-07 17:46:24 -06:00
DamageExamineSystem.cs Optimization! 2024-11-10 00:45:54 -06:00
DamageOnAttackedSystem.cs Update DamageableSystem to modern standards (#39417) 2025-10-27 19:53:04 +00:00
DamageOnHighSpeedImpactSystem.cs Stunnable New Status and Cleanup (#38618) 2025-07-21 19:22:11 +02:00
DamageOnHoldingSystem.cs replace all uses of TryGetContainingContainer with non-obsolete overload (#30583) 2024-08-04 15:38:53 +10:00
DamageOnInteractSystem.cs Update DamageableSystem to modern standards (#39417) 2025-10-27 19:53:04 +00:00
DamagePopupSystem.cs Target Dummies Now Show Damage Numbers from Projectiles to User (#40101) 2025-09-23 10:20:46 -07:00
DamageProtectionBuffSystem.cs Add haloperidol, potassium iodide (#27454) 2024-08-03 03:12:08 +10:00
PassiveDamageSystem.cs Update DamageableSystem to modern standards (#39417) 2025-10-27 19:53:04 +00:00
RequireProjectileTargetSystem.cs Update DamageableSystem to modern standards (#39417) 2025-10-27 19:53:04 +00:00
SharedDamageOtherOnHitSystem.cs Predict damage examine (#40168) 2025-10-10 23:23:26 +00:00
SharedGodmodeSystem.cs Update DamageableSystem to modern standards (#39417) 2025-10-27 19:53:04 +00:00
SharedStaminaSystem.cs Alerts Cleanup and API (#39544) 2025-09-05 12:45:48 +03:00
SharedStaminaSystem.Modifier.cs StaminaSystem to SharedStaminaSystem (#37199) 2025-05-06 12:39:05 -04:00
SharedStaminaSystem.Resistance.cs StaminaSystem to SharedStaminaSystem (#37199) 2025-05-06 12:39:05 -04:00
SlowOnDamageSystem.cs Update DamageableSystem to modern standards (#39417) 2025-10-27 19:53:04 +00:00