fish-station/Content.Server/Medical
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
..
BiomassReclaimer Replace ValidatePrototypeId uses with ProtoId or EntProtoId (#38814) 2025-07-07 21:57:05 +02:00
Components Predict healing and bloodstream (#38690) 2025-07-02 19:20:31 -04:00
CrewMonitoring Predict dumping (#32394) 2025-04-19 16:20:40 +10:00
SuitSensors Predict EMPs (#39802) 2025-10-04 11:24:42 +00:00
CryoPodEjectLockWireAction.cs Predict cryopods (#39385) 2025-08-05 17:09:50 -07:00
CryoPodSystem.cs Entity effects ECS refactor (#40580) 2025-10-12 21:23:42 +00:00
DefibrillatorSystem.cs Update DamageableSystem to modern standards (#39417) 2025-10-27 19:53:04 +00:00
HealthAnalyzerSystem.cs Update DamageableSystem to modern standards (#39417) 2025-10-27 19:53:04 +00:00
InsideCryoPodSystem.cs Suffocation alerts for nitrogen breathers (#24373) 2024-01-23 15:17:40 -05:00
MedicalScannerSystem.cs Use non-generic TryComp() for metadata & transform (#28133) 2024-05-20 22:40:35 -07:00