fish-station/Content.Server/NPC/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
..
NPCCombatSystem.cs Cleanup warning in NPCCombatSystem.Ranged (#37751) 2025-05-23 10:56:37 -04:00
NPCCombatSystem.Melee.cs Random spontaneous cleanup PR (#25131) 2024-02-13 16:48:39 -05:00
NPCCombatSystem.Ranged.cs Crawling Fixes 2: Salvage Nerf (NPCs can shoot downed targets) (#39085) 2025-07-20 23:23:25 +02:00
NPCImprintingOnSpawnBehaviourSystem.cs Replace obsolete EntityWhitelist IsValid usages (#28465) 2024-06-01 23:10:24 -04:00
NPCJukeSystem.cs Replace obsolete functions in NPC systems (#31448) 2024-08-27 00:29:44 +02:00
NPCPerceptionSystem.cs
NPCPerceptionSystem.RecentlyInjected.cs Sentient medibot now can inject (#32110) 2025-01-29 13:34:01 +03:00
NPCRetaliationSystem.cs Update DamageableSystem to modern standards (#39417) 2025-10-27 19:53:04 +00:00
NPCSteeringSystem.Context.cs Use approx NPC steering checks (#36110) 2025-04-14 22:15:16 +02:00
NPCSteeringSystem.cs Optimizations from server profile (#38290) 2025-07-26 11:44:34 +02:00
NPCSteeringSystem.Obstacles.cs Replace obsolete functions in NPC systems (#31448) 2024-08-27 00:29:44 +02:00
NPCSystem.Blackboard.cs Fixed trying to resolve unregistered NPCComponent type, fix NPCs (#19547) 2023-08-25 14:52:23 -07:00
NPCSystem.cs Fix post-mapinit NPC exception (#40244) 2025-10-07 14:03:45 +00:00
NPCUseActionOnTargetSystem.cs Cleanup unused/redundant dependencies (#38099) 2025-06-06 18:11:52 +02:00
NPCUtilitySystem.cs Update DamageableSystem to modern standards (#39417) 2025-10-27 19:53:04 +00:00