Armory Expansion

Armory Expansion

9M Downloads

[Enhancement] Make an Armor Trait wrapper for Tool Traits

YaibaToKen opened this issue ยท 0 comments

commented

Wrap all Tool Traits in a generic Armor Trait object, containing a similar identifier and mapping the methods that tend to be called on tool usage to methods that tend to be called on armor usage.
We can do this by listening to the TraitRegisterEvent and generating said wrapper there. Proceed to register the generated wrapper as a trait as well.