]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Minor ReflectionSystem refactor (#37039)
authorslarticodefast <161409025+slarticodefast@users.noreply.github.com>
Wed, 30 Apr 2025 14:10:54 +0000 (16:10 +0200)
committerGitHub <noreply@github.com>
Wed, 30 Apr 2025 14:10:54 +0000 (00:10 +1000)
commitb068b5bb8955498bdf2eb9cba46b4af2262e6c34
treead48c828ebe009362727757384e22f9bf3bc8eda
parenta8ff999b0872825c232369a3a5c9c50f0dd909e0
Minor ReflectionSystem refactor (#37039)

* ReflectComponentLogicFix

Added bool InRightPlace and updated relevant system

* Using SlotFlags

* edits

* refactor

* add missing relay

---------

Co-authored-by: BIGZi0348 <svalker0348@gmail.com>
Content.Shared/Hands/EntitySystems/SharedHandsSystem.Relay.cs
Content.Shared/Inventory/InventorySystem.Relay.cs
Content.Shared/Projectiles/SharedProjectileSystem.cs
Content.Shared/Weapons/Ranged/Events/HitScanReflectAttempt.cs
Content.Shared/Weapons/Reflect/ReflectComponent.cs
Content.Shared/Weapons/Reflect/ReflectSystem.cs
Content.Shared/Weapons/Reflect/ReflectUserComponent.cs [deleted file]
Resources/Prototypes/Entities/Clothing/OuterClothing/armor.yml
Resources/Prototypes/Entities/Objects/Weapons/Melee/sword.yml