Delta-v/Content.Server/NPC/Systems
Hannah Giovanna Dawson bd98b9212b 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-12-29 11:39:33 -06:00
..
NPCCombatSystem.Melee.cs Random spontaneous cleanup PR (#25131) 2024-02-18 23:02:29 +01:00
NPCCombatSystem.Ranged.cs Crawling Fixes 2: Salvage Nerf (NPCs can shoot downed targets) (#39085) 2025-11-23 15:22:21 -06:00
NPCCombatSystem.cs Cleanup warning in `NPCCombatSystem.Ranged` (#37751) 2025-08-04 19:26:36 +02:00
NPCImprintingOnSpawnBehaviourSystem.cs Replace obsolete EntityWhitelist IsValid usages (#28465) 2024-06-06 21:44:41 +02:00
NPCJukeSystem.cs Replace obsolete functions in NPC systems (#31448) 2024-08-27 01:04:58 +01:00
NPCPerceptionSystem.RecentlyInjected.cs Sentient medibot now can inject (#32110) 2025-02-14 16:09:45 +00:00
NPCPerceptionSystem.cs NPC refactor (#10122) 2022-09-06 00:28:23 +10:00
NPCRetaliationSystem.cs Update DamageableSystem to modern standards (#39417) 2025-12-29 11:39:33 -06:00
NPCSteeringSystem.Context.cs upstream merge 27/04/2025 (#3596) 2025-05-06 19:35:03 -04:00
NPCSteeringSystem.Obstacles.cs Replace obsolete functions in NPC systems (#31448) 2024-08-27 01:04:58 +01:00
NPCSteeringSystem.cs Upstream Merge (June / July) attempt 2 electric boogaloo (#4607) 2025-11-06 18:22:39 +00: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-12-29 11:39:17 -06:00
NPCUseActionOnTargetSystem.cs Cleanup unused/redundant dependencies (#38099) 2025-08-07 01:02:04 +02:00
NPCUtilitySystem.cs Update DamageableSystem to modern standards (#39417) 2025-12-29 11:39:33 -06:00