Files
wwdpublic/Content.Server/Clothing/ClothingSystem.cs
VMSolidus ec1803b44f Generic Clothing Equip Functions (#1407)
# Description

This PR was originally going to be called "Psionic Refactor V3 Part 2,
Items Of Power", but I began getting shakes and started vomiting when I
saw the list of Components that make items do things when equipped, and
I had a conniption about how much code there is constantly being
repeated. So instead of this PR adding Items Of Power, I added a
universal modular generic system for making clothing items do things
when equipped and unequipped. Which hooks into the library of
TraitFunctions that we've previously created. I also added a few
"Inverse" versions of trait functions that can be used by these new
clothing functions.

<!--
# Changelog

🆑
- add: Added a universal modular system for making clothing items DO
things when equipped and unequipped. This will be used for "Psionic
Artifacts" in conjunction with the Psionic Refactor V3.
-->

(cherry picked from commit 731e14f100d8161c0f8f7eb1bc5accc2abaa24da)
2025-01-14 00:34:58 +03:00

1.6 KiB